]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add initial testr support.
authorMonty Taylor <mordred@inaugust.com>
Tue, 19 Feb 2013 22:09:37 +0000 (14:09 -0800)
committerMonty Taylor <mordred@inaugust.com>
Thu, 28 Feb 2013 22:21:05 +0000 (17:21 -0500)
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

.gitignore
.testr.conf [new file with mode: 0644]
tools/test-requires

index e8c4c0c0ec780c759892c371a73a5b8f217315d2..9d37835267bed0532cee91fb8b09e1f4abf87707 100644 (file)
@@ -13,6 +13,8 @@ quantum/versioninfo
 run_tests.err.log
 run_tests.log
 setuptools*.egg/
+subunit.log
+.testrepository
 .tox/
 .venv/
 *.mo
diff --git a/.testr.conf b/.testr.conf
new file mode 100644 (file)
index 0000000..9339183
--- /dev/null
@@ -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
index d86688ea4a334d299bfaae93393246c9489d08fa..aa85c1bf8bea6ec6a07669c31b0d83fa519f4456 100644 (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