Alex Shatov | 9144f04 | 2017-09-22 17:34:48 -0400 | [diff] [blame] | 1 | # content of: tox.ini , put in same dir as setup.py |
| 2 | [tox] |
Alex Shatov | c9ec231 | 2018-06-14 12:06:42 -0400 | [diff] [blame] | 3 | envlist = py36 |
Alex Shatov | 9144f04 | 2017-09-22 17:34:48 -0400 | [diff] [blame] | 4 | |
| 5 | [testenv] |
| 6 | deps= |
| 7 | -rrequirements.txt |
| 8 | pytest |
| 9 | coverage |
| 10 | pytest-cov |
| 11 | setenv = |
| 12 | PYTHONPATH={toxinidir} |
| 13 | recreate = True |
Lusheng Ji | 7e99e11 | 2018-02-19 23:57:20 -0500 | [diff] [blame] | 14 | commands= |
| 15 | #pytest --junitxml xunit-reports/xunit-result-policyhandler.xml --cov policyhandler --cov-report=xml |
| 16 | pytest --cov policyhandler --cov-report=xml --cov-report=term tests --verbose |