Gruntjs 如何运行大量结冰的nodeunit测试
当我运行冰封nodeunit测试时Gruntjs 如何运行大量结冰的nodeunit测试,gruntjs,nodeunit,iced-coffeescript,Gruntjs,Nodeunit,Iced Coffeescript,当我运行冰封nodeunit测试时 $ nodeunit path/to/file/file_name.iced 。。。没关系 当我运行很多咖啡脚本测试时 grunt.initConfig({ nodeunit: { coffee: ['path/to/coffee/nodeunit/tests/**/*_test.coffee'] } }); $ grunt nodeunit:coffee 。。。没关系。 但是当我试图用grunt nodeunit运行一组冰冻
$ nodeunit path/to/file/file_name.iced
。。。没关系
当我运行很多咖啡脚本测试时
grunt.initConfig({
nodeunit: {
coffee: ['path/to/coffee/nodeunit/tests/**/*_test.coffee']
}
});
$ grunt nodeunit:coffee
。。。没关系。
但是当我试图用grunt nodeunit
运行一组冰冻的nodeunit测试时
grunt.initConfig({
nodeunit: {
iced: ['path/to/iced/nodeunit/tests/**/*_test.iced']
}
});
。。。出现错误:致命错误:意外字符串
。似乎gruntjs
不明白冰咖啡脚本
那么,如何运行大量的冰冻nodeunit测试呢?
可能没有grunt contrib nodeunit,但如何使用?grunt contrib nodeunit支持冰咖啡(参见此)
您的测试代码似乎无效 grunt contrib nodeunit确实支持冰咖啡(参见此) 您的测试代码似乎无效