execute

@TestFactory
fun execute(): Stream<DynamicNode>

Executes the saga test specification and returns a stream of dynamic test nodes.

This method is annotated with @TestFactory and is called by JUnit 5 to generate dynamic tests. It creates a DSL instance using DefaultStatelessSagaDsl, executes the test block by invoking it on the DSL, and returns the resulting dynamic test nodes. Each dynamic node represents a test scenario defined in the specification block.

Return

A stream of DynamicNode instances representing the generated tests. The stream contains all test cases built from the DSL specification.