【问题标题】:General configuration issue when using Dalek with Grunt将 Dalek 与 Grunt 一起使用时的一般配置问题
【发布时间】:2014-04-04 15:12:54
【问题描述】:

我使用 http://www.html5rocks.com/en/tutorials/tooling/supercharging-your-gruntfile/?redirect_from_locale=de 中描述的 load-grunt-config 功能拆分了我的 gruntfile。我还为 dalek 创建了一个模块,如

中所述
https://www.npmjs.org/package/grunt-dalek

看起来像这样:

module.exports = {
  dalek: {
    options: {
      browser: ['phantomjs'],
      reporter: ['html', 'junit', 'json'],
    },

    dist: {
      src: ['tests/gui/dalekjs/dakektest.js']
    }
  }
};

在控制台中执行grunt -v 时,我在控制台中看到以下输出:

它说没有文件,但是当我使用时:

module.exports = {
  dalek: {
    options: {
      browser: ['phantomjs'],
      reporter: ['html', 'junit', 'json'],
    },

    files: {
      src: ['tests/gui/dalekjs/dakektest.js']
    }
  }
};

一切正常!

有什么想法吗?

干杯 izocan

【问题讨论】:

    标签: javascript testing gruntjs gui-testing dalekjs


    【解决方案1】:

    在此处的 google 群组讨论中解决:General issue when using Dalek with Grunt

    【讨论】:

      猜你喜欢
      • 2022-10-07
      • 2014-07-23
      • 2016-10-31
      • 2016-12-10
      • 2012-08-01
      • 2015-02-04
      • 2013-08-08
      • 1970-01-01
      • 2016-11-10
      相关资源
      最近更新 更多