OLD | NEW |
1 ------------------------------ | 1 ------------------------------ |
2 Change history for Coverage.py | 2 Change history for Coverage.py |
3 ------------------------------ | 3 ------------------------------ |
4 | 4 |
| 5 3.7.1 -- 13 December 2013 |
| 6 ------------------------- |
| 7 |
| 8 - Improved the speed of HTML report generation by about 20%. |
| 9 |
| 10 - Fixed the mechanism for finding OS-installed static files for the HTML report |
| 11 so that it will actually find OS-installed static files. |
| 12 |
| 13 |
| 14 3.7 --- 6 October 2013 |
| 15 ---------------------- |
| 16 |
| 17 - Added the ``--debug`` switch to ``coverage run``. It accepts a list of |
| 18 options indicating the type of internal activity to log to stderr. |
| 19 |
| 20 - Improved the branch coverage facility, fixing `issue 92`_ and `issue 175`_. |
| 21 |
| 22 - Running code with ``coverage run -m`` now behaves more like Python does, |
| 23 setting sys.path properly, which fixes `issue 207`_ and `issue 242`_. |
| 24 |
| 25 - Coverage can now run .pyc files directly, closing `issue 264`_. |
| 26 |
| 27 - Coverage properly supports .pyw files, fixing `issue 261`_. |
| 28 |
| 29 - Omitting files within a tree specified with the ``source`` option would |
| 30 cause them to be incorrectly marked as unexecuted, as described in |
| 31 `issue 218`_. This is now fixed. |
| 32 |
| 33 - When specifying paths to alias together during data combining, you can now |
| 34 specify relative paths, fixing `issue 267`_. |
| 35 |
| 36 - Most file paths can now be specified with username expansion (``~/src``, or |
| 37 ``~build/src``, for example), and with environment variable expansion |
| 38 (``build/$BUILDNUM/src``). |
| 39 |
| 40 - Trying to create an XML report with no files to report on, would cause a |
| 41 ZeroDivideError, but no longer does, fixing `issue 250`_. |
| 42 |
| 43 - When running a threaded program under the Python tracer, coverage no longer |
| 44 issues a spurious warning about the trace function changing: "Trace function |
| 45 changed, measurement is likely wrong: None." This fixes `issue 164`_. |
| 46 |
| 47 - Static files necessary for HTML reports are found in system-installed places, |
| 48 to ease OS-level packaging of coverage.py. Closes `issue 259`_. |
| 49 |
| 50 - Source files with encoding declarations, but a blank first line, were not |
| 51 decoded properly. Now they are. Thanks, Roger Hu. |
| 52 |
| 53 - The source kit now includes the ``__main__.py`` file in the root coverage |
| 54 directory, fixing `issue 255`_. |
| 55 |
| 56 .. _issue 92: https://bitbucket.org/ned/coveragepy/issue/92/finally-clauses-aren
t-treated-properly-in |
| 57 .. _issue 164: https://bitbucket.org/ned/coveragepy/issue/164/trace-function-cha
nged-warning-when-using |
| 58 .. _issue 175: https://bitbucket.org/ned/coveragepy/issue/175/branch-coverage-ge
ts-confused-in-certain |
| 59 .. _issue 207: https://bitbucket.org/ned/coveragepy/issue/207/run-m-cannot-find-
module-or-package-in |
| 60 .. _issue 242: https://bitbucket.org/ned/coveragepy/issue/242/running-a-two-leve
l-package-doesnt-work |
| 61 .. _issue 218: https://bitbucket.org/ned/coveragepy/issue/218/run-command-does-n
ot-respect-the-omit-flag |
| 62 .. _issue 250: https://bitbucket.org/ned/coveragepy/issue/250/uncaught-zerodivis
ionerror-when-generating |
| 63 .. _issue 255: https://bitbucket.org/ned/coveragepy/issue/255/directory-level-__
main__py-not-included-in |
| 64 .. _issue 259: https://bitbucket.org/ned/coveragepy/issue/259/allow-use-of-syste
m-installed-third-party |
| 65 .. _issue 261: https://bitbucket.org/ned/coveragepy/issue/261/pyw-files-arent-re
ported-properly |
| 66 .. _issue 264: https://bitbucket.org/ned/coveragepy/issue/264/coverage-wont-run-
pyc-files |
| 67 .. _issue 267: https://bitbucket.org/ned/coveragepy/issue/267/relative-path-alia
ses-dont-work |
| 68 |
| 69 |
5 Version 3.6 --- 5 January 2013 | 70 Version 3.6 --- 5 January 2013 |
6 ------------------------------ | 71 ------------------------------ |
7 | 72 |
8 - Added a page to the docs about troublesome situations, closing `issue 226`_, | 73 - Added a page to the docs about troublesome situations, closing `issue 226`_, |
9 and added some info to the TODO file, closing `issue 227`_. | 74 and added some info to the TODO file, closing `issue 227`_. |
10 | 75 |
11 .. _issue 226: https://bitbucket.org/ned/coveragepy/issue/226/make-readme-sectio
n-to-describe-when | 76 .. _issue 226: https://bitbucket.org/ned/coveragepy/issue/226/make-readme-sectio
n-to-describe-when |
12 .. _issue 227: https://bitbucket.org/ned/coveragepy/issue/227/update-todo | 77 .. _issue 227: https://bitbucket.org/ned/coveragepy/issue/227/update-todo |
13 | 78 |
14 | 79 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 pragmatic fix for `issue 82`_. | 288 pragmatic fix for `issue 82`_. |
224 | 289 |
225 - The ``-m`` switch on ``coverage report``, which includes missing line numbers | 290 - The ``-m`` switch on ``coverage report``, which includes missing line numbers |
226 in the summary report, can now be specifed as ``show_missing`` in the | 291 in the summary report, can now be specifed as ``show_missing`` in the |
227 config file. Closes `issue 173`_. | 292 config file. Closes `issue 173`_. |
228 | 293 |
229 - When running a module with ``coverage run -m <modulename>``, certain details | 294 - When running a module with ``coverage run -m <modulename>``, certain details |
230 of the execution environment weren't the same as for | 295 of the execution environment weren't the same as for |
231 ``python -m <modulename>``. This had the unfortunate side-effect of making | 296 ``python -m <modulename>``. This had the unfortunate side-effect of making |
232 ``coverage run -m unittest discover`` not work if you had tests in a | 297 ``coverage run -m unittest discover`` not work if you had tests in a |
233 directory named "test". This fixes `issue 155`_. | 298 directory named "test". This fixes `issue 155`_ and `issue 142`_. |
234 | 299 |
235 - Now the exit status of your product code is properly used as the process | 300 - Now the exit status of your product code is properly used as the process |
236 status when running ``python -m coverage run ...``. Thanks, JT Olds. | 301 status when running ``python -m coverage run ...``. Thanks, JT Olds. |
237 | 302 |
238 - When installing into pypy, we no longer attempt (and fail) to compile | 303 - When installing into pypy, we no longer attempt (and fail) to compile |
239 the C tracer function, closing `issue 166`_. | 304 the C tracer function, closing `issue 166`_. |
240 | 305 |
241 .. _issue 82: https://bitbucket.org/ned/coveragepy/issue/82/tokenerror-when-gene
rating-html-report | 306 .. _issue 82: https://bitbucket.org/ned/coveragepy/issue/82/tokenerror-when-gene
rating-html-report |
| 307 .. _issue 142: https://bitbucket.org/ned/coveragepy/issue/142/executing-python-f
ile-syspath-is-replaced |
242 .. _issue 155: https://bitbucket.org/ned/coveragepy/issue/155/cant-use-coverage-
run-m-unittest-discover | 308 .. _issue 155: https://bitbucket.org/ned/coveragepy/issue/155/cant-use-coverage-
run-m-unittest-discover |
243 .. _issue 157: https://bitbucket.org/ned/coveragepy/issue/157/chokes-on-source-f
iles-with-non-utf-8 | 309 .. _issue 157: https://bitbucket.org/ned/coveragepy/issue/157/chokes-on-source-f
iles-with-non-utf-8 |
244 .. _issue 166: https://bitbucket.org/ned/coveragepy/issue/166/dont-try-to-compil
e-c-extension-on-pypy | 310 .. _issue 166: https://bitbucket.org/ned/coveragepy/issue/166/dont-try-to-compil
e-c-extension-on-pypy |
245 .. _issue 168: https://bitbucket.org/ned/coveragepy/issue/168/dont-be-alarmed-by
-emacs-droppings | 311 .. _issue 168: https://bitbucket.org/ned/coveragepy/issue/168/dont-be-alarmed-by
-emacs-droppings |
246 .. _issue 173: https://bitbucket.org/ned/coveragepy/issue/173/theres-no-way-to-s
pecify-show-missing-in | 312 .. _issue 173: https://bitbucket.org/ned/coveragepy/issue/173/theres-no-way-to-s
pecify-show-missing-in |
247 | 313 |
248 | 314 |
249 Version 3.5.1 --- 23 September 2011 | 315 Version 3.5.1 --- 23 September 2011 |
250 ----------------------------------- | 316 ----------------------------------- |
251 | 317 |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 2001-12-12 GDR Added command-line help. Cache analysis so that it only needs to | 1000 2001-12-12 GDR Added command-line help. Cache analysis so that it only needs to |
935 be done once when you specify -a and -r. | 1001 be done once when you specify -a and -r. |
936 | 1002 |
937 2001-12-13 GDR Improved speed while recording. Portable between Python 1.5.2 | 1003 2001-12-13 GDR Improved speed while recording. Portable between Python 1.5.2 |
938 and 2.1.1. | 1004 and 2.1.1. |
939 | 1005 |
940 2002-01-03 GDR Module-level functions work correctly. | 1006 2002-01-03 GDR Module-level functions work correctly. |
941 | 1007 |
942 2002-01-07 GDR Update sys.path when running a file with the -x option, so that | 1008 2002-01-07 GDR Update sys.path when running a file with the -x option, so that |
943 it matches the value the program would get if it were run on its own. | 1009 it matches the value the program would get if it were run on its own. |
OLD | NEW |