From 182e563df67a85d05e210c8e1bd382bb8f280ca7 Mon Sep 17 00:00:00 2001 From: Fred Pauchet Date: Mon, 2 Jan 2023 22:10:36 +0100 Subject: [PATCH] Set poetry run pytest --cov=jack -vv ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-7.2.0, pluggy-1.0.0 -- /home/fred/.cache/pypoetry/virtualenvs/jack-vJTRSbf8-py3.10/bin/python cachedir: .pytest_cache rootdir: /home/fred/Sources/jack plugins: cov-4.0.0 collecting ... collected 5 items tests/test_models.py::test_article_metadata PASSED [ 20%] tests/test_models.py::test_article_content PASSED [ 40%] tests/test_models.py::test_article_published_date PASSED [ 60%] tests/test_models.py::test_article_fenced_code PASSED [ 80%] tests/test_models.py::test_site_append_article PASSED [100%] ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover -------------------------------------- jack/__init__.py 0 0 100% jack/models.py 47 2 96% -------------------------------------- TOTAL 47 2 96% ============================== 5 passed in 0.14s =============================== to call poetry + pytest with coverage --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e022f77..90a5fc2 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ .PHONY: tests tests: - poetry run pytest --cov=jack + poetry run pytest --cov=jack -vv