Uses of Class
org.junit.runner.Runner
-
Packages that use Runner Package Description org.junit.experimental org.junit.experimental.categories org.junit.experimental.runners org.junit.experimental.theories org.junit.internal.runners org.junit.runner Provides classes used to describe, collect, run and analyze multiple tests.org.junit.runners Provides standardRunner
implementations.org.junit.runners.model org.junit.runners.parameterized -
-
Uses of Runner in org.junit.experimental
Methods in org.junit.experimental that return Runner Modifier and Type Method Description protected Runner
ParallelComputer. getRunner(RunnerBuilder builder, java.lang.Class<?> testClass)
Runner
ParallelComputer. getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes)
-
Uses of Runner in org.junit.experimental.categories
Subclasses of Runner in org.junit.experimental.categories Modifier and Type Class Description class
Categories
From a given set of test classes, runs only the classes and methods that are annotated with either the category given with the @IncludeCategory annotation, or a subtype of that category. -
Uses of Runner in org.junit.experimental.runners
Subclasses of Runner in org.junit.experimental.runners Modifier and Type Class Description class
Enclosed
If you put tests in inner classes, Ant, for example, won't find them. -
Uses of Runner in org.junit.experimental.theories
Subclasses of Runner in org.junit.experimental.theories Modifier and Type Class Description class
Theories
The Theories runner allows to test a certain functionality against a subset of an infinite set of data points. -
Uses of Runner in org.junit.internal.runners
Subclasses of Runner in org.junit.internal.runners with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Modifier and Type Class Description class
org.junit.internal.runners.JUnit38ClassRunner
class
org.junit.internal.runners.SuiteMethod
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a staticsuite()
method). -
Uses of Runner in org.junit.runner
Methods in org.junit.runner that return Runner Modifier and Type Method Description protected Runner
Computer. getRunner(RunnerBuilder builder, java.lang.Class<?> testClass)
Create a single-class runner fortestClass
, usingbuilder
abstract Runner
Request. getRunner()
Returns aRunner
for this RequestRunner
Computer. getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes)
Create a suite forclasses
, building Runners withbuilder
.Methods in org.junit.runner that return types with arguments of type Runner Modifier and Type Method Description java.lang.Class<? extends Runner>
value()
Methods in org.junit.runner with parameters of type Runner Modifier and Type Method Description Result
JUnitCore. run(Runner runner)
Do not use.static Request
Request. runner(Runner runner)
-
Uses of Runner in org.junit.runners
Subclasses of Runner in org.junit.runners Modifier and Type Class Description class
AllTests
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a staticsuite()
method).class
BlockJUnit4ClassRunner
Implements the JUnit 4 standard test case class model, as defined by the annotations in the org.junit package.class
JUnit4
Aliases the current default JUnit 4 class runner, for future-proofing.class
Parameterized
The custom runnerParameterized
implements parameterized tests.class
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 typeT
.class
Suite
UsingSuite
as a runner allows you to manually build a suite containing tests from many classes.Methods in org.junit.runners that return Runner Modifier and Type Method Description static Runner
Suite. emptySuite()
Returns an empty suite.Methods in org.junit.runners that return types with arguments of type Runner Modifier and Type Method Description protected java.util.List<Runner>
Suite. getChildren()
Methods in org.junit.runners with parameters of type Runner Modifier and Type Method Description protected Description
Suite. describeChild(Runner child)
protected void
Suite. runChild(Runner runner, RunNotifier notifier)
Constructor parameters in org.junit.runners with type arguments of type Runner Constructor Description Suite(java.lang.Class<?> klass, java.util.List<Runner> runners)
Called by this class and subclasses once the runners making up the suite have been determined -
Uses of Runner in org.junit.runners.model
Methods in org.junit.runners.model that return Runner Modifier and Type Method Description abstract Runner
RunnerBuilder. runnerForClass(java.lang.Class<?> testClass)
Override to calculate the correct runner for a test class at runtime.Runner
RunnerBuilder. safeRunnerForClass(java.lang.Class<?> testClass)
Always returns a runner for the given test class.Methods in org.junit.runners.model that return types with arguments of type Runner Modifier and Type Method Description java.util.List<Runner>
RunnerBuilder. runners(java.lang.Class<?> parent, java.lang.Class<?>[] children)
Constructs and returns a list of Runners, one for each child class inchildren
.java.util.List<Runner>
RunnerBuilder. runners(java.lang.Class<?> parent, java.util.List<java.lang.Class<?>> children)
-
Uses of Runner in org.junit.runners.parameterized
Subclasses of Runner in org.junit.runners.parameterized Modifier and Type Class Description class
BlockJUnit4ClassRunnerWithParameters
ABlockJUnit4ClassRunner
with parameters support.Methods in org.junit.runners.parameterized that return Runner Modifier and Type Method Description Runner
BlockJUnit4ClassRunnerWithParametersFactory. createRunnerForTestWithParameters(TestWithParameters test)
Runner
ParametersRunnerFactory. createRunnerForTestWithParameters(TestWithParameters test)
Returns a runner for the specifiedTestWithParameters
.
-