dimanche 23 avril 2017

How to ignore / omit / exclude files during test coverage?

In order to get 100% test coverage, I need to ignore some file(s) in python.

I searched the web and I found nosetests which I don't want to use.

I also found that I can edit my .coveragerc file and omit files and functions, when running my tests using intellij (with unittest framework), it didn't manage to use .coveragerc file.

Any idea how to ignore / omit / exclude files during test coverage ?

Aucun commentaire:

Enregistrer un commentaire