org.junit.runners (JUnit API)

Junit


Package org.junit.runners

Provides standard Runner implementations.

参阅:           详细描述

类摘要
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.
JUnit4 Aliases the current default JUnit 4 class runner, for future-proofing.
Parameterized The custom runner Parameterized implements parameterized tests.
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.
Suite Using Suite as a runner allows you to manually build a suite containing tests from many classes.
 

Annotation Types Summary
Parameterized.Parameters Annotation for a method which provides parameters to be injected into the test class constructor by Parameterized
Suite.SuiteClasses The SuiteClasses annotation specifies the classes to be run when a class annotated with @RunWith(Suite.class) is run.
 

Package org.junit.runners Description

Provides standard Runner implementations.

起始版本:
4.0
另请参见:
Runner, BlockJUnit4ClassRunner