Which tools are readily available or that I can develop upon for Python, that will tell me what percentage of code is actually covered by unit tests?
Previously I've developed a code coverage tool called Haystack. Haystack works by running the test when it last passed. After that, it runs the test when it required investigation. Compares the results. It runs the tests with code coverage, which determines the lines of code the test executed.
I have used coverage.py but it only gives a report based on code in repository vs. code that can actually run, and not what percentage is covered by my unit tests. Anyone can suggest a library or tool? I am using Python on Ubuntu with PyCharm (community).
Aucun commentaire:
Enregistrer un commentaire