FunctionsShouldCompositeAssertions

Composite condition assertions for function rules.

Inheritors

Properties

Link copied to clipboard

Filter or assertion criteria for builder.

Functions

Link copied to clipboard
open fun allOf(vararg blocks: FunctionsShould.() -> Unit): FunctionsRuleBuilder

Filter or assertion criteria for all of.

Link copied to clipboard
open fun anyOf(vararg blocks: FunctionsShould.() -> Unit): FunctionsRuleBuilder

Asserts that selected functions satisfy at least one of the specified assertion blocks.

Link copied to clipboard
open fun noneOf(vararg blocks: FunctionsShould.() -> Unit): FunctionsRuleBuilder

Filter or assertion criteria for none of.

Link copied to clipboard

Asserts that selected functions satisfy a custom boolean condition.

Asserts that selected functions satisfy a custom violation-collecting assertion.

open infix fun satisfy(description: String): FunctionsRuleBuilder

Asserts that selected functions satisfy custom description description.

Asserts that selected functions satisfy a custom boolean condition with description.

Asserts that selected functions satisfy a custom predicate within a SatisfyContext block identified by id and optional description.