From a4fb90f3e343c36cc8b3e60a5a3580ee273eae62 Mon Sep 17 00:00:00 2001 From: Jason Kölker Date: Wed, 30 Nov 2011 19:38:42 -0600 Subject: Add default nosetests config Default to using coverage with html output reporting, tissue for pep8 checking, and openstack-nose for output formating when running tests directly under nose. --- setup.cfg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index e69de29..4e3327c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -0,0 +1,22 @@ +[nosetests] +# NOTE(jkoelker) To run the test suite under nose install the following +# coverage http://pypi.python.org/pypi/coverage +# tissue http://pypi.python.org/pypi/tissue (pep8 checker) +# openstack-nose https://github.com/jkoelker/openstack-nose +verbosity=2 +detailed-errors=1 +with-coverage=1 +cover-package=openstack.common +cover-html=1 +cover-inclusive=1 +with-tissue=1 +tissue-repeat=1 +tissue-show-pep8=1 +tissue-show-source=1 +tissue-inclusive=1 +tissue-color=1 +with-openstack=1 +openstack-red=0.05 +openstack-yellow=0.025 +openstack-show-elapsed=1 +openstack-color=1 -- cgit