[英]What configuration do I need to run TestCafe in WebStorm
WebStorm doesn't provide any special support for TestCafe (if you miss it, please vote for WEB-30315 ); WebStorm不为TestCafe提供任何特殊支持(如果您错过了,请投票支持WEB-30315 ); but you can use VS Code instructions to run/debug in WebStorm. 但您可以使用VS Code指令在WebStorm中运行/调试。 Namely, you need Node.js Run configuration like the following: 也就是说,您需要Node.js运行配置,如下所示:
where JavaScript file: is set to a path to your locally installed testcafe module, eg node_modules\\testcafe\\bin\\testcafe.js
, and Application parameters: are testcafe cli args, like chrome myTestFile.js
其中JavaScript文件:设置为本地安装的testcafe模块的路径,例如node_modules\\testcafe\\bin\\testcafe.js
和Application参数:是testcafe cli args,比如chrome myTestFile.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.