cmheisel / nose-xcover

Fork of nose.plugins.cover that enables XML output (for use with Hudson, e.g.)
MIT License
52 stars 17 forks source link

calling only --with-xcover still breaks at can't use both flags #28

Closed p00j4 closed 8 years ago

p00j4 commented 8 years ago

Actual: Tried using only "--with-xcover" or "--with-xcoverage" but it keeps stopping at error

screen shot 2016-09-06 at 6 01 26 pm

its weird, because as per lines 44-46 this shouldn't have been a problem. Is there any possibility of "options.enable_plugin_coverage" returning true by default? image

p00j4 commented 8 years ago

Noticed a pattern it happens when I try to run nosetets on complete directory like nosetests ./tests/ --with-xcoverage

but when I run on particular file nosetests ./tests/common/apis/test_homepage.py --with-xcoverage it works without complain But I need to run on the whole directory instead of single file, any suggestions?

p00j4 commented 8 years ago

not an issue so closing https://github.com/cmheisel/nose-xcover/issues/11#issuecomment-244949227 @cmheisel : i'm thinking to raise PR with change of error message & log little more convenient & self understood, is it useful to do?

cmheisel commented 8 years ago

@p00j4 -- Sure thing, I'd gladly welcome a PR like that!

p00j4 commented 8 years ago

@cmheisel : could you please review & take in: https://github.com/cmheisel/nose-xcover/pull/29