Nose plugin that allows you automatically skip tests that are too slow.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
.gitignore
LICENSE
MANIFEST.in
README.rst
nosetimelimit.py
setup.py

README.rst

nose-timelimit

PYPI Package

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 Bitdeli badge