@Beta @Retention(value=RUNTIME) @Target(value=METHOD) public @interface PendingFeature
The use case is to annotate tests that can not yet run but should already be committed.
The main difference to Ignore
is that the test are executed, but test failures are ignored.
If the test passes without an error, then it will be reported as failure since the PendingFeature
annotation should be removed. This way the tests will become part of the normal tests
instead of being ignored forever.
Groovy has the NotYetImplemented
annotation which is similar but behaves a differently.
PendingFeature
:
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends Throwable>[] |
exceptions
Configures which types of Exceptions are expected in the pending feature.
|
String |
reason
The reason why this feature is pending
|
public abstract String reason