【问题标题】:How do I run the GruntJS tests?如何运行 GruntJS 测试?
【发布时间】:2012-10-18 19:45:36
【问题描述】:

我刚刚克隆了gruntjs repository

我如何实际运行 GruntJS 的测试?

(我并不是说我想使用 GruntJS 运行我自己的测试。我的意思是我想为 GruntJS 本身运行测试。)

【问题讨论】:

    标签: unit-testing node.js gruntjs


    【解决方案1】:

    grunt test 应该可以解决问题。

    【讨论】:

      【解决方案2】:

      咕噜吃自己的狗粮。

      git clone https://github.com/gruntjs/grunt
      cd grunt
      grunt test
      

      或者,像任何 grunt 存储库一样(因为 package.json 格式正确):

      cd grunt
      npm test
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-02-10
        • 1970-01-01
        • 2011-01-30
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-02-09
        相关资源
        最近更新 更多