coloured output for nosetests
Project description
=========
rednose
=========
rednose is a `nosetests`_
plugin for adding colour (and readability) to nosetest console results.
.. image:: rednose_example.png
:scale: 50 %
:align: center
Installation:
-------------
::
pip install rednose
or from the source::
python setup.py install
Rednose officially supports Python 2.7, 3.4, and 3.5.
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
.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/
rednose
=========
rednose is a `nosetests`_
plugin for adding colour (and readability) to nosetest console results.
.. image:: rednose_example.png
:scale: 50 %
:align: center
Installation:
-------------
::
pip install rednose
or from the source::
python setup.py install
Rednose officially supports Python 2.7, 3.4, and 3.5.
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
.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/
Project details
Release history Release notifications | RSS feed
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.3.0.tar.gz
(10.3 kB
view details)
File details
Details for the file rednose-1.3.0.tar.gz
.
File metadata
- Download URL: rednose-1.3.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da77917788be277b70259edc0bb92fc6f28fe268b765b4ea88206cc3543a3e1 |
|
MD5 | 11f9d74f6a7241093afa6529f2c2f282 |
|
BLAKE2b-256 | 3aa84b73ae7466c2e9b63b3c4d66040d1c0eda1f764812353753702546d8c87f |