提供的“ teamcity”报告者不存在。检查您是否正确指定了报告格式

问题描述 投票:1回答:1

突然我在testcafe中进行的测试停止工作。

我尝试使用以下方式重新安装teamcity记者:

npm install -g testcafe testcafe-reporter-teamcity

npm install testcafe testcafe-reporter-teamcity

我看到我的node_modules中有文件夹testcafe-reporter-teamcity。但是由于某种原因,它找不到它。

仍然使用命令在本地运行测试时出现错误:

testcafe firefox tests -c 4 --skip-js-errors --reporter teamcity

它将返回错误:

ERROR The provided "teamcity" reporter does not exist. Check that you have specified the report format correctly.
teamcity testcafe
1个回答
0
投票

发现问题。

只需将版本降级为"testcafe-reporter-teamcity": "1.0.10" 似乎工作正常。.由于某些原因,1.0.11出现了此问题。

© www.soinside.com 2019 - 2024. All rights reserved.