Package org.junit.runner


package org.junit.runner
Provides classes used to describe, collect, run and analyze multiple tests.
Since:
4.0
  • Class
    Description
    Represents a strategy for computing runners and suites.
    Represents an object that can describe itself
    A Description describes a test which is to be run or has been run.
    Extend this class to create a factory that creates Filter.
    Exception thrown if the Filter cannot be created.
     
    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 the Ordering class.
    Validates that there are no errors in the use of the OrderWith annotation.
    A Request is an abstract description of tests to be run.
    A Result collects and summarizes information from running multiple tests.
    A Runner runs tests and notifies a RunNotifier 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.