## Uses of Class
org.junit.runner.Runner

Packages that use Runner
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 standard `Runner` implementations.
org.junit.runners.model
org.junit.runners.parameterized

Uses of Runner in org.junit.experimental

Methods in org.junit.experimental that return Runner
`protected Runner` `ParallelComputer.getRunner(RunnerBuilder builder, Class<?> testClass)`
`Runner` `ParallelComputer.getSuite(RunnerBuilder builder, Class<?>[] classes)`

Uses of Runner in org.junit.experimental.categories

Subclasses of Runner in org.junit.experimental.categories
`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
`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
`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
`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 static `suite()` method).

Uses of Runner in org.junit.runner

Methods in org.junit.runner that return Runner
`abstract Runner` `Request.getRunner()` Returns a `Runner` for this Request
`protected Runner` `Computer.getRunner(RunnerBuilder builder, Class<?> testClass)` Create a single-class runner for `testClass`, using `builder`
`Runner` `Computer.getSuite(RunnerBuilder builder, Class<?>[] classes)` Create a suite for `classes`, building Runners with `builder`.

Methods in org.junit.runner with parameters of type Runner
`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
`class` `AllTests` Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a static `suite()` 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 runner `Parameterized` 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 type `T`.
`class` `Suite` Using `Suite` as a runner allows you to manually build a suite containing tests from many classes.

Methods in org.junit.runners that return Runner
`static Runner` `Suite.emptySuite()` Returns an empty suite.

Methods in org.junit.runners that return types with arguments of type Runner
`protected List<Runner>` `Suite.getChildren()`

Methods in org.junit.runners with parameters of type Runner
`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
`Suite(Class<?> klass, 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
`abstract Runner` `RunnerBuilder.runnerForClass(Class<?> testClass)` Override to calculate the correct runner for a test class at runtime.
`Runner` `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
`List<Runner>` `RunnerBuilder.runners(Class<?> parent, Class<?>[] children)` Constructs and returns a list of Runners, one for each child class in `children`.
`List<Runner>` `RunnerBuilder.runners(Class<?> parent, List<Class<?>> children)`

Uses of Runner in org.junit.runners.parameterized

Subclasses of Runner in org.junit.runners.parameterized
`class` `BlockJUnit4ClassRunnerWithParameters` A `BlockJUnit4ClassRunner` with parameters support.

Methods in org.junit.runners.parameterized that return Runner
`Runner` `ParametersRunnerFactory.createRunnerForTestWithParameters(TestWithParameters test)` Returns a runner for the specified `TestWithParameters`.
`Runner` `BlockJUnit4ClassRunnerWithParametersFactory.createRunnerForTestWithParameters(TestWithParameters test)`

Copyright © 2002–2020 JUnit. All rights reserved.