Kotlin, Kotest, Property Based Testing.
AnnotationSpec() { init { PropertyTesting.defaultIterationCount = 500 } @Test suspend fun checkStringLength() { forAll<String, String> { a, b -> (a + b).length == a.length + b.length } } @Test suspend fun checkDivideOperation() { checkAll<Int, Int>{a, b -> (a / b) } } } or by configure it per test