Package io.debezium.junit
Class ConditionalFail
- java.lang.Object
-
- io.debezium.junit.AnnotationBasedTestRule
-
- io.debezium.junit.ConditionalFail
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ConditionalFail extends AnnotationBasedTestRule
JUnit rule that inspects the presence of theShouldFailWhenannotation on a test method. If it finds the annotation, it will modify pass/fail report of test depending on the condition defined in the annotation.- Author:
- Jiri Pechanec
-
-
Constructor Summary
Constructors Constructor Description ConditionalFail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)-
Methods inherited from class io.debezium.junit.AnnotationBasedTestRule
emptyStatement, hasAnnotation
-
-