@nedbatNed Batchelder Just this week, including tests in coverage helped find a common mistake:

copy/pasting a test function, changing the body, but forgetting to rename it, so the first one isn't run.

app.codecov.io/gh/hugovk/pyman

github.com/python/pymanager/pu

Two functions called test_get_install_to_run_with_platform. Same names, the second tests the case where windowed=True.

The first one is marked in red to indicate it wasn't run.

The second is green to indicate it was run.
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/hugovk/statuses/114437288728540206 on your instance and quote it. (Note that quoting is not supported in Mastodon.)