object ExplainingAssertionCollectorOption
Delegates inter alia to the implementation of ThrowingAssertionCollectorForExplanation and NonThrowingAssertionCollectorForExplanation.
val doNotThrowIfNoAssertionIsCollected: NonThrowingAssertionCollectorForExplanation
Choosing this option will ignore use cases where not a single Assertion was collected. |
|
val throwIfNoAssertionIsCollected: ThrowingAssertionCollectorForExplanation
Choosing this option causes the AssertionCollector to throw an IllegalArgumentException in case not a single Assertion was collected. |