Have you seen pytest-xdist? I use pytest-xdist to achieve the same type of workflow for any python project. You can do `py.test -f foo/bar_tests.py`, and every time you hit save it will rerun all of the tests, if one fails it will "focus" on the failed test so every time you hit save it will only rerun the failing tests.