| Class | Description |
|---|---|
| AnnotationBasedTestRule |
A base
TestRule that allows easy writing of test rules based on method annotations. |
| ConditionalFail |
JUnit rule that inspects the presence of the
ShouldFailWhen annotation on a test method. |
| SkipTestRule |
JUnit rule that inspects the presence of the
SkipLongRunning annotation either on a test method or on a test suite. |
| Annotation Type | Description |
|---|---|
| ShouldFailWhen |
Marker annotation that defines if a test failure should be reported or not base upon condition passed to the annotation.
|
| SkipLongRunning |
Marker annotation used together with the
SkipTestRule JUnit rule, that allows long running tests to be excluded
from the build, using the skipLongRunningTests system property. |
| SkipOnOS |
Marker annotation used together with the
SkipTestRule JUnit rule, that allows tests to be excluded
from the build if they are run on certain platforms. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.