Folder specific cucumber-reporting without paralle

2019-07-31 08:41发布

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

标签: karate
1条回答
The star\"
2楼-- · 2019-07-31 09:17

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

查看更多
登录 后发表回答