kotest-core / io.kotest.core.factory / DynamicTest

DynamicTest

data class DynamicTest

A DynamicTest is an intermediate test state held by a factory. Once the factory is added to a Spec and the spec is created, the factories dynamic tests will be added to the spec as fully fledged TestCases.

Constructors

<init>

A DynamicTest is an intermediate test state held by a factory. Once the factory is added to a Spec and the spec is created, the factories dynamic tests will be added to the spec as fully fledged TestCases.

DynamicTest(name: String, test: suspend TestContext.() -> Unit, config: TestCaseConfig, type: TestType, source: SourceRef)

Properties

config

val config: TestCaseConfig

name

val name: String

source

val source: SourceRef

test

val test: suspend TestContext.() -> Unit

type

val type: TestType