This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - 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:

And on second run:

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-timelimit-0.1.2.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Aug 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting