Code Coverage: how to show it?

Answered

Hello,

I have collected (python, coverage 4.3.4) code coverage data and converted it to the XML format, as described in the documentation. I get a valid XML file, containing code coverage data (greater than 0%) for the files in my project.

Then I have tried to show it in PyCharm 2017.1 EAP. But, I get 0% coverage, everywhere.

How can I understand what's going wrong, and get a consistent code coverage colouring/display ?

0
2 comments

Hello, thanks for the report.

Looks like a known issue: https://youtrack.jetbrains.com/issue/PY-21903. Do you have the similar steps to reproduce?

1
Avatar
Permanently deleted user

I can reproduce the bug. The described workaround works fine also in my case.

Thanks, I'll follow the issue.

0

Please sign in to leave a comment.