public class TestSuite
extends org.junit.runners.Suite
TestSuite runs a test class once for each set of parameters returned by its method marked with @Parameters
To use:
Annotated your test class with @RunWith(TestSuite.class)
Create a parameters method by annotating a public static method with @Parameters
. This method
must return either a List<File>
where each element of the list is a Java file to test against
OR a String []
where each String in the array is a directory in the tests directory.
Modifier and Type | Class and Description |
---|---|
static interface |
TestSuite.Name |
Constructor and Description |
---|
TestSuite(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, withBeforeClasses