redirect to JBKahn's repo
This commit is contained in:
parent
9c636cf56a
commit
24b55438f7
48
readme.rst
48
readme.rst
|
@ -1,49 +1,5 @@
|
||||||
=========
|
=========
|
||||||
rednose
|
Unmaintained repository
|
||||||
=========
|
=========
|
||||||
|
|
||||||
rednose is a `nosetests`_
|
The official repo for rednose is now https://github.com/JBKahn/rednose, please go there for the latest code!
|
||||||
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 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/
|
|
||||||
|
|
Loading…
Reference in New Issue