blob: 7feb471003bc565034031d7f90b4c7759c3c9ced [file] [log] [blame]
Alex Shatov9144f042017-09-22 17:34:48 -04001# content of: tox.ini , put in same dir as setup.py
2[tox]
Alex Shatovc9ec2312018-06-14 12:06:42 -04003envlist = py36
Alex Shatov9144f042017-09-22 17:34:48 -04004
5[testenv]
6deps=
7 -rrequirements.txt
8 pytest
9 coverage
10 pytest-cov
11setenv =
12 PYTHONPATH={toxinidir}
13recreate = True
Lusheng Ji7e99e112018-02-19 23:57:20 -050014commands=
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