Package org.junit.runner
package org.junit.runner
Provides classes used to describe, collect, run and analyze multiple tests.
- Since:
- 4.0
-
ClassDescriptionRepresents a strategy for computing runners and suites.Represents an object that can describe itselfA
Description
describes a test which is to be run or has been run.Utility class whose methods create aFilterFactory
.Extend this class to create a factory that createsFilter
.Exception thrown if theFilter
cannot be created.Exception used if there's a problem parsing the command line.JUnitCore
is a facade for running tests.When a test class is annotated with@OrderWith
or extends a class annotated with@OrderWith
, JUnit will order the tests in the test class (and child test classes, if any) using the ordering defined by theOrdering
class.Validates that there are no errors in the use of theOrderWith
annotation.ARequest
is an abstract description of tests to be run.AResult
collects and summarizes information from running multiple tests.Represents the serialized output ofResult
.ARunner
runs tests and notifies aRunNotifier
of significant events as it does so.When a class is annotated with@RunWith
or extends a class annotated with@RunWith
, JUnit will invoke the class it references to run the tests in that class instead of the runner built into JUnit.