public class PerFileSuite
extends org.junit.runners.Suite
@Parameters
To use:
Annotated your test class with @RunWith(PerDirectorySuite.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 |
PerFileSuite.Name |
Constructor and Description |
---|
PerFileSuite(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