checkAllSuites

fun <A> <Error class: unknown class>.checkAllSuites(genA: Gen<A>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, displayNameMaxLength: Int = PropertyTest.defaultDisplayNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, content: PropertyContext.(<Error class: unknown class>, A) -> Unit): <Error class: unknown class>(source)

Creates test suites 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)

displayNameMaxLength

maximum length of test element display name

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration

content

Test suite block receiving generated values


fun <Value> <Error class: unknown class>.checkAllSuites(iterations: Int, genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, displayNameMaxLength: Int = PropertyTest.defaultDisplayNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, content: PropertyContext.(<Error class: unknown class>, Value) -> Unit): <Error class: unknown class>(source)

Creates test suites 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)

displayNameMaxLength

maximum length of test element display name

prefix

an optional prefix to add to the test name

testConfig

Optional test configuration

content

Test suite block receiving generated values