java.lang.Object | |
↳ | com.atlassian.jira.functest.framework.TestSuiteBuilder |
Divides up a set of tests such that they can be performed in parallel. It does this by taking a set of tests and dividing them up into composite test of roughly even size.
If a passed test is annotated withSplitable
then its individual test
methods will be broken out into the different tests. All other tests have all their test methods within the same
batch.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TestSuiteBuilder.ParallelEnvironmentTestSuite |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a splitter that will return the given batch from the specified number of total batches.
| |||||||||||
Create a no-op splitter, that is, the passed tests will not be batched.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an individual test method to the suite.
| |||||||||||
Add the passed tests to the splitter for division.
| |||||||||||
Create the composite test that represents the batch.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a splitter that will return the given batch from the specified number of total batches.
batch | the batch the splitter should return. A value of -1 can be specified when maxBatch is also passed -1. This indicates that no batching should be performed. |
---|---|
maxBatch | the number of batches that splitter should divide the tests into. A value of -1 can be specified when batch is also passed -1. This indicates that no batching should be performed. |
Create a no-op splitter, that is, the passed tests will not be batched. Same as @{code TestSplitter(-1, -1) }.
Adds an individual test method to the suite. This is currently experimental and only intended to be used in "blame" mode.
testClass | the TestCase class |
---|---|
methodName | method name |
Add the passed tests to the splitter for division.
tests | the set of tests to divide. |
---|
Create the composite test that represents the batch.