Package io.debezium.junit
-
Interface Summary Interface Description DatabaseVersionResolver Defines a contract on how to obtain the database version for a given source connector implementation. -
Class Summary Class Description AnnotationBasedTestRule A baseTestRulethat allows easy writing of test rules based on method annotations.ConditionalFail JUnit rule that inspects the presence of theShouldFailWhenannotation on a test method.DatabaseVersionResolver.DatabaseVersion SkipTestRule JUnit rule that inspects the presence of theSkipLongRunningannotation either on a test method or on a test suite.TestLogger JUnit rule that logs start and end of each test method execution. -
Enum Summary Enum Description EqualityCheck Used bySkipWhenKafkaVersionandSkipWhenDatabaseVersionto define the type of skip rule.SkipWhenKafkaVersion.KafkaVersion -
Annotation Types Summary 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 theSkipTestRuleJUnit rule, that allows long running tests to be excluded from the build, using theskipLongRunningTestssystem property.SkipOnOS Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be excluded from the build if they are run on certain platforms.SkipWhenDatabaseVersion Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the database version used for testing.SkipWhenDatabaseVersions Collects together multipleSkipWhenDatabaseVersionannotations.SkipWhenKafkaVersion Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the Apache Kafka version used for testing.