kotest-assertions / io.kotest.inspectors / buildAssertionError

buildAssertionError

fun <T> buildAssertionError(msg: String, results: List<ElementResult<T>>): Nothing

Build assertion error message.

Show 10 passed and failed results by default. You can change the number of output results by setting the system property kotlintest.assertions.output.max=20.

E.g.:

    -Dkotlintest.assertions.output.max=20