Posts tagged with "testing" (8)
uv run for running tests on versions of Python
Using uv run with make to replace tox or nox for testing multiple versions of Python locally.
TIL: Making pytest use Ipython's PDB
Once I've isolated a test failure to a very small set of failures I use this instead of running pytest directly. What it does on exception is start the IPython pdb interface.
Rapidly creating smoke tests for Django views
A management command for quickly generating tests based off Django's URL routing mechanism.
TIL: pytest with breakpoints
Injecting breakpoints into a failing pytest run