Package-level declarations

Functions

Link copied to clipboard
inline fun <T : Throwable> checkThrows(block: () -> Any?): T

Verifies that block throws an exception of type T.

Link copied to clipboard
suspend fun <T> TestDsl.log(value: T): T

Logs a value in the test output.

suspend fun <T> TestDsl.log(value: T, additionalInfo: () -> String): T

Logs a value in the test output, with some additionalInfo.

Link copied to clipboard
infix fun String?.matches(regex: String): Boolean

Verifies that the current string matches the specified regex.