4.2b1
Pre-release
Pre-release
·
4173 commits
to master
since this release
Version 4.2b1 — 2016-07-04
Work from the PyCon 2016 Sprints!
- BACKWARD INCOMPATIBILITY: the
coverage combinecommand now ignores an existing.coveragedata file. It used to include that file in its combining. This caused confusing results, and extra tox “clean” steps. If you want the old behavior, use the newcoverage combine --appendoption. - The
concurrencyoption can now take multiple values, to support programs using multiprocessing and another library such as eventlet. This is only possible in the configuration file, not from the command line. The configuration file is the only way for subprocesses to all run with the same options. Fixes issue 484. Thanks to Josh Williams for prototyping. - Using a
concurrencysetting ofmultiprocessingnow implies--parallelso that the main program is measured similarly to the subprocesses. - When using automatic subprocess measurement, running coverage commands would create spurious data files. This is now fixed, thanks to diagnosis and testing by Dan Riti. Closes issue 492.
- A new configuration option,
report:sort, controls what column of the text report is used to sort the rows. Thanks to Dan Wandschneider, this closes issue 199. - The HTML report has a more-visible indicator for which column is being sorted. Closes issue 298, thanks to Josh Williams.
- If the HTML report cannot find the source for a file, the message now suggests using the
-iflag to allow the report to continue. Closes issue 231, thanks, Nathan Land. - When reports are ignoring errors, there’s now a warning if a file cannot be parsed, rather than being silently ignored. Closes issue 396. Thanks, Matthew Boehm.
- A new option for
coverage debugis available:coverage debug configshows the current configuration. Closes issue 454, thanks to Matthew Boehm. - Running coverage as a module (
python -m coverage) no longer shows the program name as__main__.py. Fixes issue 478. Thanks, Scott Belden. - The test_helpers module has been moved into a separate pip-installable package: unittest-mixins.
➡️ PyPI page: coverage 4.2b1.
➡️ To install: python3 -m pip install coverage==4.2b1