invoke
operator fun <T> String.invoke(maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, testConfig: TestConfig = TestConfig, nested: suspend Test.ExecutionScope.(T) -> Unit)(source)(source)
operator fun <T> String.invoke(maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, testConfig: TestConfig = TestConfig, nested: suspend Test.ExecutionScope.(T) -> Unit)(source)(source)
Creates a test case with the specified name and configuration.
Parameters
testConfig
Optional test configuration
maxLength
maximum length of test element name (not display name)
nested
The test body to execute.
operator fun <T> String.invoke(maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, testConfig: TestConfig = TestConfig): <Error class: unknown class>(source)
Creates a configured suite with the specified name and configuration.
Return
A new ConfiguredSuite instance.
Parameters
testConfig
Optional test configuration
maxLength
maximum length of test element name (not display name)