doc / ch.tutteli.atrium / AtriumFactory / newThrowingAssertionChecker

newThrowingAssertionChecker

fun newThrowingAssertionChecker(reporter: IReporter): IAssertionChecker

Overrides IAtriumFactory.newThrowingAssertionChecker

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.