aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 19 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 9f0ed5e..949bade 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,32 +1,47 @@
[tox]
envlist = py25,py26,py27,py32 #,pypy
+[pytest]
+addopts = -n4 --cov rsa --cov-report term-missing
+
[testenv]
-commands=coverage erase
- coverage run run_tests.py
- coverage report -m
- #coverage html -d htmlcov
+commands=py.test []
[testenv:py25]
deps=pyasn1 >=0.0.13
coverage >=3.5
unittest2
+ PyTest
+ pytest-xdist
+ pytest-cov
[testenv:py26]
deps=pyasn1 >=0.0.13
coverage >=3.5
unittest2
+ PyTest
+ pytest-xdist
+ pytest-cov
[testenv:py27]
deps=pyasn1 >=0.0.13
coverage >=3.5
unittest2
+ PyTest
+ pytest-xdist
+ pytest-cov
[testenv:py32]
deps=coverage >= 3.5
unittest2py3k
+ PyTest
+ pytest-xdist
+ pytest-cov
[testenv:pypy]
deps=pyasn1 >=0.0.13
coverage >= 3.5
unittest2
+ PyTest
+ pytest-xdist
+ pytest-cov