Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple nose wrapper to easily test packages from within python.

Project description

Description

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...

Options

Alongside with the package name a serie of keyworded arguments can be passed, such as:

  1. cover=True in order to include cover coverage to the tests.
  2. html=True in order to include coverage and output it to html.
  3. xml=True in orer to include coverage and output it to a xml file.
  4. open_html=True in order to include html and open the index.html in the end.

How to install

As easy as pip install nostril

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nostril, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nostril-0.1.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page