mirror of
https://github.com/httpie/cli.git
synced 2025-06-19 17:19:30 +02:00
Removed pytest-xdist
The test suite is much less IO-bound now with the local httpbin instance (via pytest-httpbin). Therefore, paralelization is not as helpful.
This commit is contained in:
parent
b0effe07d9
commit
6aa711c69f
4
Makefile
4
Makefile
@ -22,8 +22,8 @@ init: uninstall-httpie
|
|||||||
@echo
|
@echo
|
||||||
|
|
||||||
test: init
|
test: init
|
||||||
@echo $(TAG)Running tests in on current Python in parallel and with coverage $(END)
|
@echo $(TAG)Running tests in on current Python with coverage $(END)
|
||||||
py.test --cov ./httpie --cov ./tests -n 8 --doctest-modules --verbose ./httpie ./tests
|
py.test --cov ./httpie --cov ./tests --doctest-modules --verbose ./httpie ./tests
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
test-tox: init
|
test-tox: init
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
tox
|
tox
|
||||||
pytest
|
pytest
|
||||||
pytest-xdist
|
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-httpbin
|
pytest-httpbin
|
||||||
docutils
|
docutils
|
||||||
|
3
tox.ini
3
tox.ini
@ -12,8 +12,7 @@ envlist = py26, py27, py34, pypy
|
|||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
pytest-xdist
|
|
||||||
pytest-httpbin
|
pytest-httpbin
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
py.test -n 8 --doctest-modules --basetemp={envtmpdir} {posargs:./tests ./httpie}
|
py.test --verbose --doctest-modules --basetemp={envtmpdir} {posargs:./tests ./httpie}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user