程序包 org.junit.runner
Provides classes used to describe, collect, run and analyze multiple tests.
- 从以下版本开始:
- 4.0
接口概要 接口 说明 Describable Represents an object that can describe itselfFilterFactory Extend this class to create a factory that createsFilter
.类概要 类 说明 Computer Represents a strategy for computing runners and suites.Description ADescription
describes a test which is to be run or has been run.FilterFactoryParams JUnitCore JUnitCore
is a facade for running tests.Request ARequest
is an abstract description of tests to be run.Result AResult
collects and summarizes information from running multiple tests.Runner ARunner
runs tests and notifies aRunNotifier
of significant events as it does so.异常错误概要 异常错误 说明 FilterFactory.FilterNotCreatedException Exception thrown if theFilter
cannot be created.注释类型概要 注释类型 说明 RunWith 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.