Re: [Scikit-learn-general] Reporting coverage level of a test file against a feature file

2013-09-23 Thread Issam
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 >

Re: [Scikit-learn-general] Reporting coverage level of a test file against a feature file

2013-09-22 Thread Olivier Grisel
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

[Scikit-learn-general] Reporting coverage level of a test file against a feature file

2013-09-22 Thread Issam
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