aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-03-01 09:10:02 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-03-01 19:13:53 +0100
commit5a623d7d0c94456b133edb07b03f9a749d8efe88 (patch)
tree85079758bdb1531a39e6872c925574d0e72d1f81 /tox.ini
parent22b8299e29f87158c4675892b9c3189d9eb35ba7 (diff)
Switch from functest to Xtesting
It also fixes logging.ini and tox.ini. Change-Id: I3001dd847d0cd4bcffb7e466ba1cf5a71705f636 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 8 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index 6b90f068..cd2311a3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,14 +1,20 @@
[tox]
-envlist = pep8,pylint,yamllint,py27,py35,cover
+envlist = pep8,pylint,yamllint,py27,py35
[testenv]
usedevelop = True
deps =
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt
- -c{toxinidir}/upper-constraints.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}
+commands = nosetests --with-xunit \
+ --with-coverage \
+ --cover-tests \
+ --cover-package=functest_kubernetes \
+ --cover-xml \
+ --cover-html \
+ functest_kubernetes
[testenv:pep8]
basepython = python2.7
@@ -28,8 +34,3 @@ files =
docker
commands =
yamllint {[testenv:yamllint]files}
-
-[testenv:cover]
-basepython = python2.7
-commands = nosetests --with-coverage --cover-tests \
- --cover-package functest_kubernetes functest_kubernetes