diff options
author | Mickaƫl Schoentgen <contact@tiger-222.fr> | 2021-09-20 17:36:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 17:36:03 +0200 |
commit | 529aa78ee176b6548c5ec93352302d8fd175d978 (patch) | |
tree | 7b77a67920e9bb038b609793106e79ef4a0ce235 | |
parent | e2ba214ac02905ab0ada72c582c9e95023c49496 (diff) |
Expand the pytest configuration (#1161)
And rely on it to run tests.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | setup.cfg | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -80,11 +80,11 @@ venv: test: @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 -test-cover: COV=--cov +test-cover: COV=--cov=httpie --cov=tests test-cover: HEADER_EXTRA=' (with coverage)' test-cover: test @@ -7,8 +7,10 @@ [tool:pytest] # <https://docs.pytest.org/en/latest/customize.html> -norecursedirs = tests/fixtures .* -addopts = --tb=native --doctest-modules +testpaths = httpie tests +norecursedirs = tests/fixtures +addopts = --tb=native --doctest-modules --verbose +xfail_strict = True [flake8] |