Package org.spockframework.runtime
Class RunContext
java.lang.Object
org.spockframework.runtime.RunContext
-
Method Summary
Modifier and TypeMethodDescriptioncreateSpecRunner
(SpecInfo spec, org.junit.runner.notification.RunNotifier notifier) static RunContext
get()
<T> T
getConfiguration
(Class<T> type) static <T,
U extends Throwable>
TwithNewContext
(DelegatingScript configurationScript, List<Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext, T, U> command)
-
Method Details
-
createExtensionRunner
-
createSpecRunner
public ParameterizedSpecRunner createSpecRunner(SpecInfo spec, org.junit.runner.notification.RunNotifier notifier) -
getConfiguration
-
withNewContext
public static <T,U extends Throwable> T withNewContext(DelegatingScript configurationScript, List<Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext, T, throws UU> command) - Throws:
U extends Throwable
-
get
-