checkAll

fun <Value> TestSuite.checkAll(genA: Gen<Value>, testConfig: TestConfig = TestConfig, content: suspend PropertyContext.(TestExecutionScope, Value) -> Unit)

Executes property-based tests with generated values.

Parameters

genA

Generator for test values

testConfig

Optional test configuration

content

Test execution block receiving generated values


fun <Value> TestSuite.checkAll(iterations: Int, genA: Gen<Value>, testConfig: TestConfig = TestConfig, content: suspend PropertyContext.(TestExecutionScope, Value) -> Unit)

Executes property-based tests with generated values.

Parameters

iterations

Number of test iterations to perform

genA

Generator for test values

testConfig

Optional test configuration

content

Test execution block receiving generated values


fun <Value> TestSuite.checkAll(iterations: Int, genA: Gen<Value>, testConfig: TestConfig = TestConfig): ConfiguredPropertyScope<Value>

Creates a configured property scope for property-based testing with specified iterations.

Parameters

iterations

Number of test iterations to perform

genA

Generator for test values

testConfig

Optional test configuration


fun <A> TestSuite.checkAll(genA: Gen<A>, testConfig: TestConfig = TestConfig): ConfiguredPropertyScope<A>

Creates a configured property scope for property-based testing using default iteration count.

Parameters

genA

Generator for test values

testConfig

Optional test configuration

content

Test suite block receiving generated values