Coverage.py version 3.6 is ready. It has a few new features since 3.5.3:
- A new --fail-under switch on the reporting commands makes the command exit with a failure status code if the total coverage is below a given threshhold. This is great for build servers to raise an alarm if coverage falls too low.
- The reporting functions now return a float indicating the total coverage.
- The title of the HTML report can be set with a switch or a configuration option.
- Configuration files now expand environment variables for more power and flexibility when configuring coverage.py
There have also been more than 20 bugs fixed, take a look at the change history for details.
I heartily recommend that everyone upgrade to coverage.py 3.6 right away. Happy New Year!