Package-level declarations

Types

Link copied to clipboard

Scope for managing mutable test fixtures that are regenerated for each test. Provides a structured way to define tests that require fresh fixture instances generated before each test.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> () -> T.generatingFixtureFor(block: GeneratingFixtureScope<T>.() -> Unit)
inline fun <T> suspend () -> T.generatingFixtureFor(block: GeneratingFixtureScope<T>.() -> Unit)
Link copied to clipboard
inline fun <T> TestSuite.withFixtureGenerator(noinline generator: () -> T): GeneratingFixtureScopHolder<T>
inline fun <T> TestSuite.withFixtureGenerator(noinline generator: suspend () -> T): GeneratingSuspendFixtureScopHolder<T>

Prepares a fixture-generating scope from a generator function.