Add initial testr support.

This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.

Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa
This commit is contained in:
Monty Taylor 2013-02-19 14:09:37 -08:00
parent c334c3dd5a
commit 646c918732
3 changed files with 10 additions and 1 deletions

2
.gitignore vendored
View File

@ -13,6 +13,8 @@ quantum/versioninfo
run_tests.err.log
run_tests.log
setuptools*.egg/
subunit.log
.testrepository
.tox/
.venv/
*.mo

4
.testr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover -t ./ quantum/tests/unit $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -1,6 +1,7 @@
Babel>=0.9.6
cliff
coverage
coverage>=3.6
discover
distribute>=0.6.24
fixtures>=0.3.12
mock>=1.0b1
@ -10,7 +11,9 @@ nosehtmloutput
nosexcover
openstack.nose_plugin
pep8
python-subunit
sphinx>=1.1.2
testrepository>=0.0.13
testtools>=0.9.27
webtest==1.3.3
# Packages for the Cisco Plugin