Merge "Dial in docker and ssh environment"
[releng.git] / tox.ini
1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
5
6 [tox]
7 envlist = py27
8 skipsdist = True
9
10 [testenv]
11 usedevelop = True
12 setenv=
13   HOME = {envtmpdir}
14   PYTHONPATH = {toxinidir}
15
16 [testenv:jjb]
17 deps =
18         -rjjb/test-requirements.txt
19 commands=
20         jenkins-jobs test -o job_output -r jjb/
21
22 [testenv:modules]
23 deps=
24         -rmodules/requirements.txt
25         -rmodules/test-requirements.txt
26 commands =
27         nosetests -w modules \
28         --with-xunit \
29         --xunit-file=modules/nosetests.xml \
30         --cover-package=opnfv \
31         --with-coverage \
32         --cover-xml \
33         --cover-html \
34         tests/unit