diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changes.rst | 52 | ||||
-rw-r--r-- | doc/conf.py | 4 | ||||
-rw-r--r-- | doc/index.rst | 7 | ||||
-rw-r--r-- | doc/python-coverage.1.txt | 5 |
4 files changed, 62 insertions, 6 deletions
diff --git a/doc/changes.rst b/doc/changes.rst index 45f8627c..8f5b9c41 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -40,6 +40,7 @@ Major change history for coverage.py .. :history: 20160110T125800, updated for 4.1b1 .. :history: 20160510T125200, updated for 4.1b3 .. :history: 20160521T074300, updated for 4.1 +.. :history: 20161226T153200, updated for 4.3 These are the major changes for coverage.py. For a more complete change @@ -49,6 +50,57 @@ history, see the `CHANGES.rst`_ file in the source tree. .. module:: coverage +.. _changes_43: + +Version 4.3 --- 2016-12-27 +-------------------------- + +Special thanks to **Loïc Dachary**, who took an extraordinary interest in +coverage.py and contributed a number of improvements in this release. + +- The HTML report now supports a ``--skip-covered`` option like the other + reporting commands. Thanks, Loïc Dachary for the implementation, closing + `issue 433`_. + +- Subprocesses that are measured with `automatic subprocess measurement`_ used + to read in any pre-existing data file. This meant data would be incorrectly + carried forward from run to run. Now those files are not read, so each + subprocess only writes its own data. Fixes `issue 510`_. + +- Coverage.py wouldn't execute `sys.excepthook`_ when an exception happened in + your program. Now it does, thanks to Andrew Hoos. Closes `issue 535`_. + +.. _sys.excepthook: https://docs.python.org/3/library/sys.html#sys.excepthook + +- The ``coverage combine`` command will now fail if there are no data files to + combine. The combine changes in 4.2 meant that multiple combines could lose + data, leaving you with an empty .coverage data file. Fixes issues + `issue 525`_, `issue 412`_, `issue 516`_, and probably `issue 511`_. + +- The branch coverage issues described in `issue 493`_, `issue 496`_, and + `issue 502`_ are now fixed, thanks to Loïc Dachary. + +- Options can now be read from a tox.ini file, if any. Like setup.cfg, sections + are prefixed with "coverage:", so ``[run]`` options will be read from the + ``[coverage:run]`` section of tox.ini. Implements part of `issue 519`_. + Thanks, Stephen Finucane. + +- Coverage.py can now search .pex files for source, just as it can .zip and + .egg. Thanks, Peter Ebden. + +.. _issue 412: https://bitbucket.org/ned/coveragepy/issues/412/coverage-combine-should-error-if-no +.. _issue 433: https://bitbucket.org/ned/coveragepy/issues/433/coverage-html-does-not-suport-skip-covered +.. _issue 493: https://bitbucket.org/ned/coveragepy/issues/493/confusing-branching-failure +.. _issue 496: https://bitbucket.org/ned/coveragepy/issues/496/incorrect-coverage-with-branching-and +.. _issue 502: https://bitbucket.org/ned/coveragepy/issues/502/incorrect-coverage-report-with-cover +.. _issue 510: https://bitbucket.org/ned/coveragepy/issues/510/erase-still-needed-in-42 +.. _issue 511: https://bitbucket.org/ned/coveragepy/issues/511/version-42-coverage-combine-empties +.. _issue 516: https://bitbucket.org/ned/coveragepy/issues/516/running-coverage-combine-twice-deletes-all +.. _issue 519: https://bitbucket.org/ned/coveragepy/issues/519/coverage-run-sections-in-toxini-or-as +.. _issue 525: https://bitbucket.org/ned/coveragepy/issues/525/coverage-combine-when-not-in-parallel-mode +.. _issue 535: https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called + + .. _changes_42: Version 4.2 --- 2016-07-26 diff --git a/doc/conf.py b/doc/conf.py index 684628d9..7b6cc5c8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -56,9 +56,9 @@ copyright = u'2009\N{EN DASH}2016, Ned Batchelder' # built documents. # # The short X.Y version. -version = '4.2' +version = '4.3' # The full version, including alpha/beta/rc tags. -release = '4.2' +release = '4.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/index.rst b/doc/index.rst index 07e940f7..047dd70e 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -48,6 +48,7 @@ Coverage.py .. :history: 20160510T125300, updated for 4.1b3 .. :history: 20160521T074500, updated for 4.1 .. :history: 20160726T161300, updated for 4.2 +.. :history: 20161226T160400, updated for 4.3 Coverage.py is a tool for measuring code coverage of Python programs. It @@ -60,14 +61,14 @@ not. .. ifconfig:: not prerelease - The latest version is coverage.py 4.2, released July 26th 2016. It + The latest version is coverage.py 4.3, released December 27th 2016. It is supported on: * Python versions 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6. - * PyPy 4.0 and 5.1. + * PyPy 5.6. - * PyPy3 2.4 and 5.2 + * PyPy3 5.5 .. ifconfig:: prerelease diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt index 177fca23..94402b84 100644 --- a/doc/python-coverage.1.txt +++ b/doc/python-coverage.1.txt @@ -137,6 +137,9 @@ COMMAND REFERENCE \-i, --ignore-errors Ignore errors while reading source files. + \--skip-covered + Skip files with 100% coverage. + \--title `TITLE` Use the text string `TITLE` as the title on the HTML. @@ -223,7 +226,7 @@ The |command| command is a Python program which calls the ``coverage`` Python library to do all the work. The library was originally developed by Gareth Rees, and is now developed -by Ned Batchelder. +by Ned Batchelder and many others. This manual page was written by |author|. |