Commit Graph

2 Commits

Author SHA1 Message Date
Fred Pauchet 182e563df6 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
2023-01-02 22:10:36 +01:00
Fred Pauchet d5b4488151 Add a for testing files 2023-01-02 18:36:30 +01:00