【发布时间】:2017-09-21 14:42:57
【问题描述】:
我目前使用 vue 自动设置进行 nightwatch.js 设置。该模板位于此处。
https://github.com/vuejs-templates/webpack/tree/master/template/test/e2e
是否可以通过命令行以类似于 webdriver.io 中可用的 REPL 方式运行 nightwatch 断言?这里引用了webdriver功能https://twitter.com/webdriverio/status/806911722682544128
更新,我们已经开始使用 Cypress.io,这让我们非常高兴
【问题讨论】:
-
我实际上选择了 testcafe.js,因为 nightwatch.js 很遗憾没有达到我对 e2e 测试工具的期望...
-
@phoet 我们移至 webdriver.io 仍然没有在 JS 世界中找到任何与 rails 相同级别的东西。
-
也试过 webdriver,发现 testcafe 集成起来特别好。或多或少开箱即用。