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!

tagged: , » react

Comments

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.