【问题标题】:Grunt postman (newman) task hangsGrunt postman (newman) 任务挂起
【发布时间】:2016-10-18 00:16:57
【问题描述】:

我正在运行一个永远运行的 grunt 任务,没有输出:

我的grunt.initConfig 包括

newman: {
        default_options: {
            options: {
                iterationCount: 1,
                collection: "tests/collection.postman_collection.json",
                environment: "tests/env.postman_collection.json"
            }
        }

这是我从终端运行的。 newman grunt 任务无限期运行。

Running "newman:default_options" (newman) task
^C

Execution Time (2016-10-07 16:38:54 UTC-5)
loading tasks              1s  
newman:default_options  16.2s 

【问题讨论】:

    标签: node.js gruntjs postman


    【解决方案1】:

    Postman 集合可以导出为v1v2,Grunt 任务插件只适用于v1 类型的集合

    【讨论】: