ConfiguredSuite

data class ConfiguredSuite(val parent: TestSuiteScope, val maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, val testName: String, val config: TestConfig)(source)

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: TestSuiteScope, maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, testName: String, config: TestConfig)

Properties

Link copied to clipboard
val config: TestConfig

The configuration for the suite

Link copied to clipboard
Link copied to clipboard
val parent: TestSuiteScope

The parent test suite

Link copied to clipboard

The name of the suite

Functions

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

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