如何使用并行黄瓜生成单独的 html 报告,其中仅存储上次执行场景的结果

How do I generate separate html reports using parallel cucumber where only the result of last executed scenario is stored

我正在寻找关于我使用并行黄瓜执行的场景的个人 html 报告。我用过:

gem install parallel_cucumber

然后执行:

parallel_cucumber -n 4 -o "-f pretty -f html -o report.html" features/*.feature 

但是当我使用上面的语句执行时,报告被覆盖了,只存储了上次执行场景的结果。请帮忙。

如 gems github 页面所述 - https://github.com/bayandin/parallel_cucumber#reports - 不要在 cucumber 选项中指定输出文件,在 config/cucumber.yaml 文件中指定它并包含名称中的进程号