Thank you @Olivier, your explanation is elaborate and complete. :)
On 9/22/2013 9:20 PM, Olivier Grisel wrote:
> Just run:
>
> $ nosetests --with-coverage
>
> And consider only the lines related to your module in the report.
>
> Offcourse you can always run a specific test and see how it covers
>
Just run:
$ nosetests --with-coverage
And consider only the lines related to your module in the report.
Offcourse you can always run a specific test and see how it covers
your module as well:
$ nosetests --with-coverage sklearn/ensemble/tests/test_gradient_boosting.py
Under unix systems (like
Hi scikit community,
I'm writing a feature for scikit and I'm looking to find my test suite
coverage. In short, I would like to know how I can use the 'coverage'
library to see how much a test file, say test_feature.py, is covering
the feature file, say feature.py.
test_feature.py has metho