Skip to content

3.0b2

Pre-release
Pre-release
Compare
Choose a tag to compare
@nedbat nedbat released this 13 Oct 23:30
· 6532 commits to master since this release

Version 3.0b2 — 2009-04-30

HTML reporting, and continued refactoring.

  • HTML reports and annotation of source files: use the new -b (browser) switch. Thanks to George Song for code, inspiration and guidance.
  • Code in the Python standard library is not measured by default. If you need to measure standard library code, use the -L command-line switch during execution, or the cover_pylib=True argument to the coverage() constructor.
  • Source annotation into a directory (-a -d) behaves differently. The annotated files are named with their hierarchy flattened so that same-named files from different directories no longer collide. Also, only files in the current tree are included.
  • coverage.annotate_file is no longer available.
  • Programs executed with -x now behave more as they should, for example, __file__ has the correct value.
  • .coverage data files have a new pickle-based format designed for better extensibility.
  • Removed the undocumented cache_file argument to coverage.usecache().

➡️  PyPI page: coverage 3.0b2.
➡️  To install: python3 -m pip install coverage==3.0b2