简体   繁体   中英

How do you rerun “tox” on python file changes?

I have a tox configuration that runs all my tests, pep8 checks, and coverage checks. I run tox manually pretty much every time I save changes to my code. Tox runs the tests and coverage reports via "nosetests."

How do I make the re-running of tox happen automatically when changes are saved to python files anywhere within the directory structure beneath my tox.ini file?

我将尝试这样的“ tdaemon”:

$ tdaemon.py --test-program=tox

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM