public class Runner extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Runner.Builder |
| Constructor and Description |
|---|
Runner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
callAsync(String path,
List<String> tags,
Map<String,Object> arg,
ExecutionHook hook,
java.util.function.Consumer<Runnable> system,
Runnable next) |
static Results |
parallel(Class<?> clazz,
int threadCount) |
static Results |
parallel(Class<?> clazz,
int threadCount,
String reportDir) |
static Results |
parallel(int threadCount,
String... tagsOrPaths) |
static Results |
parallel(List<Resource> resources,
int threadCount,
String reportDir) |
static Results |
parallel(List<String> tags,
List<String> paths,
int threadCount,
String reportDir) |
static Results |
parallel(List<String> tags,
List<String> paths,
String scenarioName,
List<ExecutionHook> hooks,
int threadCount,
String reportDir) |
static Results |
parallel(Runner.Builder options) |
static Results |
parallel(String reportDir,
int threadCount,
String... tagsOrPaths) |
static Runner.Builder |
path(List<String> paths) |
static Runner.Builder |
path(String... paths) |
static Map<String,Object> |
runFeature(Class relativeTo,
String path,
Map<String,Object> vars,
boolean evalKarateConfig) |
static Map<String,Object> |
runFeature(Feature feature,
Map<String,Object> vars,
boolean evalKarateConfig) |
static Map<String,Object> |
runFeature(File file,
Map<String,Object> vars,
boolean evalKarateConfig) |
static Map<String,Object> |
runFeature(String path,
Map<String,Object> vars,
boolean evalKarateConfig) |
public static Runner.Builder path(String... paths)
public static Runner.Builder path(List<String> paths)
public static Results parallel(List<String> tags, List<String> paths, int threadCount, String reportDir)
public static Results parallel(List<String> tags, List<String> paths, String scenarioName, List<ExecutionHook> hooks, int threadCount, String reportDir)
public static Results parallel(List<Resource> resources, int threadCount, String reportDir)
public static Results parallel(Runner.Builder options)
public static Map<String,Object> runFeature(Feature feature, Map<String,Object> vars, boolean evalKarateConfig)
public static Map<String,Object> runFeature(File file, Map<String,Object> vars, boolean evalKarateConfig)
public static Map<String,Object> runFeature(Class relativeTo, String path, Map<String,Object> vars, boolean evalKarateConfig)
public static Map<String,Object> runFeature(String path, Map<String,Object> vars, boolean evalKarateConfig)
public static void callAsync(String path, List<String> tags, Map<String,Object> arg, ExecutionHook hook, java.util.function.Consumer<Runnable> system, Runnable next)
Copyright © 2020. All rights reserved.