Code coverage: AM i doing it wrong.

15 views
Skip to first unread message

Bharath M R

unread,
Jul 28, 2012, 9:20:26 AM7/28/12
to sy...@googlegroups.com
I tried running the code coverage tool for SymPy and shows that all
code coverage is less than 10%.

I thought that the coverage tool is not working because of the test
errors, but it shows the same coverage information, even if I run
./coverage_report.py plotting/ .

Is there a particular way to do it?

Thanks,
Bharath M R

Ronan Lamy

unread,
Jul 28, 2012, 12:46:24 PM7/28/12
to sy...@googlegroups.com
Are you on master? Hash randomisation testing broke coverage_report.py,
and it's only been fixed 2 weeks ago:
https://github.com/sympy/sympy/pull/1404
If your branch doesn't have the fix, it would explain what you see.


Bharath M R

unread,
Jul 28, 2012, 2:12:22 PM7/28/12
to sy...@googlegroups.com

Are you on master? Hash randomisation testing broke coverage_report.py,
and it's only been fixed 2 weeks ago:
https://github.com/sympy/sympy/pull/1404
If your branch doesn't have the fix, it would explain what you see.

Thank you. That was the problem. I hadn't rebased my branch on master lately. 
 
Reply all
Reply to author
Forward
0 new messages