Switch to stestr
According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I081601490f339a5dc37a6a5bc597cfc3836bd873
This commit is contained in:
parent
0998bfb071
commit
3c5045218b
4
.gitignore
vendored
4
.gitignore
vendored
@ -8,6 +8,6 @@ build
|
||||
*.swp
|
||||
*.swo
|
||||
*.pyc
|
||||
.testrepository
|
||||
.stestr/
|
||||
#IntelJ Idea
|
||||
.idea/
|
||||
.idea/
|
||||
|
4
.stestr.conf
Normal file
4
.stestr.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_path=${TEST_PATH:-./vitrage_specs/tests}
|
||||
top_dir=./
|
||||
|
@ -1,7 +0,0 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
||||
${PYTHON:-python} -m subunit.run discover tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
@ -5,7 +5,7 @@
|
||||
pbr<2.0,>=0.11
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
graphviz>=0.4,!=0.5.0 # MIT License
|
||||
testrepository>=0.0.18
|
||||
stestr>=2.0.0
|
||||
testtools>=0.9.34
|
||||
yasfb
|
||||
sphinx-autobuild
|
||||
|
2
tox.ini
2
tox.ini
@ -8,7 +8,7 @@ usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user