How can I auto run py.test once a relative command has been change?
Via autonose or nosy, it will automatically run the nosetests once the some tests file or the relative files have been changes. I would like to ask that whether py.test provides the similar function for is there any other tools can automatically excite py.test.
You can install the pytest-xdist plugin and issue:
$ py.test --looponfailing
You can also set the "looponfailroots" ini-file option to direct the plugin where to look for changes.