Package io.debezium.junit
package io.debezium.junit
-
ClassDescriptionA base
TestRulethat allows easy writing of test rules based on method annotations.JUnit rule that inspects the presence of theShouldFailWhenannotation on a test method.Defines a contract on how to obtain the database version for a given source connector implementation.Unit test to verify that the functionality ofDatabaseVersionResolveris accurate.Used bySkipWhenKafkaVersionandSkipWhenDatabaseVersionto define the type of skip rule.Marker annotation used together with theConditionalFailJUnit rule, that allows ignoring failures of tests know to be unstable on CI, using theignoreFlakyFailuressystem property.Marker annotation that defines if a test failure should be reported or not base upon condition passed to the annotation.Marker annotation used together with theSkipTestRuleJUnit rule, that allows long running tests to be excluded from the build, using theskipLongRunningTestssystem property.Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be excluded from the build if they are run on certain platforms.JUnit rule that inspects the presence of theSkipLongRunningannotation either on a test method or on a test suite.Containing annotation for repeatableSkipWhenConnectorUnderTestMarker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the current connector under testMarker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the database version used for testing.Collects together multipleSkipWhenDatabaseVersionannotations.Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the Java version used for testing.Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be skipped based on the Apache Kafka version used for testing.JUnit rule that logs start and end of each test method execution.