@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) @Inherited public @interface TestGroup
Nightly
which indicates slower,
more intensive tests that are skipped during regular runs).
RandomizedRunner
collects groups from all tests in a suite. A group
can be enabled or disabled using boolean system properties (or test
hooks in the code). A test case is executed if it has no groups or if all of its groups
are enabled.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enabled
Is the group enabled or disabled by default (unless overridden by test group filtering
rules).
|
String |
name
The name of a test group.
|
String |
sysProperty
System property used to enable/ disable a group.
|
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.