Skip to main content

coloured output for nosetests

Project description

rednose is a nosetests plugin for adding colour (and readability) to nosetest console results.

Installation:

easy_install rednose

or from the source:

./setup.py develop

Usage:

nosetests --rednose

or:

export NOSE_REDNOSE=1
nosetests

Rednose by default uses auto-colouring, which will only use colour if you’re running it on a terminal (i.e not piping it to a file). To control colouring, use one of:

nosetests --rednose --force-color
nosetests --no-color

(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to ‘force’ or ‘no’)

Rednose by default prints file paths relative to the working directory. If you want the full path in the traceback then use:

nosetests --rednose --full-file-path

Rednose by default prints error style formating for skipped tests, to supress this use:

nosetests --rednose --hide-skips

Rednose supports printing the test results mid run as well as at the end, to enable it use:

nosetests --rednose --immediate

Project details


Download files

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

Source Distribution

rednose-1.2.1.tar.gz (9.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page