February 2022
Intermediate to advanced
274 pages
6h 28m
English
We covered a lot of techniques for debugging Python packages with command-line flags, pdb, and tox:
We installed an editable version of Cards with pip install -e ./cards_proj.
We used many pytest flags for debugging. There’s list of useful flags at Debugging with pytest Flags.
We used pdb to debug the tests. A subset of pdb commands is at Debugging with pdb.
We combined tox, pytest, and pdb to debug a failing test within a tox environment.
Read now
Unlock full access