I try to debug my pytest-cases like this:
import pytest
def test_something()
...
...
pytest.set_trace()
Then, i execute the tests by running elpy-test
. The test starts to
run and stops at pytest.set_trace()
- unfortunately the
compilation buffer is non-interactive and I'm stuck with a
debugger that I can't use...
What's the right way to run tests in the debugger, using emacs?