testing - 在 WebStorm 中运行 TestCafe 需要什么配置

标签 testing configuration automated-tests webstorm testcafe

我想使用 WebStorm 运行/调试 TestCafe 测试。有没有人有 我需要执行此操作的建议配置吗?

/image/7nHP8.png

最佳答案

WebStorm 不提供对TestCafe 的任何特殊支持(如果你错过了,请投票给WEB-30315);但你可以使用 VS Code instructions在 WebStorm 中运行/调试。即,您需要 Node.js运行配置如下:

enter image description here

其中 JavaScript 文件: 设置为本地安装的 testcafe 模块的路径,例如node_modules\testcafe\bin\testcafe.jsApplication parameters: 是testcafe cli args,比如chrome myTestFile.js

关于testing - 在 WebStorm 中运行 TestCafe 需要什么配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52944207/

相关文章:

python - 具有基于文件的电子邮件后端服务器的 Django 测试框架

ruby-on-rails - Rails 2.3.2 单元测试在使用普通 ruby​​ 运行时通过,在使用 rake 测试 :units 运行时失败

testing - TFS : How do you control signoff of test cases

php - 第 551 行的 fatal error : Maximum execution time of 30 seconds exceeded in c:\wamp\www\drupal2\includes\common. inc

java - 没有可用的 'ru.spb.repository.UserRepository' 类型的合格 bean : expected at least 1 bean which qualifies as autowire candidate

java - 如何立即获取 ManagedService 配置?

testing - 选项不适用于运行者

ios - 如何使用 KIF 框架模拟位置服务

scala - 使用 Akka 测试套件从 ActorRef 获取底层 Actor

windows - 如何限制 GPU 和 CPU 的使用以进行兼容性测试?