testSuite
fun testSuite(name: String? = null, compartment: () -> TestCompartment, testConfig: TestConfig = TestConfig, qualifiedPropertyName: String = "", content: TestSuite.() -> Unit): Lazy<TestSuite>(source)
Registers a top-level TestSuite.
compartment is the optional TestCompartment the test suite belongs to.
Usage:
val myTestSuite by testSuite(compartment = TestCompartment.Concurrent) {
// test suite content
}Content copied to clipboard
name defaults to the simple name of the top-level property at the call site (from qualifiedPropertyName).
Note: The compiler plugin initializes qualifiedPropertyName with the fully qualified name of the top-level property at the call site. It must not be changed except for internal testing.
fun testSuite(name: String? = null, testConfig: TestConfig = TestConfig, qualifiedPropertyName: String = "", content: TestSuite.() -> Unit): Lazy<TestSuite>(source)
Registers a top-level TestSuite.
Usage:
val myTestSuite by testSuite {
// test suite content
}Content copied to clipboard
name defaults to the simple name of the top-level property at the call site (from qualifiedPropertyName).
Note: The compiler plugin initializes qualifiedPropertyName with the fully qualified name of the top-level property at the call site. It must not be changed except for internal testing.