Uses of Class
org.junit.runner.Runner
Packages that use Runner
Package
Description
Provides implementations of
Runner
Provides classes used to describe, collect, run and analyze multiple tests.
Provides standard
Runner
implementations.-
Uses of Runner in org.junit.experimental
Methods in org.junit.experimental that return RunnerModifier and TypeMethodDescriptionprotected Runner
ParallelComputer.getRunner
(RunnerBuilder builder, Class<?> testClass) ParallelComputer.getSuite
(RunnerBuilder builder, Class<?>[] classes) -
Uses of Runner in org.junit.experimental.categories
Subclasses of Runner in org.junit.experimental.categoriesModifier and TypeClassDescriptionclass
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.runnersModifier and TypeClassDescriptionclass
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.theoriesModifier and TypeClassDescriptionclass
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.runnersModifier and TypeClassDescriptionclass
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 RunnerModifier and TypeMethodDescriptionprotected Runner
Computer.getRunner
(RunnerBuilder builder, Class<?> testClass) Create a single-class runner fortestClass
, usingbuilder
abstract Runner
Request.getRunner()
Returns aRunner
for this RequestComputer.getSuite
(RunnerBuilder builder, Class<?>[] classes) Create a suite forclasses
, building Runners withbuilder
.Methods in org.junit.runner with parameters of type Runner -
Uses of Runner in org.junit.runners
Subclasses of Runner in org.junit.runnersModifier and TypeClassDescriptionclass
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a staticsuite()
method).class
Implements the JUnit 4 standard test case class model, as defined by the annotations in the org.junit package.final class
Aliases the current default JUnit 4 class runner, for future-proofing.class
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
UsingSuite
as a runner allows you to manually build a suite containing tests from many classes.Methods in org.junit.runners that return RunnerMethods in org.junit.runners that return types with arguments of type RunnerMethods in org.junit.runners with parameters of type RunnerModifier and TypeMethodDescriptionprotected 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 -
Uses of Runner in org.junit.runners.model
Methods in org.junit.runners.model that return RunnerModifier and TypeMethodDescriptionabstract Runner
RunnerBuilder.runnerForClass
(Class<?> testClass) Override to calculate the correct runner for a test class at runtime.RunnerBuilder.safeRunnerForClass
(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 -
Uses of Runner in org.junit.runners.parameterized
Subclasses of Runner in org.junit.runners.parameterizedMethods in org.junit.runners.parameterized that return RunnerModifier and TypeMethodDescriptionBlockJUnit4ClassRunnerWithParametersFactory.createRunnerForTestWithParameters
(TestWithParameters test) ParametersRunnerFactory.createRunnerForTestWithParameters
(TestWithParameters test) Returns a runner for the specifiedTestWithParameters
.