gpt4 book ai didi

automated-tests - 更新 TestRail 中的 TestCafe 脚本执行状态(通过/失败)

转载 作者:行者123 更新时间:2023-12-04 07:04:52 25 4
gpt4 key购买 nike

我正在尝试将 TestRail 与 TestCafe 集成,以便更新 TestRail 上的测试脚本执行状态。我点击了以下链接但没有成功 https://www.npmjs.com/package/testcafe-reporter-html-testrail尝试了以下一个,但没有成功。

test('<< Group Name>> | << Test Name >> | << Testrail Case_ID >> ', async t => { .... });

你能帮我解决这个问题吗?

注意:我的问题与:https://testcafe-discuss.devexpress.com/t/is-there-anyway-to-post-test-results-from-a-run/377 相同

最佳答案

据我了解 https://testcafe-discuss.devexpress.com/t/is-there-anyway-to-post-test-results-from-a-run/377线程,向 TestRail API 发送一些请求就足以解决问题。

我看了一下testcafe-reporter-html-testrail,乍一看,它应该发送这样的请求。

我建议您查看 testcafe-reporter-html-testrail 的代码并调试它以找出它不起作用的原因。我建议你从这些记者方法开始: https://devexpress.github.io/testcafe/documentation/extending-testcafe/reporter-plugin/reporter-methods.html .

由于 testcafe-reporter-html-testrail 不是官方的 TestCafe 记者,我们无法提供有关它的任何详细信息。我在 GitHub 上找不到 testcafe-reporter-html-testrail 的存储库,但它仍然存在于 npm 上,所以您可以联系该模块的作者。

关于automated-tests - 更新 TestRail 中的 TestCafe 脚本执行状态(通过/失败),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55262356/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com