Class KarateReportPortalRunner.Builder<T extends 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.Results parallel​(int threadCount)
      Run the tests in parallel
      KarateReportPortalRunner.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Create a new builder
    • 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:
        parallel in class com.intuit.karate.Runner.Builder<T extends KarateReportPortalRunner.Builder<T>>
        Parameters:
        threadCount - number of threads to use
        Returns:
        the results of the tests