Coverage.py 3.6

Saturday 5 January 2013This is 12 years old. Be careful.

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 threshold. 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!

Comments

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.