summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-08-01 19:42:49 -0300
committerdrebs <drebs@leap.se>2016-08-01 21:09:05 -0300
commit4c2be2af0c328d4d413e8f26a9056d2102e94ea9 (patch)
treed5ae0fa965d9352d322391cc2c67a1a91ee77569 /testing
parentc11478c65856a2a607ed538b6dbb9873a2b0963c (diff)
[test] adds optional parallel env for local dev
Diffstat (limited to 'testing')
-rw-r--r--testing/tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index 246f63fa..83793cc7 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -27,3 +27,10 @@ install_command = pip install {opts} {packages}
changedir = ..
deps = pep8
commands = pep8 {posargs} client server common
+
+[testenv:parallel]
+deps =
+ {[testenv]deps}
+ pytest-xdist
+install_command = pip install {opts} {packages}
+commands = py.test {posargs} -n 4