Package io.debezium.junit
Annotation Type ShouldFailWhen
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ShouldFailWhen
Marker annotation that defines if a test failure should be reported or not base upon condition passed to the annotation. If the condition evaluates totrueand a test fails then the failure is ignored. If the test does not fail then a failure is reported. If the condition evaluates tofalsethen the test failure is handled in a usual way.- Author:
- Jiri Pechanec