【发布时间】:2018-05-17 15:24:15
【问题描述】:
使用
mochaTest: {
test: {
options: {
reporter: 'html-cov',
captureFile: 'coverage.html'
},
src: ['tests/*.js']
}
}
在我的 gruntfile 中是给了我
“html-cov”记者未找到
警告。 如何在 html 文件中获取我的测试结果并查看它?
谢谢..
我也在使用grunt.loadNpmTasks('grunt-selenium-standalone') 任务。
【问题讨论】:
-
你试过
npm install html-cov吗?
标签: javascript testing gruntjs mocha.js gruntfile