Via autonose or nosy, it will automatically run nosetests after some test files or relative files are modified. I would like to ask if py.test gives a similar function, are there any other tools that can automatically trigger py.test.
You can install the pytest-xdist plugin and issue:
$ py.test --looponfail <filename>
You can also set the ini-file option "looponfailroots" to direct the plugin where to look for changes.
Source: https://habr.com/ru/post/1433283/More articles:Linker error due to "__cdecl" and "__thiscall" mismatch when using MFC? - c ++Multibyte characters in JSON are lost when stored in the database - jsonHow to print unsigned char as a two-digit hex value in C? - cCSS file in Spring WAR returns 404 - htmlevents (like a json channel), the initial end parameters of unix timestamp, differ if I change the time zone of my OS - unix-timestampUpdating rvm ruined my whole environment because I ran "get head" instead of "get stable" - rvmHow to exclude library dependencies with explicit url from pom created? - scalaIs it possible to search Twitter users by url? - apias-create-or-update-trigger: command not found - amazon-web-servicesShow progress bar on data transfer Entity Framework - multithreadingAll Articles