AsserterContributor

Common
JVM
JS
Native
1.0
interface AsserterContributor
(source)

Checks applicability and provides Asserter instance

Functions

Common
JVM
JS
Native
1.0

contribute

Provides Asserter instance or null depends on the current context.

abstract fun contribute(): Asserter?

Inheritors

JUnit5
1.0

JUnit5Contributor

Provides JUnit5Asserter if org.junit.jupiter.api.Assertions class is found in the classpath.

class JUnit5Contributor : AsserterContributor
JUnit
1.0

JUnitContributor

Provides JUnitAsserter if org.junit.Assert is found in the classpath.

class JUnitContributor : AsserterContributor
TestNG
1.0

TestNGContributor

Provides TestNGAsserter if org.testng.Assert is found in the classpath.

class TestNGContributor : AsserterContributor