preparedSuite
fun preparedSuite(name: String? = null, balloonConfig: TestConfig = BalloonTestConfig, preparedConfig: TestConfig = TestConfig.Empty, compartment: () -> TestCompartment = { TestCompartment.Default }, qualifiedPropertyName: String = "", content: TestBalloonSuiteDsl.() -> Unit): Lazy<TestSuite>(source)
Declares a top-level suite (a group of related tests).
Example
val myTestSuite by preparedSuite {
test("A simple test") {
// …
}
suite("A nested suite of tests") {
test("A second test") {
// …
}
test("A third test") {
// …
}
}
}Content copied to clipboard
IDE support
Tests declared with this DSL can be executed individually with the TestBalloon IntelliJ plugin.