static Request |
Request.aClass(java.lang.Class<?> clazz) |
Create a Request that, when processed, will run all the tests
in a class.
|
static Request |
Request.classes(java.lang.Class<?>... classes) |
Create a Request that, when processed, will run all the tests
in a set of classes with the default Computer .
|
static Request |
Request.classes(Computer computer,
java.lang.Class<?>... classes) |
Create a Request that, when processed, will run all the tests
in a set of classes.
|
static Request |
Request.classWithoutSuiteMethod(java.lang.Class<?> clazz) |
Create a Request that, when processed, will run all the tests
in a class.
|
static Request |
Request.errorReport(java.lang.Class<?> klass,
java.lang.Throwable cause) |
Creates a Request that, when processed, will report an error for the given
test class with the given cause.
|
Request |
Request.filterWith(Description desiredDescription) |
Returns a Request that only runs tests whose Description
matches the given description.
|
Request |
Request.filterWith(Filter filter) |
Returns a Request that only contains those tests that should run when
filter is applied
|
static Request |
Request.method(java.lang.Class<?> clazz,
java.lang.String methodName) |
Create a Request that, when processed, will run a single test.
|
Request |
Request.orderWith(Ordering ordering) |
Returns a Request whose Tests can be run in a certain order, defined by
ordering
|
static Request |
Request.runner(Runner runner) |
|
Request |
Request.sortWith(java.util.Comparator<Description> comparator) |
Returns a Request whose Tests can be run in a certain order, defined by
comparator
|