interface SpecExtension : Extension
Reusable spec extension that allows intercepting specs before they are executed. The callback is invoked for each Spec that has been submitted for execution.
intercept |
Intercepts execution of a Spec. abstract suspend fun intercept(spec: KClass<out Spec>, process: suspend () -> Unit): Unit |