CompoundAssertion

interface CompoundAssertion

An assertion composed of multiple conditions whose overall result is determined by some aggregation of those conditions' results.

Fields

Name Description
abstract anyFailed: Boolean

true if at least one composed assertion failed, otherwise false.

abstract allFailed: Boolean

true if all composed assertions failed, otherwise false.

abstract anyPassed: Boolean

true if at least one composed assertion passed, otherwise false.

abstract allPassed: Boolean

true if all composed assertions passed, otherwise false.

abstract passedCount: Int

the number of composed assertions that passed.

abstract failedCount: Int

the number of composed assertions that failed.