Folder specific cucumber-reporting without parallel run?

∥☆過路亽.° 提交于 2019-12-11 06:09:16

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/47894173/folder-specific-cucumber-reporting-without-parallel-run

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!