Commits

Ned Batchelder  committed 2753008

Doc tweaks for 3.4b2

  • Participants
  • Parent commits e49842d

Comments (0)

Files changed (6)

 ------------------------------
 
 
-Version 3.4b2
--------------
+Version 3.4b2 --- 6 September 2010
+----------------------------------
 
 - Completely unexecuted files can now be included in coverage results, reported
   as 0% covered.  This only happens if the --source option is specified, since
   are rounded otherwise.  Fixes `issue 41`_ and `issue 70`_.
 
 - The precision of reported coverage percentages can be set with the
-  ``[report] precision`` config file setting.  Default is still 0.  Completes
-  `issue 16`_.
+  ``[report] precision`` config file setting.  Completes `issue 16`_.
 
 - Threads derived from ``threading.Thread`` with an overridden `run` method
   would report no coverage for the `run` method.  This is now fixed, closing

File doc/changes.rst

 :history: 20100221T151900, changes for 3.3
 :history: 20100306T181400, changes for 3.3.1
 :history: 20100725T211700, updated for 3.4.
-:history: 20100820T151500, updated for 3.4beta1.
-
+:history: 20100820T151500, updated for 3.4b1
+:history: 20100906T133800, updated for 3.4b2
 
 These are the major changes for coverage.py.  For a more complete change
 history, see the `CHANGES.txt`_ file in the source tree.
 .. _CHANGES.txt: http://bitbucket.org/ned/coveragepy/src/tip/CHANGES.txt
 
 
-Version 3.4 beta --- 21 August 2010
------------------------------------
+Version 3.4 beta --- 6 September 2010
+-------------------------------------
 
 - BACKWARD INCOMPATIBILITY: the ``--omit`` and ``--include`` switches now take
   file patterns rather than file prefixes, closing `issue 34`_ and `issue 36`_.
   to control what modules it measures.  This can speed execution and reduce the
   amount of data during reporting. Thanks Zooko.
 
+- Completely unexecuted files can now be included in coverage results, reported
+  as 0% covered.  This only happens if the --source option is specified, since
+  coverage.py needs guidance about where to look for source files.
+ 
 - Various warnings are printed to stderr for problems encountered during data
   measurement: if a ``--source`` module has no Python source to measure, or is
   never encountered at all, or if no data is collected.
   rather than increasing the executed lines to varying targets.  Once
   suggested, this seemed blindingly obvious.
 
+- Coverage percentages are now displayed uniformly across reporting methods.
+  Previously, different reports could round percentages differently.  Also,
+  percentages are only reported as 0% or 100% if they are truly 0 or 100, and
+  are rounded otherwise.  Fixes `issue 41`_ and `issue 70`_.
+
+- The XML report output now properly includes a percentage for branch coverage,
+  fixing `issue 65`_ and `issue 81`_.
+
+- The precision of reported coverage percentages can be set with the
+  ``[report] precision`` config file setting.  Completes `issue 16`_.
+
+- Threads derived from ``threading.Thread`` with an overridden `run` method
+  would report no coverage for the `run` method.  This is now fixed, closing
+  `issue 85`_.
+
 - Line numbers in HTML source pages are clickable, linking directly to that
   line, which is highlighted on arrival.  Added a link back to the index page
   at the bottom of each HTML page.
   can't be reported anyway.  Fixes `issue 52`_ and `issue 61`_.
 
 .. _issue 1:  http://bitbucket.org/ned/coveragepy/issue/1/empty-__init__py-files-are-reported-as-1-executable
+.. _issue 16: http://bitbucket.org/ned/coveragepy/issue/16/allow-configuration-of-accuracy-of-percentage-totals
 .. _issue 34: http://bitbucket.org/ned/coveragepy/issue/34/enhanced-omit-globbing-handling
 .. _issue 36: http://bitbucket.org/ned/coveragepy/issue/36/provide-regex-style-omit
+.. _issue 41: http://bitbucket.org/ned/coveragepy/issue/41/report-says-100-when-it-isnt-quite-there
 .. _issue 52: http://bitbucket.org/ned/coveragepy/issue/52/doctesttestfile-confuses-source-detection
-.. _issue 56: http://bitbucket.org/ned/coveragepy/issue/56
+.. _issue 56: http://bitbucket.org/ned/coveragepy/issue/56/coveragepy-cant-trace-child-processes-of-a
 .. _issue 61: http://bitbucket.org/ned/coveragepy/issue/61/annotate-i-doesnt-work
-
+.. _issue 65: http://bitbucket.org/ned/coveragepy/issue/65/branch-option-not-reported-in-cobertura
+.. _issue 70: http://bitbucket.org/ned/coveragepy/issue/70/text-report-and-html-report-disagree-on-coverage
+.. _issue 81: http://bitbucket.org/ned/coveragepy/issue/81/xml-report-does-not-have-condition-coverage-attribute-for-lines-with-a
+.. _issue 85: http://bitbucket.org/ned/coveragepy/issue/85/threadrun-isnt-measured
 
 Version 3.3.1 --- 6 March 2010
 ------------------------------
 # The short X.Y version.
 version = '3.4'
 # The full version, including alpha/beta/rc tags.
-release = '3.4 beta 1'
+release = '3.4 beta 2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

File doc/index.rst

 :history: 20100224T204700, version 3.3
 :history: 20100306T181500, version 3.3.1
 :history: 20100725T211700, updated for 3.4.
-:history: 20100820T151500, updated for 3.4beta1.
-
+:history: 20100820T151500, updated for 3.4b1.
+:history: 20100906T134700, updated for 3.4b2.
 
 Coverage.py is a tool for measuring code coverage of Python programs. It
 monitors your program, noting which parts of the code have been executed, then
 can show which parts of your code are being exercised by tests, and which are
 not.
 
-The latest version is 3.4, in beta.
-It is supported on Python 2.3 through 3.2 alpha.
+The latest version is 3.4 beta 2, release 6 September 2010.
+It is supported on Python 2.3 through 3.2 alpha 2.
 
 
 Quick start

File doc/install.rst

 ============
 
 :history: 20100725T225600, new for 3.4.
-:history: 20100820T151500, updated for 3.4beta1.
+:history: 20100820T151500, updated for 3.4b1.
+:history: 20100906T134800, updated for 3.4b2.
 
 .. highlight:: console
 .. _coverage_pypi: http://pypi.python.org/pypi/coverage
 coverage installed properly::
 
     $ coverage --version
-    Coverage.py, version 3.4b1.  http://nedbatchelder.com/code/coverage/3.4b1
+    Coverage.py, version 3.4b2.  http://nedbatchelder.com/code/coverage/3.4b2
 
 New in 3.3: .coveragerc files.
 
-New in 3.4: Better control over source to measure.
+New in 3.4: Better control over source to measure, and unexecuted files
+can be reported.
 """
 
 # This file is used unchanged under all versions of Python, 2.x and 3.x.