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
commit03c51e75de8f9969f3fd5f3885a33ef04ce7348a (patch)
tree828db6ba67a52aab6323981fbd7d0bfa5074e605 /tox.ini
parentf9981d28e8ef4a037f6d2598515e425b6c3fef11 (diff)
downloadrsa-git-03c51e75de8f9969f3fd5f3885a33ef04ce7348a.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