In package strikt.api

class strikt.api.CompoundAssertion

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

Fields

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 whose status is strikt.api.Status.Passed.

abstract failedCount: Int

the number of composed assertions whose status is strikt.api.Status.Failed.