Results 963 comments of Ned Batchelder

See also #717, which is similar.

One option while waiting for coverage.py to add this as a feature: implement it as a separate tool. You can get a JSON report from coverage.py, and then check the...

I've written a proof-of-concept using the JSON report: https://github.com/nedbat/coveragepy/blob/master/lab/goals.py Try it and let me know what you think.

... and a blog post about it: https://nedbatchelder.com/blog/202111/coverage_goals.html

@RodriguezLucha you can get it now: https://nedbatchelder.com/blog/202111/coverage_goals.html Or is there a reason that isn't sufficient?

Is it enough to use the relative file as stored?

Coverage.py doesn't measure complexity, so the XML file has no information about it.

Can you do an experiment for me? If you remove the complexity attributes from the XML file, what will your reporting tool do with it? I don't know if the...

Are you using a reporting tool that reads the XML file? What does it do with "N/A"?