Skip to content

Suiteopensavvy.prepared.suite.assertions

Package-level declarations

Functions

checkThrows

inline fun <T : Throwable> checkThrows(block: () -> Any?): T

Verifies that block throws an exception of type T.

log

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.

matches

infix fun String?.matches(regex: String): Boolean

Verifies that the current string matches the specified regex.