forked from extern/httpie-cli
parent
e2ba214ac0
commit
529aa78ee1
4
Makefile
4
Makefile
@ -80,11 +80,11 @@ venv:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
@echo $(H1)Running tests$(HEADER_EXTRA)$(H1END)
|
@echo $(H1)Running tests$(HEADER_EXTRA)$(H1END)
|
||||||
$(VENV_BIN)/python -m pytest $(COV) ./httpie $(COV) ./tests --doctest-modules --verbose ./httpie ./tests
|
$(VENV_BIN)/python -m pytest $(COV)
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
||||||
test-cover: COV=--cov
|
test-cover: COV=--cov=httpie --cov=tests
|
||||||
test-cover: HEADER_EXTRA=' (with coverage)'
|
test-cover: HEADER_EXTRA=' (with coverage)'
|
||||||
test-cover: test
|
test-cover: test
|
||||||
|
|
||||||
|
@ -7,8 +7,10 @@
|
|||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
# <https://docs.pytest.org/en/latest/customize.html>
|
# <https://docs.pytest.org/en/latest/customize.html>
|
||||||
norecursedirs = tests/fixtures .*
|
testpaths = httpie tests
|
||||||
addopts = --tb=native --doctest-modules
|
norecursedirs = tests/fixtures
|
||||||
|
addopts = --tb=native --doctest-modules --verbose
|
||||||
|
xfail_strict = True
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
Loading…
Reference in New Issue
Block a user