Skip to content

SpekForge

Xavier Gouchet edited this page Aug 24, 2020 · 1 revision

spekForge

fun Root.spekForge(seeds: Map<String, Long> = emptyMap(), configurator: ForgeConfigurator? = null): Forge

Creates a Forge instance for the root Spek scope, already configured with a ForgeLifecycleListener.

Parameters

seeds - a map containing the seeds to reset your test scopes (the key should be the qualified name of your tests, with each parent group named separated by a "/"; e.g.: "group name/sub group name/test name").

configurator - the ForgeConfigurator instance to use (leave empty if not necessary)

Clone this wiki locally