ConfiguredSuite

data class ConfiguredSuite(val parent: <Error class: unknown class>, val maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, val displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength!!, val displayName: String, val testName: String, val config: <Error class: unknown class>)(source)

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: <Error class: unknown class>, maxLength: Int = FreeSpec.defaultTestNameMaxLength!!, displayNameMaxLength: Int = FreeSpec.defaultDisplayNameMaxLength!!, displayName: String, testName: String, config: <Error class: unknown class>)

Properties

Link copied to clipboard
val config: <Error class: unknown class>

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: <Error class: unknown class>

The parent test suite

Link copied to clipboard

The name of the suite

Functions

Link copied to clipboard
infix operator fun minus(suiteBody: <Error class: unknown class>.() -> Unit)

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