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: I7dd587134d0047f8e18f1218d162dd5301fc732b
changes/49/581549/2
Vu Cong Tuan 4 years ago
parent 0cd9928970
commit abe1509c6f
  1. 2
      .gitignore
  2. 4
      .stestr.conf
  3. 4
      .testr.conf
  4. 2
      requirements.txt
  5. 2
      tox.ini

2
.gitignore vendored

@ -7,5 +7,5 @@ build
*.swp
*.swo
*.pyc
.testrepository
.stestr/
.DS_Store

@ -0,0 +1,4 @@
[DEFAULT]
test_path=./tests
top_dir=./

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

@ -9,7 +9,7 @@ sphinxcontrib-actdiag
sphinxcontrib-blockdiag
sphinxcontrib-nwdiag
sphinxcontrib-seqdiag
testrepository>=0.0.18
stestr>=2.0.0
testtools>=0.9.34
yasfb>=0.5.1
whereto>=0.3.0 # Apache-2.0

@ -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…
Cancel
Save