Class | Description |
---|---|
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.
|
Exception | Description |
---|---|
StoppedByUserException |
Thrown when a user has requested that the test run stop.
|