KotestSuiteDsl

class KotestSuiteDsl : AbstractTestScope, SuiteDsl(source)

An implementation of Prepared's SuiteDsl that is recognized by the Kotest IntelliJ plugin.

To create an instance of this class, use PreparedSpec.suite or preparedSuite.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val testCase: TestCase

Functions

Link copied to clipboard
open suspend override fun registerTest(test: TestDefinition)
Link copied to clipboard
open suspend override fun registerTestCase(nested: NestedTest)
Link copied to clipboard
@JvmName(name = "suiteKotest")
fun suite(name: String, config: TestConfig = TestConfig.Empty, block: KotestSuiteDsl.() -> Unit)

Creates a child suite named name of the current suite.

Link copied to clipboard
open override fun test(name: String, config: TestConfig, block: suspend TestDsl.() -> Unit)
open fun test(name: String, context: CoroutineContext, config: TestConfig, block: suspend TestDsl.() -> Unit)