doc / ch.tutteli.atrium / IAtriumFactory / newThrowingAssertionChecker

newThrowingAssertionChecker

abstract fun newThrowingAssertionChecker(reporter: IReporter): IAssertionChecker

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

Parameters

reporter - The reporter which is used to report IAssertions.

Return
The newly created assertion checker.