Package com.intuit.karate
Class Runner
java.lang.Object
com.intuit.karate.Runner
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.UseRunner.Builderinstead. -
Method Summary
Modifier and TypeMethodDescriptionstatic Runner.Builderbuilder()Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.builder()instead.static Runner.BuilderDeprecated, for removal: This API element is subject to removal in a future version.UseRunner.path(String...)instead.static Runner.BuilderDeprecated, for removal: This API element is subject to removal in a future version.UseRunner.path(List)instead.Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)with a classpath: prefixed path instead.runFeature(String path, Map<String, Object> arg) Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)instead.runFeature(String path, Map<String, Object> arg, boolean evalKarateConfig) Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)instead.
-
Method Details
-
path
Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.path(String...)instead.Start building a test run with one or more paths. -
path
Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.path(List)instead.Start building a test run with a list of paths. -
builder
Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.builder()instead.Get a new builder instance. -
runFeature
@Deprecated(since="2.0", forRemoval=true) public static Map<String,Object> runFeature(Class<?> relativeTo, String path, Map<String, Object> arg, boolean evalKarateConfig) Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)with a classpath: prefixed path instead.Execute a single feature with pre-defined variables.V1 signature that converts the Class-relative path to a classpath resource path.
- Parameters:
relativeTo- the class to resolve the path relative topath- the feature file path relative to the classarg- variables to inject into the featureevalKarateConfig- ignored in v2 (config is always evaluated)- Returns:
- the result variables from the last executed scenario
-
runFeature
@Deprecated(since="2.0", forRemoval=true) public static Map<String,Object> runFeature(String path, Map<String, Object> arg) Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)instead.Execute a single feature with pre-defined variables using a classpath path. -
runFeature
@Deprecated(since="2.0", forRemoval=true) public static Map<String,Object> runFeature(String path, Map<String, Object> arg, boolean evalKarateConfig) Deprecated, for removal: This API element is subject to removal in a future version.UseRunner.runFeature(String, Map)instead.Execute a single feature with pre-defined variables using a classpath path.- Parameters:
path- the feature file patharg- variables to inject into the featureevalKarateConfig- ignored in v2 (config is always evaluated)- Returns:
- the result variables from the last executed scenario
-
Runnerinstead. This class will be removed in a future release.