ConfiguredSuite

data class ConfiguredSuite(val parent: TestSuite, maxLength: Int = FreeSpec.maxLength, val displayName: String, val testName: String, val config: TestConfig)

Represents a configured test suite with its parent suite, name, and configuration.

Parameters

maxLength

maximum length of test element name (not display name)

Constructors

Link copied to clipboard
constructor(parent: TestSuite, maxLength: Int = FreeSpec.maxLength, displayName: String, testName: String, config: TestConfig)

Properties

Link copied to clipboard
val config: TestConfig

The configuration for the suite

Link copied to clipboard

optional display name override

Link copied to clipboard
val parent: TestSuite

The parent test suite

Link copied to clipboard

The name of the suite

Functions

Link copied to clipboard
infix operator fun minus(suiteBody: TestSuite.() -> Unit)

Creates a test suite from a configured suite with the specified body.