Kotlin, Kotest, Property Based Testing.
case class MyTestClass : AnnotationSpec() { @Test suspend fun checkStringLength() { forAll<String, String>(500) { a, b -> (a + b).length == a.length + b.length } } @Test suspend fun checkDivideOperation() { checkAll<Int, Int>(700){a, b -> (a / b) } } } As expected the second test case fails if 0 is