Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug -- --debug" to debug test cases when tox is running. Change-Id: I3b7a090042e95ac89d6829495bf42f84e11bbd21
This commit is contained in:
11
tox.ini
11
tox.ini
@@ -18,6 +18,17 @@ deps = setuptools<3.2
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:debug-py27]
|
||||
basepython = python2.7
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:debug-py34]
|
||||
basepython = python3.4
|
||||
commands = oslo_debug_helper -t heatclient/tests {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8
|
||||
|
Reference in New Issue
Block a user