Generate HTML code coverage reports with intern

一个人想着一个人 提交于 2019-12-25 02:43:31

问题


The intern testing framework (http://theintern.io) comes with built in istanbul support.

Adding lcov to the reports array generates only a lcov.info file which might be converted with genhtml:

define({
  // ..
  reporters: [
    'lcov'
  ],
  //..
});

Is it possible to generate a full html report?


回答1:


You can use the 'lcovhtml' (Intern 1.4–2.2) or 'LcovHtml' (Intern 3+) reporter to generate a full HTML coverage report.



来源:https://stackoverflow.com/questions/20090890/generate-html-code-coverage-reports-with-intern

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!