
Coverage.py
@coveragepy
The coverage measurement tool for Python. Maintained by @nedbat. No longer here, moved to Mastodon: https://hachyderm.io/@coveragepy
你可能會喜歡
(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…
github.com
`--omit` command line flag and config values are not merged · Issue #1486 · nedbat/coveragepy
Describe the bug I hope this is not a duplicate, I've looked for a while I am in a situation where I do not have control over the --omit flag under which the coverage process is ran (pycharm do...
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. Carson Beck 5,680 posts
- 2. #SmackDown 43.3K posts
- 3. Ohtani 45.1K posts
- 4. Miami 81.6K posts
- 5. Louisville 14K posts
- 6. Malachi Toney 2,132 posts
- 7. George Santos 58.4K posts
- 8. #BostonBlue 3,361 posts
- 9. Geno 8,687 posts
- 10. Chris Bell 1,598 posts
- 11. Ilja 17.6K posts
- 12. #SeizeTheMoment 8,667 posts
- 13. #OPLive 1,710 posts
- 14. Cal Raleigh 5,305 posts
- 15. Springer 9,215 posts
- 16. Grand Slam 8,284 posts
- 17. Raiola 1,814 posts
- 18. Sami 24.4K posts
- 19. #LGRW 2,230 posts
- 20. Jeff Brohm N/A
你可能會喜歡
-
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.