importing coverage data

 Is it possible to import coverage data so that it can be displayed in webstorm?

When i create data in istanbul.jśon or cobertura.xml format and try to import it via CTRL-ALT-6 nothing is displayed.

background:

angular-cli comes with build in karma coverage support. This support relies on karma-remap-istanbul and so the Webstorm-karma can not launch the ng test karma config file

 

0
1 comment

No, it's not possible to import coverage data directly; if you miss this feature, please vote for https://youtrack.jetbrains.com/issue/WEB-10303.

To be able to run Angular2 tests with coverage from Webstorm, I'd suggest installing karma-coverage package and set up the karma configuration accordingly 

0

Please sign in to leave a comment.