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

newThrowingAssertionChecker

abstract fun newThrowingAssertionChecker(reporter: Reporter): AssertionChecker
Deprecated: Do no longer use AssertionCheckers, use a specialised Expect instead; e.g. DelegatingExpect, FeaturExpect; will be removed with 1.0.0

Creates an ch.tutteli.atrium.checking.AssertionChecker which throws AtriumErrors 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.