Skip to content

4.0a3

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

Version 4.0a3 — 2015-01-20

  • Reports now use file names with extensions. Previously, a report would describe a/b/c.py as “a/b/c”. Now it is shown as “a/b/c.py”. This allows for better support of non-Python files, and also fixed issue 69.
  • The XML report now reports each directory as a package again. This was a bad regression, I apologize. This was reported in issue 235, which is now fixed.
  • A new configuration option for the XML report: [xml] package_depth controls which directories are identified as packages in the report. Directories deeper than this depth are not reported as packages. The default is that all directories are reported as packages. Thanks, Lex Berezhny.
  • When looking for the source for a frame, check if the file exists. On Windows, .pyw files are no longer recorded as .py files. Along the way, this fixed issue 290.
  • Empty files are now reported as 100% covered in the XML report, not 0% covered (issue 345).
  • Regexes in the configuration file are now compiled as soon as they are read, to provide error messages earlier (issue 349).

➡️  PyPI page: coverage 4.0a3.
➡️  To install: python3 -m pip install coverage==4.0a3