invoke
operator fun String.invoke(displayName: String = this, maxLength: Int = FreeSpec.defaultMaxLength, displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength, testConfig: TestConfig = TestConfig, nested: suspend TestExecutionScope.() -> Unit)
Creates a test case with the specified name and configuration.
Parameters
test Config
Optional test configuration
max Length
maximum length of test element name (not display name)
display Name Max Length
maximum length of test element display name
nested
The test body to execute.
operator fun String.invoke(displayName: String = this, maxLength: Int = FreeSpec.defaultMaxLength, displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength, testConfig: TestConfig = TestConfig): ConfiguredSuite
Creates a configured suite with the specified name and configuration.
Return
A new ConfiguredSuite instance.
Parameters
test Config
Optional test configuration
max Length
maximum length of test element name (not display name)
display Name Max Length
maximum length of test element display name
display Name
Optional display name override