Package-level declarations

Types

Link copied to clipboard
data class ConfiguredPropertyScope<Value>(val testSuite: TestSuite, val iterations: Int, val genA: Gen<Value>, val testConfig: TestConfig = TestConfig)

Functions

Link copied to clipboard
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.

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

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.

Link copied to clipboard
fun <A> TestSuite.checkAllSuites(genA: Gen<A>, testConfig: TestConfig = TestConfig, content: PropertyContext.(TestSuite, A) -> Unit)

Creates test suites for property-based testing using default iteration count.

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

Creates test suites for property-based testing with specified iterations.