test

fun test(name: String, displayName: String = name, testConfig: TestConfig = TestConfig, action: suspend TestExecutionScope.(T) -> Unit)

Registers a test that uses a fresh fixture instance as a child of the current testSuite.

Parameters

name

The name of the test

displayName

The display name of the test

testConfig

Configuration for test execution

action

Test block that receives a newly generated fixture instance