checkAll

fun <A> <Error class: unknown class>.checkAll(genA: Gen<A>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig): <Error class: unknown class>(source)

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

Parameters

genA

Generator for test values

compact

whether to compact all generated child test elements into one

maxLength

maximum length of test element name (not display name)

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration


fun <Value> <Error class: unknown class>.checkAll(iterations: Int, genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig): <Error class: unknown class>(source)

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

compact

whether to compact all generated child test elements into one

maxLength

maximum length of test element name (not display name)

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration


fun <Value> <Error class: unknown class>.checkAll(genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, suppressCompactSuccesses: Boolean? = null, compactConcurrent: Boolean? = null, content: suspend PropertyContext.(<Error class: unknown class>, Value) -> Unit): <Error class: unknown class>(source)

Executes property-based tests with generated values.

Parameters

genA

Generator for test values

compact

whether to compact all generated child test elements into one

maxLength

maximum length of test element name (not display name)

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration

suppressCompactSuccesses

whether to omit successful compacted child rows for this series

compactConcurrent

whether to run compacted child bodies sequentially for this series

content

Test execution block receiving generated values


fun <Value> <Error class: unknown class>.checkAll(iterations: Int, genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, suppressCompactSuccesses: Boolean? = null, compactConcurrent: Boolean? = null, content: suspend PropertyContext.(<Error class: unknown class>, Value) -> Unit): <Error class: unknown class>(source)

Executes property-based tests with generated values.

Parameters

iterations

Number of test iterations to perform

genA

Generator for test values

compact

whether to compact all generated child test elements into one

maxLength

maximum length of test element name (not display name)

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration

suppressCompactSuccesses

whether to omit successful compacted child rows for this series

compactConcurrent

whether to run compacted child bodies sequentially for this series

content

Test execution block receiving generated values