Class | Description |
---|---|
AllTests |
Runner for use with JUnit 3.8.x-style AllTests classes
(those that only implement a static
suite()
method). |
BlockJUnit4ClassRunner |
Implements the JUnit 4 standard test case class model, as defined by the
annotations in the org.junit package.
|
BlockJUnit4ClassRunner.RuleCollector<T> | |
JUnit4 |
Aliases the current default JUnit 4 class runner, for future-proofing.
|
Parameterized |
The custom runner
Parameterized implements parameterized tests. |
Parameterized.AssumptionViolationRunner | |
Parameterized.RunnersFactory | |
ParentRunner<T> |
Provides most of the functionality specific to a Runner that implements a
"parent node" in the test tree, with children defined by objects of some data
type
T . |
ParentRunner.ClassRuleCollector | |
RuleContainer |
Data structure for ordering of
TestRule /MethodRule instances. |
RuleContainer.RuleEntry | |
Suite |
Using
Suite as a runner allows you to manually
build a suite containing tests from many classes. |
Enum | Description |
---|---|
MethodSorters |
Sort the methods into a specified execution order.
|
Annotation Type | Description |
---|---|
Parameterized.AfterParam |
Annotation for
public static void methods which should be executed after
evaluating tests with particular parameters. |
Parameterized.BeforeParam |
Annotation for
public static void methods which should be executed before
evaluating tests with particular parameters. |
Parameterized.Parameter |
Annotation for fields of the test class which will be initialized by the
method annotated by
Parameters . |
Parameterized.Parameters |
Annotation for a method which provides parameters to be injected into the
test class constructor by
Parameterized . |
Parameterized.UseParametersRunnerFactory |
Add this annotation to your test class if you want to generate a special
runner.
|
Suite.SuiteClasses |
The
SuiteClasses annotation specifies the classes to be run when a class
annotated with @RunWith(Suite.class) is run. |
Runner
implementations.Runner
,
BlockJUnit4ClassRunner