Welcome to Nick's Random Musings

Of course I don't know what I'm doing, what fun would that be?


Fun with PyTest


meta
Nick Gully, Denver

If you want to debug a pytest within a framework,

import pytest;pytest.set_trace()

at a point in a test you want to break at, then

./pytestrun.sh tests/foo_engine/test_my_grits.py --pdb

and it’ll break there in your pytest to the debugger.