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.
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.