spek-api / org.jetbrains.spek.api.dsl / TestContainer

TestContainer

interface TestContainer

Author
Ranie Jade Ramiso

Functions

test abstract fun test(description: String, pending: Pending = Pending.No, body: TestBody.() -> Unit): Unit

Extension Functions

it fun TestContainer.it(description: String, body: TestBody.() -> Unit): Unit

Creates a test.

xit fun TestContainer.xit(description: String, reason: String? = null, body: TestBody.() -> Unit = {}): Unit

Creates a pending test.

Inheritors

ActionBody interface ActionBody : TestContainer
SpecBody interface SpecBody : TestContainer