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
class NonSuspendingGeneratingFixtureScope<T> : TestSuiteScope

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.

Functions

Link copied to clipboard
fun <T> TestSuiteScope.withFixtureGenerator(generator: () -> T): GeneratingFixtureScopHolder<T>
fun <T> TestSuiteScope.withFixtureGenerator(generator: suspend () -> T): GeneratingSuspendFixtureScopHolder<T>

Prepares a fixture-generating scope from a generator function.