test
fun test(name: String, displayName: String = name, maxLength: Int = DEFAULT_TEST_NAME_MAX_LEN, testConfig: <Error class: unknown class> = TestConfig, content: suspend <Error class: unknown class>.(T) -> Unit)(source)
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
maxLength
maximum length of test element name (not display name)
testConfig
Configuration for test execution
content
Test block that receives a newly generated fixture instance