@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.
RuntimeTestGroup
contains static methods to resolve a given group's annotation
name and system property.
RuntimeTestGroup
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enabled
Is the group enabled or disabled by default?
|
String |
name
The name of a test group.
|
String |
sysProperty
System property used to enable/ disable a group.
|
public abstract String name
public abstract String sysProperty
tests.name
public abstract boolean enabled
Copyright © 2011–2014 Carrot Search s.c.. All rights reserved.