Distributed Testing with MarathonITE

Run Parallel Tests to Reduce the Testing Time

Distributed Testing with MarathonITE

You can reduce your test run time considerably by using parallel testing. Time is always a factor for running tests against your applications. You always have a fixed amount of time to test before delivering the software. Running 100% of tests is an ideal all development teams try to achieve – parallel testing lets you run all your tests in a lesser amount of time.

With agile in vogue, CI (Continuous Integation) became an inseparable part of software development. Testers and developers are tasked to create more test scripts running against different feature sets and environments. Deployment of software is at risk when the test runs take inordinate amount time. Parallel testing provides a solution for these problems.

Sequential Testing Vs. Parallel Testing

Sequential Vs. Parallel Tests

In sequential testing tests are executed one after another. You can execute multiple tests at the same time (and across different environments) by using parallel testing reducing the effective test run time. You can use multiple desktops, virtual machines or some other device infrastructure for setting up efficient parallel test architecture.

Why Parallel Testing?

Reduce Testing Time

We want our software testing to be thorough and cover most of the critical functionality. But unfortunately, testing is a time consuming activity. In a sequential testing method, each test executes after the previous one completes. Parallel testing can spread the time taken by the number of nodes used in parallel. Overall testing time, thus, reduces by a significant amount.

Test for Wider Compatibility

One advantage of reducing the testing time is that now we can test for wider compatibility of our application. You can test against different versions of Java™ or test against various browsers.

Optimize Continuous Integration

With more and more development teams practicing agile methodologies, they require frequent execution of functional tests. Execution of test scripts automatically and in-parallel saves time. The test data available in reports to development teams allows quick turnaround for identifying and fixing bugs. Parallel testing along with CI executes tests continually as development team make changes to the code and integrate the changes daily.

Distribute your automated tests with MarathonITE

MarathonITE has an open and flexible architecture based on open source projects like Marathon, Ruby and Selenium. The Selenium/WebDriver bindings supported by MarathonITE for Java and Web applications also support Selenium Grid for distributing tests across multiple nodes and executing them simultaneously.

Distributed Tests
  • MarathonITE provides two tools marathonite-grid and marathonite-node for setting up the environment for parallel testing.
  • Run marathonite-grid on a computer that is accessible to all the nodes within your network.
  • Copy the project across all the nodes. Start each node using marathonite-node.
  • Execute your project scripts from a runner machine.
Close Menu