rednose is a nosetests plugin for adding colour (and readability) to nosetest console results.
65 |
67 | easy_install rednose
68 |
69 |
70 | or from the source:
71 |
72 | ./setup.py develop
73 |
74 |
75 |
77 | nosetests --rednose
78 |
79 |
80 | or:
81 |
82 | export NOSE_REDNOSE=1
83 | nosetests
84 |
85 |
86 | 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:
87 |
88 | nosetests --rednose --force-color
89 | nosetests --no-color
90 |
91 |
92 | (you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')
93 |