
Coverage.py
@coveragepy
The coverage measurement tool for Python. Maintained by @nedbat. No longer here, moved to Mastodon: https://hachyderm.io/@coveragepy
おすすめツイート
Coverage․py will be posting on Mastodon now: hachyderm.io/@coveragepy See you there!
(From hachyderm.io/@nedbat/109761…) Have you wanted to measure coverage, but exclude certain data points because the lines ran "when it didn't count"? Help me figure out how to make that possible: github.com/nedbat/coverag…
Coverage․py 7.0 is out, but you might need to update your settings! Let me know how it goes… (Also at hachyderm.io/@nedbat/109539…)
I’m posting on Mastodon these days, including this announcement of a beta of coverage․py 7.0.0: hachyderm.io/@nedbat/109451… Please try it and let me know if it works or if it doesn’t!
New beta! Coverage․py 7.0.0b1 is out: pypi.org/project/covera… Many small improvements to path handling and combining data, plus markdown tables. Things might be broken! Let me know, please?
When running coverage, lines that should have run but didn't are called "unexecuted." What's a word for the opposite? Lines we said wouldn't run, but did: Sneaks? Surprises? Gremlins? Escapees? We need ideas! github.com/nedbat/coverag… (also need opinions about how to report...)
Does PyCharm really use its own --omit switch on the command line? Should coverage․py combine the command line and the config? Or should the command line win like it does now? github.com/nedbat/coverag…
Should coverage․py report on excluded lines that were actually executed? How would you want that to work? github.com/nedbat/coverag…
Coverage․py 6.6.0 beta 1: improvements to file patterns and relative_files that mean you MIGHT have to tweak your settings. Please test this pre-release version and let us know if something isn’t working! Install: pypi.org/project/covera… Changes: coverage.readthedocs.io/en/6.6.0b1/cha…

“The idea that I can decide my open-source purpose feels a bit like a genie granting me a wish, and then I have to deal with the unanticipated plot twists that result.” nedbatchelder.com/blog/202210/id…
I don't use pytest-cov -- here's what I do instead -- youtu.be/sPgvHGkmd0U
youtube.com
YouTube
I don't use pytest-cov (intermediate) anthony explains #489
today's video is about "code coverage" (and uses @coveragepy as an example and shows how to get started with it) -- check it out! youtu.be/eQM3TOjsM_Q
youtube.com
YouTube
what is coverage? (intermediate) anthony explains #480
Looking for opinions: when combining data files, should “*/foo” match “foo/bar”? Should relative_files=True mean that we always match file paths by prefixes? github.com/nedbat/coverag…
Coverage․py 6.5.0: small changes, but packaging is slightly different. JSON report now has branch details. Let me know how it goes! coverage.readthedocs.io/en/6.5.0/chang… pypi.org/project/covera…
This is the lowest-tech version of coverage measurement ever! 😅
Need a quick tracer bullet through confusing #Python code? Put "1/0" into the code. Easy to drop in, and it will raise an unlikely and easily identified ZeroDivisionError exception:

Using GitHub actions to create a badge with your coverage total: nedbatchelder.com/blog/202209/ma…

Coverage․py 6.4.4, with 3.11 wheels! pypi.org/project/covera… Now is the time to run your test suites on 3.11.0rc1. Python 3.11 is shipping in October, so make sure your code is ready for it!
Coverage․py 6.4.3: a half-dozen small contributed fixes. Thanks everyone! pypi.org/project/covera… coverage.readthedocs.io/en/6.4.3/chang…
We're releasing Slipcover v0.1.8, with: - CPython 3.11 support; - tentative PyPy support, contributed by Carl Friedrich Bolz-Tereick; - a tweak in the missing lines output;
United States トレンド
- 1. No Kings 918K posts
- 2. Carnell Tate 5,185 posts
- 3. Vandy 12.3K posts
- 4. Brian Kelly 6,944 posts
- 5. Vanderbilt 9,982 posts
- 6. #UFCVancouver 7,102 posts
- 7. Diego Pavia 4,052 posts
- 8. Ole Miss 8,790 posts
- 9. Beamer 3,362 posts
- 10. Tony Vitello 3,365 posts
- 11. Dork Cult Protest Day 47K posts
- 12. Clark Lea 1,185 posts
- 13. Hammond 2,182 posts
- 14. Sorokin N/A
- 15. South Carolina 11.2K posts
- 16. Gunner 4,795 posts
- 17. Shula 2,826 posts
- 18. Constitutional Republic 19.3K posts
- 19. Cash Jones N/A
- 20. Julian Sayin 1,359 posts
おすすめツイート
-
Raymond Hettinger
@raymondh -
Mouse Vs Python
@mousevspython -
Miguel Grinberg
@miguelgrinberg -
Pablo Galindo Salgado
@pyblogsal -
The PyPy Project
@pypyproject -
Ben Moseley
@benm_oseley -
Victor Stinner 🐍
@VictorStinner -
Ned Batchelder
@nedbat -
Pyodide
@pyodide -
Hynek Schlawack
@hynek -
Yury Selivanov - e/python
@1st1 -
Bernát Gábor
@gjbernat -
Eric Snow
@ericsnowcrntly
Something went wrong.
Something went wrong.