Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Nose module that reorders tests so the quickest are run first.

Project description

nose-timelimit is a nose plugin that allows you automatically skip tests that are too slow.

It requires at least one run with the whole suite to register the timings. If a test fails timings are not registered for it (thus it will never get skipped).

Installation

Just run pip install nose-timelimit or easy_install nose-timelimit.

Options

  • --with-timelimit - Just activates the plugin (will only register timing data).
  • --timelimit=X - Runs only the tests that had previously ran under X seconds. Implies --with-timelimit.
  • --timelimit-silent - Don’t print the duration for each test.

Requirements

Known to work with nose 1.3, it may work with nose as old as 0.10 - try it.

Example

On first run:

Sample error page

And on second run:

Sample error page

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-timelimit, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size nose-timelimit-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate 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