expectAll (Function)

Signature: expectAll(conditions: List<bool>) -> Unit

Description: Runs every boolean in a list literal as an independent soft assertion. All conditions run even when an earlier one fails.

Parameters

  • conditions (List): A non-empty list literal of boolean conditions

Returns: Unit

Example

expectAll([total == 42, name == "Ada", ready])
expectAll [total == 42, name == "Ada", ready]