This website requires JavaScript.
Explore
Help
Sign In
Fred
/
jack
Watch
1
Star
0
Fork
You've already forked jack
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
main
jack
/
Makefile
6 lines
57 B
Makefile
Raw
Permalink
Normal View
History
Unescape
Escape
Add a for testing files
2023-01-02 18:36:30 +01:00
.PHONY
:
tests
tests
:
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
poetry run pytest --cov
=
jack -vv