Releases: nedbat/coveragepy
Releases · nedbat/coveragepy
3.0
Version 3.0 — 2009-06-13
- Fixed the way the Python library was ignored. Too much code was being excluded the old way.
- Tabs are now properly converted in HTML reports. Previously indentation was lost. Fixed issue 6.
- Nested modules now get a proper flat_rootname. Thanks, Christian Heimes.
➡️ PyPI page: coverage 3.0.
➡️ To install: python3 -m pip install coverage==3.0
3.0b3
Version 3.0b3 — 2009-05-16
- Added parameters to coverage.__init__ for options that had been set on the coverage object itself.
- Added clear_exclude() and get_exclude_list() methods for programmatic manipulation of the exclude regexes.
- Added coverage.load() to read previously-saved data from the data file.
- Improved the finding of code files. For example, .pyc files that have been installed after compiling are now located correctly. Thanks, Detlev Offenbach.
- When using the object API (that is, constructing a coverage() object), data is no longer saved automatically on process exit. You can re-enable it with the auto_data=True parameter on the coverage() constructor. The module-level interface still uses automatic saving.
➡️ PyPI page: coverage 3.0b3.
➡️ To install: python3 -m pip install coverage==3.0b3
3.0b2
Version 3.0b2 — 2009-04-30
HTML reporting, and continued refactoring.
- HTML reports and annotation of source files: use the new -b (browser) switch. Thanks to George Song for code, inspiration and guidance.
- Code in the Python standard library is not measured by default. If you need to measure standard library code, use the -L command-line switch during execution, or the cover_pylib=True argument to the coverage() constructor.
- Source annotation into a directory (-a -d) behaves differently. The annotated files are named with their hierarchy flattened so that same-named files from different directories no longer collide. Also, only files in the current tree are included.
- coverage.annotate_file is no longer available.
- Programs executed with -x now behave more as they should, for example, __file__ has the correct value.
- .coverage data files have a new pickle-based format designed for better extensibility.
- Removed the undocumented cache_file argument to coverage.usecache().
➡️ PyPI page: coverage 3.0b2.
➡️ To install: python3 -m pip install coverage==3.0b2
3.0b1
Version 3.0b1 — 2009-03-07
Major overhaul.
- Coverage.py is now a package rather than a module. Functionality has been split into classes.
- The trace function is implemented in C for speed. Coverage.py runs are now much faster. Thanks to David Christian for productive micro-sprints and other encouragement.
- Executable lines are identified by reading the line number tables in the compiled code, removing a great deal of complicated analysis code.
- Precisely which lines are considered executable has changed in some cases. Therefore, your coverage stats may also change slightly.
- The singleton coverage object is only created if the module-level functions are used. This maintains the old interface while allowing better programmatic use of coverage.py.
- The minimum supported Python version is 2.3.
➡️ PyPI page: coverage 3.0b1.
➡️ To install: python3 -m pip install coverage==3.0b1