Automated tests 在TestRail中更新TestCafe脚本执行状态(通过/失败)

Automated tests 在TestRail中更新TestCafe脚本执行状态(通过/失败),automated-tests,e2e-testing,web-testing,testcafe,testrail,Automated Tests,E2e Testing,Web Testing,Testcafe,Testrail,我正在尝试将TestRail与TestCafe集成,以便更新TestRail上的测试脚本执行状态。我遵循下面的链接,但没有成功 尝试使用下面的一个,但未成功 test('>|>|>',async t=>{….}) 你能帮我做这个吗 注意:我的问题与:据我从线程中了解,向TestRail API发送一些请求就足以解决问题 我看了一下testcafe reporter html testrail,乍一看,它应该会发送这样的请求 我建议您检查testcafe reporter html testrai

我正在尝试将TestRail与TestCafe集成,以便更新TestRail上的测试脚本执行状态。我遵循下面的链接,但没有成功 尝试使用下面的一个,但未成功

test('>|>|>',async t=>{….})

你能帮我做这个吗

注意:我的问题与:

据我从线程中了解,向TestRail API发送一些请求就足以解决问题

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

我建议您检查
testcafe reporter html testrail
的代码,并对其进行调试,以找到它不起作用的原因。我建议您从以下方法开始:


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

如果您使用testcafe CLI运行测试,然后,您将通过以下方式传递
testcafe reporter html testrail
插件工作所需的testrail环境变量:

TESTRAIL_ENABLE=true TESTRAIL_HOST=http://example.net/ TESTRAIL_USER=abc@example.net TESTRAIL_PASS=password PROJECT_NAME='ABC' testcafe chrome test.js

谢谢Alex,正如您提到的,我没有找到testcafe reporter html testrail存储库,因此我需要帮助使用参数信息来精确地确定方法,以便向testrail API发送请求。当您查看testcafe reporter html testrail时,您是否知道testrail-HOST、testrail\u USER、testrail\u PASS、PROJECT\u NAME将如何传递。我不熟悉testrail API,因此我不确定这些参数是如何传递的。