Noam
Noam

Reputation: 1804

Where is Python Coverage .coveragerc file?

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.

Upvotes: 4

Views: 23221

Answers (1)

dsm
dsm

Reputation: 2253

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".

Upvotes: 4

Related Questions