package

org.junit.runner.notification

Provides information about a test run.

Classes

Failure A Failure holds a description of the failed test and the exception that was thrown while running it. 
RunListener

If you need to respond to the events during a test run, extend RunListener and override the appropriate methods. 

RunNotifier If you write custom runners, you may need to notify JUnit of your progress running tests. 

Exceptions

StoppedByUserException Thrown when a user has requested that the test run stop.