jenkins - 在 Jenkins 中自定义 Cucumber 报告以分隔测试运行
问题描述
我有 Jenkins 工作,通过 Jenkinsfile 定制。有几个阶段:运行测试,重新运行失败的场景,生成黄瓜报告。我想在最终报告中单独运行和重新运行统计信息,如下图所示: 想要
但在我的报告中,所有结果都在一张表中: 实际
用于生成报告的 Jenkinsfile 片段(我使用 cucumber-report 插件):
cucumber buildStatus: "UNSTABLE",
jsonReportDirectory: 'target',
trendsLimit: 7,
skipEmptyJSONFiles: true,
mergeFeaturesWithRetest: true,
mergeFeaturesById: true,
stopBuildOnFailedReport: false
你有什么建议吗?谢谢
解决方案
推荐阅读
- python - Pandas dataframe: merge files by common columns
- javascript - JS: How to pass url through redirect function to login function
- python - PrefixTree insert method
- css - CSS Grid - unnecessary word break
- opengl - Opengl vertex color always leads to a black triangle
- python - How to use returned value from a function
- ruby - Ruby - how to pop a specific element from an array
- javascript - 如何在 Python Selenium 中执行 JavaScript 代码,然后在我的 Python 代码中调用它?
- javascript - 如何根据光标速度更改音量并使其流畅
- reactjs - reactjs - 在组合组件时添加更多状态