|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ClazFinder
| 可选元素摘要 | |
|---|---|
ClazFinder.BaseType |
baseType
根据基类查找测试类 |
boolean |
inJars
The jars method specifies if Jars should be searched in or
not. |
String[] |
patterns
The filters method specifies a set of regex expressions for
all test classes (ie. their qualified names) to include in the test run. |
SuiteType[] |
value
The SuiteTypes annotation specifies which types of tests
will be included in the test run. |
public abstract SuiteType[] value
SuiteTypes annotation specifies which types of tests
will be included in the test run. You can choose one or more from
TEST_CLASSES, RUN_WITH_CLASSES, JUNIT38_TEST_CLASSES. If none is
specified only JUnit4-style TEST_CLASSES will be run.
public abstract boolean inJars
jars method specifies if Jars should be searched in or
not. If the annotation is missing Jars are not being searched.
public abstract String[] patterns
filters method specifies a set of regex expressions for
all test classes (ie. their qualified names) to include in the test run.
When the annotation is missing, all test classes in all packages will be
run.
public abstract ClazFinder.BaseType baseType
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||