Skip to content

Possible to activate code coverage? #58

Answered by lucono
Tom4U asked this question in Q&A
Discussion options

You must be logged in to vote

Karma test explorer primarily integrates with Karma as a reporter, while disabling the reporters that are setup in the project's karma.conf file. The rationale is that Karma Test Explorer's visual reporting of the tests is the only reporting that's relevant in the VS Code context, and disabling the other reporters in the project's karma config avoids the performance cost of running them, especially given that they are usually redundant in the VS Code context. The code coverage case here is perhaps one example where the other reporter is not redundant.

But basically, that behavior means that any code coverage tool that functions as a Karma reporter will not currently work with Karma Test E…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Tom4U
Comment options

@lucono
Comment options

Answer selected by Tom4U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants