问题
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