doc / ch.tutteli.atrium.core / CoreFactory / newThrowingAssertionChecker

newThrowingAssertionChecker

abstract fun newThrowingAssertionChecker(reporter: Reporter): AssertionChecker (source)

Creates an AssertionChecker which throws AssertionErrors in case an assertion fails and uses the given reporter for reporting.

Parameters

reporter - The reporter which is used to report Assertions.

Return
The newly created assertion checker.