Skip to content

runTestDsl

fun runTestDsl(
    name: String, 
    config: TestConfig, 
    block: suspend TestDsl.() -> Unit
): TestResult

Low-level primitive to execute a test declared as a TestDsl.

Regular users of the library should never need to call this function. It is only provided because it is required for people who implement their own test runner.