blob: 9bace46aa19259e21d4bc8a705f57a64994a17b5 [file] [log] [blame]
Lusheng Ji88648fc2017-09-20 02:18:20 +00001# content of: tox.ini , put in same dir as setup.py
2[tox]
Alex Shatov8cdeeeb2017-09-26 17:03:11 -04003envlist = py27
Lusheng Ji88648fc2017-09-20 02:18:20 +00004
5[testenv]
6deps=
7 -rrequirements.txt
Alex Shatov8cdeeeb2017-09-26 17:03:11 -04008 cloudify-plugins-common==3.4
Lusheng Ji88648fc2017-09-20 02:18:20 +00009 pytest
10 coverage
11 pytest-cov
Alex Shatov8cdeeeb2017-09-26 17:03:11 -040012setenv =
13 PYTHONPATH={toxinidir}
Andrew Gauldf00bb6e2018-07-10 11:22:04 -040014whitelist_externals=
15 rm
16 mkdir
Andrew Gauld373f0f32018-02-21 11:14:46 -050017commands=
Andrew Gauldf00bb6e2018-07-10 11:22:04 -040018 rm -rf {toxinidir}/logs
19 mkdir {toxinidir}/logs
Andrew Gauld44f0f8f2018-02-21 12:43:06 -050020 pytest --junitxml xunit-results.xml --cov onap_dcae_dcaepolicy_lib --cov-report xml
Andrew Gauld373f0f32018-02-21 11:14:46 -050021 coverage xml