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?
You can achieve that using --source. For example: coverage run --source=tests/ <run_tests>
How to run coverage.py on a directory?