doc / ch.tutteli.atrium / IAtriumFactory / newThrowingAssertionChecker

newThrowingAssertionChecker

abstract fun newThrowingAssertionChecker(reporter: Reporter): AssertionChecker

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.