Skip to main content

A discovery plugin for Nose which relies on sane structure.

Project description

Given standard test setup, will determine which tests need to run against a given diff.

For example, say you’re working in your branch called my-new-sexy-feature, which modifies the following files:


Now if we run with the default options, nosetests --with-quickunit, it will look for tests (by default) in the following base directories:


(It does this by analyzing the diff against git merge-base HEAD master, and determining which files you’ve changed are tests, including them, and which files containing test coverage in a parallel directory.)


As of 0.5.0 nose-quickunit no longer reports test coverage


If you want to support multiple directories for searching (let’s say you break up unittests from integration tests) you can do that as well:

--quickunit-prefix=tests/unit/ --quickunit-prefix=tests/integration/

Or, if you’d prefer, via setup.cfg:

quickunit-prefix = tests/unit

Or, via setup.cfg:

quickunit-json = -

Project details

Download files

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

Files for nose-quickunit, version 0.5.4
Filename, size File type Python version Upload date Hashes
Filename, size nose-quickunit-0.5.4.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page