I have a directory tests
that includes a lot of different tests named test_*
.
I tried to run coverage run tests
but it doesn't work.
How can I run a single command to coverage multiple files in the directory?
Use --include
to only include files in particular directories. It matches file paths, so it can match a subdirectory.