Package-level declarations

Types

Link copied to clipboard

Abstract base class for GivenDsl implementations that provides common functionality.

Link copied to clipboard

Defines the Domain Specific Language (DSL) for aggregate testing in the WOW framework.

Link copied to clipboard

Context interface for managing shared state across aggregate DSL test stages.

Link copied to clipboard

Interface for components that provide access to an AggregateDslContext.

Link copied to clipboard
class DefaultAggregateDsl<C : Any, S : Any>(commandAggregateType: Class<C>) : AbstractDynamicTestBuilder, AggregateDsl<S>

Default implementation of the AggregateDsl interface for testing aggregate behavior.

Link copied to clipboard
class DefaultAggregateDslContext<S : Any>(val expectStages: MutableMap<String, ExpectStage<S>> = mutableMapOf()) : AggregateDslContext<S>

Default implementation of AggregateDslContext using a mutable map for storage.

Link copied to clipboard

Default implementation of the ExpectDsl interface for defining aggregate test expectations.

Link copied to clipboard

Default implementation of the ForkedVerifiedStageDsl interface for forked test scenarios.

Link copied to clipboard
class DefaultGivenDsl<S : Any>(val context: AggregateDslContext<S>, val delegate: GivenStage<S>) : AbstractGivenStageDsl<S>

Default implementation of the GivenDsl interface for basic given stage operations.

Link copied to clipboard

Default implementation of the WhenDsl interface for defining command execution in tests.

Link copied to clipboard

Defines the "Expect" phase of aggregate testing where results are validated.

Link copied to clipboard

Defines a forked test context that allows continuing testing from a verified state.

Link copied to clipboard

Defines the "Given" phase of aggregate testing where preconditions are established.

Link copied to clipboard

Defines the "When" phase of aggregate testing where commands are executed.

Functions

Link copied to clipboard
fun <S : Any> ExpectStage<S>.fork(displayName: String, context: AggregateDslContext<S>, verifyError: Boolean, block: ForkedVerifiedStageDsl<S>.() -> Unit): DynamicNode

Creates a forked test scenario from the current ExpectStage.