fun <A> <Error class: unknown class>.checkAll(genA: Gen<A>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, displayNameMaxLength: Int = PropertyTest.defaultDisplayNameMaxLength!!, 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
Generator for test values
whether to compact all generated child test elements into one
maximum length of test element name (not display name)
maximum length of test element display name
an optional prefix to add to the test name
Optional test configuration
fun <Value> <Error class: unknown class>.checkAll(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): <Error class: unknown class>(source) Creates a configured property scope for property-based testing with specified iterations.
Parameters
Number of test iterations to perform
Generator for test values
whether to compact all generated child test elements into one
maximum length of test element name (not display name)
maximum length of test element display name
an optional prefix to add to the test name
Optional test configuration
fun <Value> <Error class: unknown class>.checkAll(genA: Gen<Value>, compact: Boolean = PropertyTest.compactByDefault, maxLength: Int = PropertyTest.defaultTestNameMaxLength!!, displayNameMaxLength: Int = PropertyTest.defaultDisplayNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, content: suspend PropertyContext.(<Error class: unknown class>, Value) -> Unit): <Error class: unknown class>(source) Executes property-based tests with generated values.
Parameters
Generator for test values
whether to compact all generated child test elements into one
maximum length of test element name (not display name)
maximum length of test element display name
an optional prefix to add to the test name
Optional test configuration
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!!, displayNameMaxLength: Int = PropertyTest.defaultDisplayNameMaxLength!!, prefix: String = "", testConfig: <Error class: unknown class> = TestConfig, content: suspend PropertyContext.(<Error class: unknown class>, Value) -> Unit): <Error class: unknown class>(source) Executes property-based tests with generated values.
Parameters
Number of test iterations to perform
Generator for test values
whether to compact all generated child test elements into one
maximum length of test element name (not display name)
maximum length of test element display name
an optional prefix to add to the test name
Optional test configuration
Test execution block receiving generated values