小编rk2*_*019的帖子

'testcafe' 不是 cmdlet、函数、脚本文件或可运行程序的名称

我正在尝试运行 testcafe chrome tests/ -e 来执行我的测试,但它抛出一个错误说

"testcafe: The term 'testcafe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try 
again.
At line:1 char:1
+ testcafe chrome tests/ -e
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (testcafe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"

added testcafe locally to project
Run Code Online (Sandbox Code Playgroud)

我使用 Visual Studio Code 作为 IDE 和 PowerShell …

testing powershell automated-tests e2e-testing testcafe

5
推荐指数
1
解决办法
1558
查看次数