AsserterContributor

interface AsserterContributor (source)

Checks applicability and provides Asserter instance

Functions

contribute

abstract fun contribute(): Asserter?

Provides Asserter instance or null depends on the current context.

Inheritors

JUnitContributor

class JUnitContributor : AsserterContributor

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

TestNGContributor

class TestNGContributor : AsserterContributor

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