Add separate env for functional tests
This is a first step. New functional tests and configuration for executing them in CI will follow. Change-Id: Ia78582bcd1be3b05c26be6223b9ee3c79c1aec0a
This commit is contained in:
parent
01be20f981
commit
dd2a2c528a
|
@ -1,3 +1,3 @@
|
|||
[DEFAULT]
|
||||
test_path=${OS_TEST_PATH:-./novajoin/tests}
|
||||
test_path=${OS_TEST_PATH:-./novajoin/tests/unit}
|
||||
top_dir=./
|
||||
|
|
9
tox.ini
9
tox.ini
|
@ -67,3 +67,12 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
|||
sitepackages = False
|
||||
envdir = {toxworkdir}/pep8
|
||||
commands = oslo-config-generator --config-file=files/novajoin-config-generator.conf
|
||||
|
||||
[testenv:functional]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
setenv =
|
||||
OS_TEST_PATH={toxinidir}/novajoin/tests/functional
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
||||
stestr run --slowest {posargs}
|
||||
|
|
Loading…
Reference in New Issue