org.test4j.junit.annotations
注释类型 ClazFinder


@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.
 

value

public abstract SuiteType[] value
The 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.
返回测试类的类型

默认值:
org.test4j.junit.filter.SuiteType.JUNT4_TEST_CLASSES

inJars

public abstract boolean inJars
The jars method specifies if Jars should be searched in or not. If the annotation is missing Jars are not being searched.
是否查找jar包中的测试类

返回:
默认值:
false

patterns

public abstract 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. When the annotation is missing, all test classes in all packages will be run.
返回测试类过滤规则

默认值:
{}

baseType

public abstract ClazFinder.BaseType baseType
根据基类查找测试类

返回:
默认值:
@org.test4j.junit.annotations.ClazFinder.BaseType


Copyright © 2013. All rights reserved.