karma-runner / karma-intellij

Reporter for IntelliJ / WebStorm.
Other
34 stars 10 forks source link

Coverage Summary: null when >1 browsers attached #22

Closed norrs closed 11 years ago

norrs commented 11 years ago

If karma.conf.js includes more then one browser, it seems to have issues reporting coverage back to PyCharm/IDE or something.

"Show code coverage data"-window at least says coverage summary: null if multiple browsers attached. Testing with only one browser seems to fix the issue.

Tested with latest pycharm eap, 130.1764

Expected results: to not bail on coverage results when multiple browsers is attached.

From the /tmp/karma-intellij-coverage-.tmp//lcov.info it looks like one of the files always get blank for some odd reason...

segrey commented 11 years ago

Reproduced. Thanks.

norrs commented 11 years ago

Q: Will you repack plugin and release an update with the included bugfix? :-)

segrey commented 11 years ago

Yep, tomorrow. I'll update the issue.

segrey commented 11 years ago

Fix is available in WebStorm 7 EAP 131.24: http://confluence.jetbrains.com/display/WI/WebStorm+7+EAP

You also need to update Karma plugin (Settings | Plugins). Fix Karma plugin version is 131.39.