fork

open override fun fork(name: String, verifyError: Boolean, block: ForkedVerifiedStageDsl<S>.() -> Unit)

Creates a forked verification path for testing alternative scenarios.

This method allows branching the test execution to verify different outcomes or error conditions from the same initial state. The fork creates a new verification context that can be configured independently.

Parameters

name

descriptive name for the forked test branch, used in test reporting

verifyError

whether to verify error conditions in this fork (true) or success conditions (false)

block

the forked verification logic using ForkedVerifiedStageDsl