Skip to content

Releases: nedbat/coveragepy

coverage-3.3.1

18 May 13:15
Compare
Choose a tag to compare
  • Using parallel=True in .coveragerc file prevented reporting, but now does not, fixing issue 49.
  • When running your code with “coverage run”, if you call sys.exit(), coverage.py will exit with that status code, fixing issue 50.

coverage-3.3

18 May 13:15
Compare
Choose a tag to compare
  • Settings are now read from a .coveragerc file. A specific file can be specified on the command line with –rcfile=FILE. The name of the file can be programmatically set with the config_file argument to the coverage() constructor, or reading a config file can be disabled with config_file=False.
  • Fixed a problem with nested loops having their branch possibilities mischaracterized: issue 39.
  • Added coverage.process_start to enable coverage measurement when Python starts.
  • Parallel data file names now have a random number appended to them in addition to the machine name and process id.
  • Parallel data files combined with “coverage combine” are deleted after they’re combined, to clean up unneeded files. Fixes issue 40.
  • Exceptions thrown from product code run with “coverage run” are now displayed without internal coverage.py frames, so the output is the same as when the code is run without coverage.py.
  • The data_suffix argument to the coverage constructor is now appended with an added dot rather than simply appended, so that .coveragerc files will not be confused for data files.
  • Python source files that don’t end with a newline can now be executed, fixing issue 47.
  • Added an AUTHORS.txt file.

coverage-3.2

18 May 13:15
Compare
Choose a tag to compare
  • Added a --version option on the command line.

coverage-3.2b4

18 May 13:15
Compare
Choose a tag to compare
coverage-3.2b4 Pre-release
Pre-release
  • Branch coverage improvements:
    • The XML report now includes branch information.
  • Click-to-sort HTML report columns are now persisted in a cookie. Viewing a report will sort it first the way you last had a coverage report sorted. Thanks, Chris Adams.
  • On Python 3.x, setuptools has been replaced by Distribute.

coverage-3.2b3

18 May 13:15
Compare
Choose a tag to compare
coverage-3.2b3 Pre-release
Pre-release
  • Fixed a memory leak in the C tracer that was introduced in 3.2b1.
  • Branch coverage improvements:
    • Branches to excluded code are ignored.
  • The table of contents in the HTML report is now sortable: click the headers on any column. Thanks, Chris Adams.

coverage-3.2b2

18 May 13:15
Compare
Choose a tag to compare
coverage-3.2b2 Pre-release
Pre-release
  • Branch coverage improvements:
    • Classes are no longer incorrectly marked as branches: issue 32.
    • “except” clauses with types are no longer incorrectly marked as branches: issue 35.
  • Fixed some problems syntax coloring sources with line continuations and source with tabs: issue 30 and issue 31.
  • The –omit option now works much better than before, fixing issue 14 and issue 33. Thanks, Danek Duvall.

coverage-3.2b1

18 May 13:15
Compare
Choose a tag to compare
coverage-3.2b1 Pre-release
Pre-release
  • Branch coverage!
  • XML reporting has file paths that let Cobertura find the source code.
  • The tracer code has changed, it’s a few percent faster.
  • Some exceptions reported by the command line interface have been cleaned up so that tracebacks inside coverage.py aren’t shown. Fixes issue 23.

coverage-3.1

18 May 13:15
Compare
Choose a tag to compare
  • Source code can now be read from eggs. Thanks, Ross Lawley. Fixes issue 25.

coverage-3.1b1

18 May 13:15
Compare
Choose a tag to compare
coverage-3.1b1 Pre-release
Pre-release
  • Python 3.1 is now supported.
  • Coverage.py has a new command line syntax with sub-commands. This expands the possibilities for adding features and options in the future. The old syntax is still supported. Try “coverage help” to see the new commands. Thanks to Ben Finney for early help.
  • Added an experimental “coverage xml” command for producing coverage reports in a Cobertura-compatible XML format. Thanks, Bill Hart.
  • Added the –timid option to enable a simpler slower trace function that works for DecoratorTools projects, including TurboGears. Fixed issue 12 and issue 13.
  • HTML reports show modules from other directories. Fixed issue 11.
  • HTML reports now display syntax-colored Python source.
  • Programs that change directory will still write .coverage files in the directory where execution started. Fixed issue 24.
  • Added a “coverage debug” command for getting diagnostic information about the coverage.py installation.

coverage-3.0.1

18 May 13:15
Compare
Choose a tag to compare
  • Removed the recursion limit in the tracer function. Previously, code that ran more than 500 frames deep would crash. Fixed issue 9.
  • Fixed a bizarre problem involving pyexpat, whereby lines following XML parser invocations could be overlooked. Fixed issue 10.
  • On Python 2.3, coverage.py could mis-measure code with exceptions being raised. This is now fixed.
  • The coverage.py code itself will now not be measured by coverage.py, and no coverage.py modules will be mentioned in the nose –with-cover plug-in. Fixed issue 8.
  • When running source files, coverage.py now opens them in universal newline mode just like Python does. This lets it run Windows files on Mac, for example.