【问题标题】:Can TestCafe reults be tracked in HP ALM?能否在 HP ALM 中跟踪 TestCafe 结果?
【发布时间】:2020-11-26 18:36:11
【问题描述】:
HP ALM 是我目前的测试管理工具,我目前正计划使用 TestCafe 进行自动化。我想知道是否可以在 HP ALM 中显示我在 TestCafe 中运行的测试结果?
是否可以在 TestCafe 中进行集成或自动生成报告,然后将其导入 HP ALM?我已经阅读了有关 TestCafe 记者的文章,但我不确定它们的功能扩展。
谢谢
【问题讨论】:
标签:
automated-tests
testcafe
hp-alm
test-reporting
test-results
【解决方案1】:
您可能想看看Agiletestware Bumblebee - 它可以解析来自各种测试工具的报告。
对于 TestCafe,您可以使用 xunit 报告器生成 xUnit 报告,例如:
testcafe chrome test.js -r xunit:result.xml
这将生成 result.xml 文件,然后可以使用 Bumblebee 服务器和 Jenkins/TeamCity/Bamboo 的 CI 插件将其上传到 ALM。
请参考the documentation。
免责声明:我正在开发 Bumblebee 服务器
【解决方案2】:
目前我找不到任何适用于 TestCafe 的 HP ALM 插件。
您可以按照文档中的说明为 HP ALM 创建自己的报告器:Reporter Plugin。