summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-16 14:30:48 +0530
committerYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-16 14:30:48 +0530
commit74f1e76d61d7a066653184273b87dea4ce6f1502 (patch)
tree828db6ba67a52aab6323981fbd7d0bfa5074e605 /tox.ini
parent7790c1a15383b8b82ed2746fe0b54c554c430829 (diff)
downloadrsa-74f1e76d61d7a066653184273b87dea4ce6f1502.tar.gz
Parellelized testing. Caught a lot of bugs.
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