|
|
|
@ -9,13 +9,13 @@ whitelist_externals = mkdir |
|
|
|
|
commands = |
|
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
|
py.test -v \ |
|
|
|
|
--junitxml={toxworkdir}/output/junit-{envname}.xml \ |
|
|
|
|
--junitprefix={envname} \ |
|
|
|
|
--junitxml={toxworkdir}/output/{envname}/junit.xml \ |
|
|
|
|
{posargs} |
|
|
|
|
|
|
|
|
|
[testenv:coverage] |
|
|
|
|
[testenv:py36] |
|
|
|
|
basepython = python3.6 |
|
|
|
|
setenv = |
|
|
|
|
COVERAGE_FILE = .coveragerc |
|
|
|
|
COVERAGE_FILE = .coverage.{envname} |
|
|
|
|
deps = |
|
|
|
|
pytest |
|
|
|
|
pytest-mock |
|
|
|
@ -25,8 +25,7 @@ commands = |
|
|
|
|
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
|
|
|
|
py.test -v \ |
|
|
|
|
--cov=mythril \ |
|
|
|
|
--cov-report=xml:{toxworkdir}/output/cov-{envname}.xml \ |
|
|
|
|
--cov-report=html:{toxworkdir}/output/cov-{envname}.html \ |
|
|
|
|
--junitxml={toxworkdir}/output/junit-{envname}.xml \ |
|
|
|
|
--junitprefix={envname} \ |
|
|
|
|
--cov-report=xml:{toxworkdir}/output/{envname}/coverage.xml \ |
|
|
|
|
--cov-report=html:{toxworkdir}/output/{envname}/covhtml \ |
|
|
|
|
--junitxml={toxworkdir}/output/{envname}/junit.xml \ |
|
|
|
|
{posargs} |
|
|
|
|