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.
我们的客户在他的开发环境中使用 Allure 和 Cypress,并希望将此环境集成到 Jira X-Ray 中。
据我所知,Allure 正在处理测试结果和报告。如何将这些测试结果发送回 Jira-Ray 以便在 Jira 中收集测试结果指标?
感谢您的发现,样品将不胜感激,因为我们是新手
问候
如果使用 Cypress,您可以使用测试运行程序生成的报告与 Xray 集成。如果您将 Cucumber 与 Cypress 一起使用,您将使用“cypress-cucumber-preprocessor”包;您需要决定采用哪种工作流程。如果您不使用 Cucumber,那么流程会更简单,您只需上传结果,通常使用 JUnit XML 类型的报告。
这与您是否使用 Allure 无关。
本教程适用于 Jira Cloud 上的 Xray,但如果您在本地(服务器/数据中心)使用 Jira,则可以轻松对其进行调整。