function runTestCase
source · line 19public
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.
parameter initialize
source · line 21public
initialize: () -> TestActions
parameter location
source · line 20public
location: SourceLocation = currentSourceLocation()