kotest-property / io.kotest.property / PropertyContext / classify

classify

fun classify(condition: Boolean, label: String): Unit

Increase the count of label if condition is true.

fun classify(condition: Boolean, trueLabel: String, falseLabel: String): Unit

Increase the count of trueLabel if condition is true, otherwise increases the count of falseLabel.