Skip to main content

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

Release files for nostril 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nostril 0.1.1
File Size Uploaded
nostril-0.1.1.tar.gz 1.6 kB Details

Release files / nostril-0.1.1.tar.gz

Download URL nostril-0.1.1.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5bb6445e8e5eebf2d27651d4cbf0b12034d90623aa303a8901c9caa3632a3100
BLAKE2b-256 checksum
How to use checksums
9817370b641b7aa6c7beb439484c30d87d89f0ec9961798ad3291fcd95f0a695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page