I\'m working in a project that recently switched to the py.test unittest framework. I was used to call my tests from Eclipse, so that I can use the debugger (e.g. placing br
For me it was this:
pytest.main(["-x", "path to test file", "args"])
For example:
import pytest pytest.main(["-x", "/api/test", "-vv"])