Package com.epam.reportportal.karate
Class KarateReportPortalRunner.Builder<T extends KarateReportPortalRunner.Builder<T>>
- java.lang.Object
-
- com.intuit.karate.Runner.Builder<T>
-
- com.epam.reportportal.karate.KarateReportPortalRunner.Builder<T>
-
- Type Parameters:
T- type of the builder
- Enclosing class:
- KarateReportPortalRunner
public static class KarateReportPortalRunner.Builder<T extends KarateReportPortalRunner.Builder<T>> extends com.intuit.karate.Runner.Builder<T>Builder for the Karate runner with ReportPortal integration
-
-
Constructor Summary
Constructors Constructor Description Builder()Create a new builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.intuit.karate.Resultsparallel(int threadCount)Run the tests in parallelKarateReportPortalRunner.Builder<T>withReportPortal(com.epam.reportportal.service.ReportPortal reportPortal)Set the ReportPortal instance to use-
Methods inherited from class com.intuit.karate.Runner.Builder
backupReportDir, buildDir, callOnceCache, callSingleCache, classLoader, clientFactory, configDir, copy, customDrivers, debugMode, dryRun, features, features, forTempUse, fromKarateAnnotation, hook, hookFactory, hooks, karateEnv, outputCucumberJson, outputHtmlReport, outputJunitXml, path, path, relativeTo, reportDir, resolveAll, scenarioName, suiteReports, systemProperty, tags, tags, threads, timeoutMinutes, toString, workingDir
-
-
-
-
Method Detail
-
withReportPortal
public KarateReportPortalRunner.Builder<T> withReportPortal(com.epam.reportportal.service.ReportPortal reportPortal)
Set the ReportPortal instance to use- Parameters:
reportPortal- the ReportPortal instance- Returns:
- the builder
-
parallel
public com.intuit.karate.Results parallel(int threadCount)
Run the tests in parallel- Overrides:
parallelin classcom.intuit.karate.Runner.Builder<T extends KarateReportPortalRunner.Builder<T>>- Parameters:
threadCount- number of threads to use- Returns:
- the results of the tests
-
-