Scoop API

scoop:scoop.test:0.1.0

runTestCase

function runTestCase

source · line 19
public
public fun runTestCase(location: SourceLocation = currentSourceLocation(), initialize: () -> TestActions): TestResult

Initializes and runs one test, capturing initialization, setup, body, and cleanup failures in TestResult. Cleanup still runs after setup failure, while the body is skipped.