An open-source Python code coverage tool integrating with pytest and nosetests to measure code coverage and quality
Blanket is an open source code coverage measurement tool for Python. It integrates seamlessly with testing frameworks such as pytest and nosetests to show code coverage when running test suites. Blanket analyzes which statements in the code have been executed during testing to determine a coverage percentage.
Key features of Blanket include:
By running Blanket when executing tests, developers can identify areas of a codebase that may need additional tests written. This helps improve test coverage over time and reduces the likelihood of bugs in production. The coverage reports can be used to enforce minimum quality gates before releasing new versions of software. Overall, Blanket makes measuring test coverage quick and convenient for Python developers.