https://github.com/jbkahn/rednose
pretty output formatter for python-nosetests
https://github.com/jbkahn/rednose
Last synced: about 1 year ago
JSON representation
pretty output formatter for python-nosetests
- Host: GitHub
- URL: https://github.com/jbkahn/rednose
- Owner: JBKahn
- License: mit
- Created: 2016-04-08T14:09:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-14T20:53:43.000Z (over 3 years ago)
- Last Synced: 2025-04-02T07:09:31.733Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 128 KB
- Stars: 28
- Watchers: 0
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: readme.rst
- Changelog: CHANGES.md
Awesome Lists containing this project
README
=========
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/