This is a Nose Wrapper to make it easy to test Python Packages from within Python.
This is done using the module instance or the module name with the following command:
import nostril nostril.run('mypackage') # Package name, you must be able to import mypackage nostril.run(mypackage) # Or, if mypackage is already imported...
Alongside with the package name a serie of keyworded arguments can be passed, such as:
cover=Truein order to include cover coverage to the tests.
html=Truein order to include coverage and output it to html.
xml=Truein orer to include coverage and output it to a xml file.
open_html=Truein order to include html and open the index.html in the end.
How to install
As easy as
pip install nostril