Skip to content

Commit ae29f7f

Browse files
committed
Use ostestr for test runs
This commit switches to use ostestr for running tests. ostestr integrates the subunit-trace output that other projects use for test output. (in addition to some other ui niceties) Change-Id: Ib5b5225b2a7bfb7897e1efe55181389d1ae095cb
1 parent 211c14c commit ae29f7f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ oslosphinx>=2.5.0 # Apache-2.0
1111
oslotest>=1.5.1 # Apache-2.0
1212
requests-mock>=0.6.0 # Apache-2.0
1313
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
14+
os-testr>=0.1.0
1415
testrepository>=0.0.18
1516
testtools>=0.9.36,!=1.2.0
1617
WebOb>=1.2.3

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ install_command = pip install -U {opts} {packages}
99
setenv = VIRTUAL_ENV={envdir}
1010
deps = -r{toxinidir}/requirements.txt
1111
-r{toxinidir}/test-requirements.txt
12-
commands = python setup.py testr --testr-args='{posargs}'
13-
whitelist_externals = bash
12+
commands = ostestr {posargs}
13+
whitelist_externals = ostestr
1414

1515
[testenv:pep8]
1616
commands = flake8

0 commit comments

Comments
 (0)