批注接口 TestGroup
Annotate a
String
field with the value being the ID of a group with this annotation in order to configure the group.-
必需元素概要
所需元素 -
可选元素概要
可选元素修饰符和类型可选元素说明boolean
返回 if the tests in this group are enabled by default。String[]
返回 the parents of this group。
-
元素详细资料
-
name
String name返回 the human-readable name of the group。- 返回:
- the human-readable name of the group
-
enabledByDefault
boolean enabledByDefault返回 if the tests in this group are enabled by default。- 返回:
- if the tests in this group are enabled by default
- 默认值:
false
-
parents
String[] parents返回 the parents of this group。
Note: group parents are also computed usingid().split(".")
.- 返回:
- the parents of this group
- 默认值:
{}
-