Package com.intuit.karate
Class Runner.Builder
java.lang.Object
com.intuit.karate.Runner.Builder
- Enclosing class:
Runner
Deprecated, for removal: This API element is subject to removal in a future version.
V1 compatibility Builder that delegates to
Runner.Builder.-
Method Summary
Modifier and TypeMethodDescriptionbackupOutputDir(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.backupReportDir(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Use backupOutputDir() instead.clientFactory(HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Use httpClientFactory() instead.Deprecated, for removal: This API element is subject to removal in a future version.httpClientFactory(HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.outputCucumberJson(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.outputHtmlReport(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.parallel(int threadCount) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Use outputDir() instead.scenarioName(String name) Deprecated, for removal: This API element is subject to removal in a future version.systemProperty(String key, String value) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 Builder for gradual migration.workingDir(String dir) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
path
Deprecated, for removal: This API element is subject to removal in a future version.Add paths to search for .feature files. -
path
Deprecated, for removal: This API element is subject to removal in a future version.Add paths to search for .feature files. -
tags
Deprecated, for removal: This API element is subject to removal in a future version.Set tag filter expressions. -
tags
Deprecated, for removal: This API element is subject to removal in a future version.Set tag filter expressions from a list.V1 had this variant; v2 only has varargs.
-
karateEnv
Deprecated, for removal: This API element is subject to removal in a future version.Set the karate environment (karate.env). -
reportDir
Deprecated, for removal: This API element is subject to removal in a future version.Use outputDir() instead.Set the output directory for reports.V1 name was reportDir; v2 uses outputDir.
-
outputDir
Deprecated, for removal: This API element is subject to removal in a future version.Set the output directory for reports. -
backupReportDir
Deprecated, for removal: This API element is subject to removal in a future version.Use backupOutputDir() instead.Enable/disable backup of existing report directory.V1 name was backupReportDir; v2 uses backupOutputDir.
-
backupOutputDir
Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable backup of existing output directory. -
clientFactory
@Deprecated(since="2.0", forRemoval=true) public Runner.Builder clientFactory(HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Use httpClientFactory() instead.Set the HTTP client factory.V1 name was clientFactory; v2 uses httpClientFactory.
-
httpClientFactory
@Deprecated(since="2.0", forRemoval=true) public Runner.Builder httpClientFactory(HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Set the HTTP client factory. -
scenarioName
Deprecated, for removal: This API element is subject to removal in a future version.Filter by scenario name (regex supported). -
configDir
Deprecated, for removal: This API element is subject to removal in a future version.Set the directory containing karate-config.js. -
workingDir
Deprecated, for removal: This API element is subject to removal in a future version.Set the working directory for relative path resolution. -
outputHtmlReport
Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable HTML report generation. -
outputCucumberJson
Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable Cucumber JSON report generation. -
systemProperty
@Deprecated(since="2.0", forRemoval=true) public Runner.Builder systemProperty(String key, String value) Deprecated, for removal: This API element is subject to removal in a future version.Set a system property. -
parallel
Deprecated, for removal: This API element is subject to removal in a future version.Execute the tests with the specified thread count.- Parameters:
threadCount- number of threads (1 for sequential)- Returns:
- the test results wrapped in v1 Results class
-
toV2Builder
Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 Builder for gradual migration.
-
Runner.Builderinstead.