summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2011-11-30 19:38:42 -0600
committerJason Kölker <jason@koelker.net>2011-11-30 19:41:35 -0600
commita4fb90f3e343c36cc8b3e60a5a3580ee273eae62 (patch)
tree4e00c2d9a49127376b4f8196878e34f319e53e55 /setup.cfg
parent46f05ddb01122c7ce347da94f3419a4c96766a49 (diff)
downloadoslo-a4fb90f3e343c36cc8b3e60a5a3580ee273eae62.tar.gz
oslo-a4fb90f3e343c36cc8b3e60a5a3580ee273eae62.tar.xz
oslo-a4fb90f3e343c36cc8b3e60a5a3580ee273eae62.zip
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.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg22
1 files changed, 22 insertions, 0 deletions
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