check All
inline fun <Value> TestSuite.checkAll(genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, testConfig: TestConfig = TestConfig, crossinline content: suspend PropertyContext.(TestExecutionScope, Value) -> Unit)
Executes property-based tests with generated values.
Parameters
gen A
Generator for test values
test Config
Optional test configuration
content
Test execution block receiving generated values
inline fun <Value> TestSuite.checkAll(iterations: Int, genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, testConfig: TestConfig = TestConfig, crossinline content: suspend PropertyContext.(TestExecutionScope, Value) -> Unit)
Executes property-based tests with generated values.
Parameters
iterations
Number of test iterations to perform
gen A
Generator for test values
test Config
Optional test configuration
content
Test execution block receiving generated values
inline fun <Value> TestSuite.checkAll(iterations: Int, genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, 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
gen A
Generator for test values
test Config
Optional test configuration
inline fun <A> TestSuite.checkAll(genA: Gen<A>, compact: Boolean = PropertyTest.compactByDefault, testConfig: TestConfig = TestConfig): ConfiguredPropertyScope<A>
Creates a configured property scope for property-based testing using default iteration count.
Parameters
gen A
Generator for test values
test Config
Optional test configuration
content
Test suite block receiving generated values