public class SkipUnstableTest extends Object implements ConditionalIgnoreRule.IgnoreCondition
ConditionalIgnoreRule.IgnoreCondition
to indicates that a test
should only be run if the "includeUnstableTests" system property is set to
true
.
Note that you need the ConditionalIgnoreRule
at the beginning of your test class in
order for the annotation to take effect.
Example:
Modifier and Type | Field and Description |
---|---|
static String |
INCLUDE_UNSTABLE_TESTS_PROPERTY |
Constructor and Description |
---|
SkipUnstableTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfied() |
public static final String INCLUDE_UNSTABLE_TESTS_PROPERTY
public boolean isSatisfied()
isSatisfied
in interface ConditionalIgnoreRule.IgnoreCondition
This work is licensed under a Creative Commons Attribution 4.0 International License.