Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 cucumber+Java+Selenium 创建一个自动化框架。我已经创建了自定义报告,需要上述详细信息才能在报告中打印。
不确定这是否会回答您的问题,因为它太模糊了(正如 Bala 上面所说),但是 Cucumber--JVM 可以将测试结果输出到 JSON 文件中,然后可以在后续步骤中读取和使用该文件 - 请参阅 Cucumber Reporting 和Github 上的 Cucumber Performance 插件以获取详细信息和示例