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 RunContextget()<T> TgetConfiguration(Class<T> type) getName()static <T,U extends Throwable>
TwithNewContext(String name, File spockUserHome, DelegatingScript configurationScript, List<Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext, T, U> command)
-
Method Details
-
getName
-
getSpockUserHome
-
createExtensionRunner
-
createSpecRunner
public ParameterizedSpecRunner createSpecRunner(SpecInfo spec, org.junit.runner.notification.RunNotifier notifier) -
getConfiguration
-
withNewContext
public static <T,U extends Throwable> T withNewContext(String name, File spockUserHome, DelegatingScript configurationScript, List<Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext, T, throws UU> command) - Throws:
U
-
get
-