程序包 org.junit.runner.notification
Provides information about a test run.
- 从以下版本开始:
- 4.0
类概要 类 说明 Failure AFailure
holds a description of the failed test and the exception that was thrown while running it.RunListener Register an instance of this class withRunNotifier
to be notified of events that occur during a test run.RunNotifier If you write custom runners, you may need to notify JUnit of your progress running tests.异常错误概要 异常错误 说明 StoppedByUserException Thrown when a user has requested that the test run stop.注释类型概要 注释类型 说明 RunListener.ThreadSafe Indicates aRunListener
that can have its methods called concurrently.