I'm using Python Coverage to see how much code my unit tests are covering. I want to use a config file in order to configure some coverage settings but I can't find where it is. It isn't in the same folder where .coverage
is.
Also, Windows won't let me create it, as there is nothing before the extension.
I googled for a workaround, finding a solution here. Create the file naming it as .coveragerc
. Apparently it should accept the name. Try it out!
You should put the file "in the same directory coverage.py is being run in".