Nose plugin for OpenStack style test output
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins d2a0ebf879 OpenDev Migration Patch 1 month ago
openstack Fixes unicode formatting bug 4 years ago
.gitreview OpenDev Migration Patch 1 month ago
MANIFEST.in Exclude .gitignore in source distributions 5 years ago
README.rst Fix misspellings in openstack-nose 5 years ago
setup.py Add trove classifiers 5 years ago

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 available:

--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]