Generate HTML code coverage reports with intern

2019-08-28 04:22发布

The testing framework (http://theintern.io) comes with built in 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条回答
神经病院院长
2楼-- · 2019-08-28 04:26

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

查看更多
登录 后发表回答