ConfiguredSuite

data class ConfiguredSuite(val parent: TestSuite, val maxLength: Int = FreeSpec.defaultTestNameMaxLength, val displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength, 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)

displayNameMaxLength

maximum length of test element display name

Constructors

Link copied to clipboard
constructor(parent: TestSuite, maxLength: Int = FreeSpec.defaultTestNameMaxLength, displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength, 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
Link copied to clipboard
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.