invoke

operator fun String.invoke(testConfig: TestConfig = TestConfig, nested: suspend TestExecutionScope.() -> Unit)

Creates a test case with the specified name and configuration.

Parameters

testConfig

Optional test configuration

nested

The test body to execute.


operator fun String.invoke(testConfig: TestConfig = TestConfig): ConfiguredSuite

Creates a configured suite with the specified name and configuration.

Return

A new ConfiguredSuite instance.

Parameters

testConfig

Optional test configuration