Skip to content

Suiteopensavvy.prepared.suite.configIgnored

Ignored

Marks a test or an entire suite as disabled.

Example

Mark a suite as disabled:

suite("Suite name", Ignored) {
    // …
}

Mark a test as disabled:

test("Some kind of test", config = Ignored) {
    // …
}

See also

  • Ignored.If Conditionally ignore a test or suite.

Properties

coroutineContext

The coroutine context configured for this test through the Context configuration.

key

open override val key: Ignored

The identifier for this test configuration element.

uniqueness

Marker for the uniqueness of the elements denoted by this key.

Functions

get

Finds the elements identified by key in the current TestConfig.

Finds the Element identified by key in the current TestConfig.

If

inline fun If(predicate: () -> Boolean): TestConfig

Marks this test or an entire suite as disabled if predicate returns true.

plus

operator fun TestConfig.plus(other: TestConfig): TestConfig

Combines two TestConfig instances.