fork

fun fork(name: String = "", block: ProcessorSpec.() -> Unit)

Runs block on a copy of the specification as it is now, so that several scenarios share a prefix: what block does stays in the fork, and the specification goes on from where it was. A failure in the fork names it (name); in a tree of tests (sagaSpecTests) the fork is a container named by it. Nothing before the fork runs again.