PARALLELIZE TESTS

From Test Automation Patterns
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
.................................................................................................................Main Page / Back to Execution Patterns/ Back to Test Automation Patterns

Pattern summary

In order to save time, run tests in parallel

Category

Execution

Context

Use this pattern when you have a great number of test to execute in a short time

Description

Instead of running all your tests sequentially, you break them up in different batches that can run concurrently on different machines

Implementation

The first step is to write the tests as INDEPENDENT TEST CASES. Another good way to do this is to GET ON THE CLOUD

Potential problems

Be careful not to run the same tests in parallel!

Issues addressed by this pattern

INEFFICIENT EXECUTION

Experiences

If you have also used this pattern and would like to contribute your experience to the wiki, please go to Feedback to submit your experience or comment.


.................................................................................................................Main Page / Back to Execution Patterns/ Back to Test Automation Patterns
.