pytest-watcher

pytest-watcher is an open-source tool designed to streamline the pytest workflow by automatically running tests whenever changes are made to *.py files within a project.

As a strong advocate of the test-driven development approach, I frequently execute tests throughout my regular development cycle, so I’ve built this simple tool to avoid manual repetitive test invocations.

You can find the library on PyPi at the following link:

https://pypi.org/project/pytest-watcher/

For the source code, please visit the GitHub repository:

https://github.com/olzhasar/pytest-watcher/