Skip to main content

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


Download files

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

Source Distribution

nostril-0.1.1.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file nostril-0.1.1.tar.gz.

File metadata

  • Download URL: nostril-0.1.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nostril-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5bb6445e8e5eebf2d27651d4cbf0b12034d90623aa303a8901c9caa3632a3100
MD5 bac8252b37bf0b5014e150ba0f575a6d
BLAKE2b-256 9817370b641b7aa6c7beb439484c30d87d89f0ec9961798ad3291fcd95f0a695

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page