public class ConcurrentParameterized
extends org.junit.runners.Suite
Parallelized to support parameterized tests and concurrent execution of test methods.
The Parallelized class follows a similar pattern, however in that class, the underlying runner scheduler
only allows single tests to be executed. The surefire/failsafe plugins facilitate test methods to be run in parallel,
but this doesn't seem to work with parameterized tests.| Modifier and Type | Class and Description |
|---|---|
static interface |
ConcurrentParameterized.Parameter
Annotation for fields of the test class which will be initialized by the
method annotated by
Parameters
By using directly this annotation, the test class constructor isn't needed. |
static interface |
ConcurrentParameterized.Parameters
Annotation for a method which provides parameters to be injected into the
test class constructor by
SauceParameterized |
| Constructor and Description |
|---|
ConcurrentParameterized(Class<?> klass)
Only called reflectively.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.junit.runner.Runner> |
getChildren() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassespublic ConcurrentParameterized(Class<?> klass) throws Throwable
klass - Sets up class with data provider and runners for parallel runsThrowable - Throwable propagating from {link#createRunnersForParameters}protected List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.SuiteCopyright © 2016 Sauce Labs. All rights reserved.