February 2022
Intermediate to advanced
274 pages
6h 28m
English
Before running tox, you have to make sure you install it:
| | $ pip install tox |
This can be done within a virtual environment.
Then to run tox, just run, well… tox:
| | $ cd /path/to/code/ch11/cards_proj |
| | $ tox |
| | py310 recreate: /path/to/code/ch11/cards_proj/.tox/py310 |
| | py310 installdeps: pytest, faker |
| | py310 inst: /path/to/code/ch11/cards_proj/ |
| | .tox/.tmp/package/1/cards-1.0.0.tar.gz |
| | py310 installed: ... |
| | py310 run-test: commands[0] | pytest |
| | ========================= test session starts ========================== |
| | collected 51 items |
| | |
| | tests/api/test_add.py ..... [ 9%] |
| | tests/api/test_config.py . [ 11%] |
| | ... |
| | tests/cli/test_update.py . [ 98%] |
| | tests/cli/test_version.py . [100%] |
| | |
| | ========================== ... |
Read now
Unlock full access