kotest-core / io.kotest.core.spec.style / DescribeSpecDsl / DescribeScope

DescribeScope

class DescribeScope

Constructors

<init>

DescribeScope(context: TestContext, dsl: DescribeSpecDsl)

Properties

context

val context: TestContext

dsl

val dsl: DescribeSpecDsl

Functions

context

suspend fun context(name: String, test: suspend DescribeScope.() -> Unit): Unit

describe

suspend fun describe(name: String, test: suspend DescribeScope.() -> Unit): Unit

it

fun it(name: String): TestBuilder
suspend fun it(name: String, test: suspend TestContext.() -> Unit): Unit

xdescribe

suspend fun xdescribe(name: String, test: suspend DescribeScope.() -> Unit): Unit

xit

fun xit(name: String): TestBuilder
suspend fun xit(name: String, test: suspend TestContext.() -> Unit): Unit