Package org.junit.runner
Provides classes used to describe, collect, run and analyze multiple tests.
- Since:
- 4.0
-
Interface Summary Interface Description Describable Represents an object that can describe itselfFilterFactory Extend this class to create a factory that createsFilter. -
Class Summary Class Description Computer Represents a strategy for computing runners and suites.Description ADescriptiondescribes a test which is to be run or has been run.FilterFactories Utility class whose methods create aFilterFactory.FilterFactoryParams JUnitCommandLineParseResult JUnitCore JUnitCoreis a facade for running tests.OrderWithValidator Validates that there are no errors in the use of theOrderWithannotation.Request ARequestis an abstract description of tests to be run.Result AResultcollects and summarizes information from running multiple tests.Result.SerializedForm Represents the serialized output ofResult.Runner ARunnerruns tests and notifies aRunNotifierof significant events as it does so. -
Exception Summary Exception Description FilterFactory.FilterNotCreatedException Exception thrown if theFiltercannot be created.JUnitCommandLineParseResult.CommandLineParserError Exception used if there's a problem parsing the command line. -
Annotation Types Summary Annotation Type Description OrderWith When a test class is annotated with@OrderWithor 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 theOrderingclass.RunWith When a class is annotated with@RunWithor 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.