【问题标题】:nightwatchjs Error occurred: "There was an error while starting the test runner:"nightwatchjs 发生错误:“启动测试运行程序时出错:”
【发布时间】:2017-10-15 22:05:23
【问题描述】:

我使用“npm install -g nightwatch”命令全局安装 nightwatchjs。版本是0.9.16。

然后我只需将默认的 google.js (AppData\Roaming\npm\node_modules\nightwatch\examples\tests\google.js) 复制到单独的文件夹位置并执行它

知道为什么会这样吗?

【问题讨论】:

    标签: node.js automation nightwatch.js


    【解决方案1】:

    可能有很多事情,所以从这个开始:

    1) 为什么在 nightwatch 中没有 --test --test google.js 2)假设google.js是测试文件,它是存在于Sameera目录还是在examples/tests/中?

    如果 2 是正确的,我会假设你需要类似的东西:

    nightwatch --test examples/tests/google.js

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多