Search code examples
karate

Karate dry runner


I have created a dry runner for karate feature files as shown below:

public class DryRunner {
   @Test
   void testParallel() throws IOException {
      Runner.builder().dryRun(true);
   }
}

No HTML report is getting generated in the target folder. What I might be missing?


Solution

  • Call parallel(1) to complete the "builder" and run tests. Something like this:

    Runner.path("classpath:").dryRun(true).parallel(1);