Package | Description |
---|---|
junit.framework |
Provides JUnit v3.x core classes.
|
org.junit.experimental.categories | |
org.junit.experimental.runners | |
org.junit.experimental.theories | |
org.junit.internal.runners |
Provides implementations of
Runner |
org.junit.runner.manipulation | |
org.junit.runners |
Provides standard
Runner implementations. |
org.junit.runners.parameterized |
Modifier and Type | Class and Description |
---|---|
class |
JUnit4TestAdapter
The JUnit4TestAdapter enables running JUnit-4-style tests using a JUnit-3-style test runner.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
Enclosed
If you put tests in inner classes, Ant, for example, won't find them.
|
Modifier and Type | Class and Description |
---|---|
class |
Theories
The Theories runner allows to test a certain functionality against a subset of an infinite set of data points.
|
Modifier and Type | Class and Description |
---|---|
class |
JUnit38ClassRunner |
class |
JUnit4ClassRunner
Deprecated.
Included for backwards compatibility with JUnit 4.4. Will be
removed in the next major release. Please use
BlockJUnit4ClassRunner in place of JUnit4ClassRunner . |
class |
SuiteMethod
Runner for use with JUnit 3.8.x-style AllTests classes
(those that only implement a static
suite()
method). |
Modifier and Type | Interface and Description |
---|---|
interface |
Orderable
Interface for runners that allow ordering of tests.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
BlockJUnit4ClassRunnerWithParameters
A
BlockJUnit4ClassRunner with parameters support. |