Wed Oct 10 19:54:19 2007

Ticket #121

can't specify multiple cover-package values in setup.cfg


Priority: normal Reporter: Matt Good
Severity: normal Assigned to: jpellerin
Component: nose Status: new
Version:   Resolution:  
Milestone:   Keywords:  

Description by Matt Good:

In setup.cfg there's no way to define multiple packages to produce coverage output for since repeating options overrides the previous values:

[nosetests]
cover-package=foo
cover-package=bar

The second value of "bar" will override the first.

Since the option parsing for "--cover-package" uses action="append" the value is already a list, so when it's passed to tolist() it's not split, so using comma separated values like "cover-package=foo,bar" also does not work.