.coveragerc doesn't support configuration of modules to be executed (like behave) · Issue #695 · nedbat/coveragepy (original) (raw)

@crd

Instead of specifying it all on the command line like this:

$ coverage run --omit "config/*,features/steps/*" -m behave features/local/

I would love to have something like this in my .coveragerc file:

[run]
omit = config/*,features/steps/*
module_commandline = behave features/local

Omit works, but there's no way (as far as I can tell) to specify I want to execute behave against the features/local directory in my example.