Pinned Tweet
Coverage․py will be posting on Mastodon now: hachyderm.io/@coveragepy See you there!
0
0
1
265
(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…
1
0
0
191
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…)
1
3
10
3,658
Coverage.py retweeted
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!
1
6
21
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?
0
5
13
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...)
1
0
0
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…
0
2
1
Should coverage․py report on excluded lines that were actually executed? How would you want that to work?
github.com/nedbat/coverag…
0
4
10
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…
1
3
6
Coverage.py retweeted
“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…
2
8
28
Coverage.py retweeted
I don't use pytest-cov -- here's what I do instead -- youtu.be/sPgvHGkmd0U
2
3
19
Coverage.py retweeted
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
0
3
15
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…
0
6
1
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…
0
5
15
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:
0
1
6
Anyone want to help with coverage․py on Pyodide?
github.com/nedbat/coverag…
2
4
8
Coverage.py retweeted
Using GitHub actions to create a badge with your coverage total: nedbatchelder.com/blog/202209/ma…
0
6
40
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!
0
3
5
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…
0
1
17
Coverage.py retweeted
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;
0
3
4