kotest-property / io.kotest.property / PropTest

PropTest

data class PropTest

Constructors

<init>

PropTest(seed: Long? = null, minSuccess: Int = Int.MAX_VALUE, maxFailure: Int = 0, shrinkingMode: ShrinkingMode = ShrinkingMode.Bounded(1000), iterations: Int? = null)

Properties

iterations

val iterations: Int?

maxFailure

val maxFailure: Int

minSuccess

val minSuccess: Int

seed

val seed: Long?

shrinkingMode

val shrinkingMode: ShrinkingMode

Extension Functions

checkAll

suspend fun <A, B> PropTest.checkAll(property: suspend PropertyContext.(A, B) -> Unit): PropertyContext

toPropTestConfig

fun PropTest.toPropTestConfig(): PropTestConfig