public class PerDirectorySuite
extends org.junit.runners.Suite
@Parameters
To use:
Annotated your test class with @RunWith(PerDirectorySuite.class)
Create a javaFiles 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 |
PerDirectorySuite.Name |
Constructor and Description |
---|
PerDirectorySuite(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
protected List<org.junit.runner.Runner> getChildren()
getChildren
in class org.junit.runners.Suite