Jawad Kalia
Jawad Kalia

Reputation: 296

Folder specific cucumber-reporting without parallel run?

Was wondering if I could get setup cucumber-reporting for specific folders?

For example in the https://github.com/intuit/karate#naming-conventions, in CatsRunner.java i set up the third party cucumber reporting? without parallel execution. please advise or direct me on how to set it up.

Rationale. its easier to read and helps me in debugging

Upvotes: 1

Views: 349

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58058

You are always recommended to use the 3rd party Cucumber Reporting when you want HTML reports. And you can create as many Java classes similar to the DemoTestParallel in different packages. The first argument to CucumberRunner.parallel() needs to be a Java class - and by default, the same package and sub-folders will be scanned for *.feature files.

BUT I think your question is simply how to easily debug a single feature in dev-mode. Easy, just use the @RunWith(Karate.class) JUnit runner: video | documentation

Upvotes: 1

Related Questions