howto get Sage doctest coverage statistics
How can a user get/see recent Sage doctest coverage statistics?
Thanks,
Jack
For a particular file:
sage --coverage <filename>
For all Sage library:
sage --coverageall
For Sage 6.2, the overall weighted coverage score is 93.7%.
The doc is available here.
What do you think, is the number misleading? Sage uses external libraries, but their test code coverage is not recognized, if available at all.
Good point, but we don't have the ability to really change that issue, nor do I think it would be at all easy to actually test for it. So this is purely about non-underscore functions in the core Sage library, you are right.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 10 years ago
Seen: 841 times
Last updated: May 13 '14