test_class.declarator: logger = LoggerFactory.getLogger(RunnerTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(RunnerTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: karate-core/src/test/java/com/intuit/karate/RunnerTest.java
test_class.identifier: RunnerTest
test_case.body: @Test 
      public void testParallel() {
          Results results = Runner.parallel(getClass(), 1);
          assertEquals(2, results.getFailCount());
          String pathBase = "target/surefire-reports/com.intuit.karate.";
          assertTrue(contains(pathBase + "core.scenario.xml", "Then match b == { foo: 'bar'}"));
          assertTrue(contains(pathBase + "core.outline.xml", "Then assert a == 55"));
          assertTrue(contains(pathBase + "multi-scenario.xml", "Then assert a != 2"));
          // a scenario failure should not stop other features from running
          assertTrue(contains(pathBase + "multi-scenario-fail.xml", "Then assert a != 2 ........................................................ passed"));
          assertEquals(2, results.getFailedMap().size());
          assertTrue(results.getFailedMap().keySet().contains("com.intuit.karate.no-scenario-name"));
          assertTrue(results.getFailedMap().keySet().contains("com.intuit.karate.multi-scenario-fail"));
      }
test_case.class_method_signature: RunnerTest.testParallel()
test_case.full_signature: @Test public void testParallel()
test_case.identifier: testParallel
test_case.invocations: parallel getClass assertEquals getFailCount assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertEquals size getFailedMap assertTrue contains keySet getFailedMap assertTrue contains keySet getFailedMap
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParallel()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(Runner.class)
focal_class.modifier: private static final
focal_class.original_string: private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(Runner.class);
focal_class.type: org.slf4j.Logger
focal_class.var_name: LOGGER
focal_class.file: karate-core/src/main/java/com/intuit/karate/Runner.java
focal_class.identifier: Runner
focal_class.class_method_signature: Runner.path(String... paths)
focal_class.full_signature: public static Builder path(String... paths)
focal_class.identifier: path
focal_class.modifiers: public static
focal_class.parameters: (String... paths)
focal_class.return: Builder
focal_class.signature: Builder path(String... paths)
focal_class.class_method_signature: Runner.path(List<String> paths)
focal_class.full_signature: public static Builder path(List<String> paths)
focal_class.identifier: path
focal_class.modifiers: public static
focal_class.parameters: (List<String> paths)
focal_class.return: Builder
focal_class.signature: Builder path(List<String> paths)
focal_class.class_method_signature: Runner.parallel(Class<?> clazz, int threadCount)
focal_class.full_signature: public static Results parallel(Class<?> clazz, int threadCount)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz, int threadCount)
focal_class.return: Results
focal_class.signature: Results parallel(Class<?> clazz, int threadCount)
focal_class.class_method_signature: Runner.parallel(Class<?> clazz, int threadCount, String reportDir)
focal_class.full_signature: public static Results parallel(Class<?> clazz, int threadCount, String reportDir)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz, int threadCount, String reportDir)
focal_class.return: Results
focal_class.signature: Results parallel(Class<?> clazz, int threadCount, String reportDir)
focal_class.class_method_signature: Runner.parallel(List<String> tags, List<String> paths, int threadCount, String reportDir)
focal_class.full_signature: public static Results parallel(List<String> tags, List<String> paths, int threadCount, String reportDir)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (List<String> tags, List<String> paths, int threadCount, String reportDir)
focal_class.return: Results
focal_class.signature: Results parallel(List<String> tags, List<String> paths, int threadCount, String reportDir)
focal_class.class_method_signature: Runner.parallel(int threadCount, String... tagsOrPaths)
focal_class.full_signature: public static Results parallel(int threadCount, String... tagsOrPaths)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (int threadCount, String... tagsOrPaths)
focal_class.return: Results
focal_class.signature: Results parallel(int threadCount, String... tagsOrPaths)
focal_class.class_method_signature: Runner.parallel(String reportDir, int threadCount, String... tagsOrPaths)
focal_class.full_signature: public static Results parallel(String reportDir, int threadCount, String... tagsOrPaths)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (String reportDir, int threadCount, String... tagsOrPaths)
focal_class.return: Results
focal_class.signature: Results parallel(String reportDir, int threadCount, String... tagsOrPaths)
focal_class.class_method_signature: Runner.parallel(List<String> tags, List<String> paths, String scenarioName,
              List<ExecutionHook> hooks, int threadCount, String reportDir)
