testSuite
fun testSuite(name: String = "", displayName: String = name, compartment: () -> TestCompartment, testConfig: TestConfig = TestConfig, 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
fun testSuite(name: String = "", displayName: String = name, testConfig: TestConfig = TestConfig, content: TestSuite.() -> Unit): Lazy<TestSuite>(source)
Registers a top-level TestSuite.
Usage:
val myTestSuite by testSuite {
// test suite content
}Content copied to clipboard