Nose plugin for OpenStack style test output
Go to file
Monty Taylor 5ad14d60e1 Add two spaces of padding after OK.
The times column isn't justified properly. If we pad OK with two spaces,
then the left-most character in the time column will always be in line
because FAIL will always have 4 characters in it.

Change-Id: I9006fa70049c8010716e50ad6264ff0747151b65
2012-06-20 10:25:35 -07:00
openstack Add two spaces of padding after OK. 2012-06-20 10:25:35 -07:00
.gitreview Added .gitreview. 2012-01-07 14:41:08 -08:00
MANIFEST.in thow it in the openstack namespace 2011-11-04 20:26:04 -05:00
README.rst Make Release 0.6 2012-05-11 09:18:53 -05:00
setup.py version bump 2012-06-18 19:31:14 -05:00

README.rst

openstack.nose_plugin - Nose plugin for openstack style test output

openstack.nose_plugin provides a nose plugin that allow's nosetests output to mimic the output of openstack's run_tests.py.

Installation

pip install openstack.nose_plugin

Usage

The following options are availible:

--with-openstack Enable plugin Openstack: Nova style output

generator [NOSE_WITH_OPENSTACK]

--openstack-red=OPENSTACK_RED

Colorize run times greater than value red. [NOSE_OPENSTACK_RED] or 1.0

--openstack-yellow=OPENSTACK_YELLOW

Colorize run times greater than value yellow. [NOSE_OPENSTACK_RED] or 0.25

--openstack-show-elapsed

Show the elaped runtime of tests. [NOSE_OPENSTACK_SHOW_ELAPSED]

--openstack-color Colorize output. [NOSE_OPENSTACK_COLOR] --openstack-nocolor Disable colorize output. [NOSE_OPENSTACK_COLOR] --openstack-num-slow=OPENSTACK_NUM_SLOW Number top slowest tests to report. [NOSE_OPENSTACK_NUM_SLOW]