focal_class.full_signature: public static Results parallel(List<String> tags, List<String> paths, String scenarioName,
              List<ExecutionHook> hooks, int threadCount, String reportDir)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (List<String> tags, List<String> paths, String scenarioName,
              List<ExecutionHook> hooks, int threadCount, String reportDir)
focal_class.return: Results
focal_class.signature: Results parallel(List<String> tags, List<String> paths, String scenarioName,
              List<ExecutionHook> hooks, int threadCount, String reportDir)
focal_class.class_method_signature: Runner.parallel(List<Resource> resources, int threadCount, String reportDir)
focal_class.full_signature: public static Results parallel(List<Resource> resources, int threadCount, String reportDir)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (List<Resource> resources, int threadCount, String reportDir)
focal_class.return: Results
focal_class.signature: Results parallel(List<Resource> resources, int threadCount, String reportDir)
focal_class.class_method_signature: Runner.onFeatureDone(Results results, ExecutionContext execContext, String reportDir, int index, int count)
focal_class.full_signature: private static void onFeatureDone(Results results, ExecutionContext execContext, String reportDir, int index, int count)
focal_class.identifier: onFeatureDone
focal_class.modifiers: private static
focal_class.parameters: (Results results, ExecutionContext execContext, String reportDir, int index, int count)
focal_class.return: void
focal_class.signature: void onFeatureDone(Results results, ExecutionContext execContext, String reportDir, int index, int count)
focal_class.class_method_signature: Runner.parallel(Builder options)
focal_class.full_signature: public static Results parallel(Builder options)
focal_class.identifier: parallel
focal_class.modifiers: public static
focal_class.parameters: (Builder options)
focal_class.return: Results
focal_class.signature: Results parallel(Builder options)
focal_class.class_method_signature: Runner.runFeature(Feature feature, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.full_signature: public static Map<String, Object> runFeature(Feature feature, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.identifier: runFeature
focal_class.modifiers: public static
focal_class.parameters: (Feature feature, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> runFeature(Feature feature, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.class_method_signature: Runner.runFeature(File file, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.full_signature: public static Map<String, Object> runFeature(File file, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.identifier: runFeature
focal_class.modifiers: public static
focal_class.parameters: (File file, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> runFeature(File file, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.class_method_signature: Runner.runFeature(Class relativeTo, String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.full_signature: public static Map<String, Object> runFeature(Class relativeTo, String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.identifier: runFeature
focal_class.modifiers: public static
focal_class.parameters: (Class relativeTo, String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> runFeature(Class relativeTo, String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.class_method_signature: Runner.runFeature(String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.full_signature: public static Map<String, Object> runFeature(String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.identifier: runFeature
focal_class.modifiers: public static
focal_class.parameters: (String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> runFeature(String path, Map<String, Object> vars, boolean evalKarateConfig)
focal_class.class_method_signature: Runner.callAsync(String path, List<String> tags, Map<String, Object> arg, ExecutionHook hook, Consumer<Runnable> system, Runnable next)
focal_class.full_signature: public static void callAsync(String path, List<String> tags, Map<String, Object> arg, ExecutionHook hook, Consumer<Runnable> system, Runnable next)
focal_class.identifier: callAsync
focal_class.modifiers: public static
focal_class.parameters: (String path, List<String> tags, Map<String, Object> arg, ExecutionHook hook, Consumer<Runnable> system, Runnable next)
focal_class.return: void
focal_class.signature: void callAsync(String path, List<String> tags, Map<String, Object> arg, ExecutionHook hook, Consumer<Runnable> system, Runnable next)
focal_method.body: public static Results parallel(Class<?> clazz, int threadCount) {
          return parallel(clazz, threadCount, null);
      }
focal_method.class_method_signature: Runner.parallel(Class<?> clazz, int threadCount)
focal_method.full_signature: public static Results parallel(Class<?> clazz, int threadCount)
focal_method.identifier: parallel
focal_method.invocations: parallel
focal_method.modifiers: public static
focal_method.parameters: (Class<?> clazz, int threadCount)
focal_method.return: Results
focal_method.signature: Results parallel(Class<?> clazz, int threadCount)