Need help with pytest-testmon?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

504 Stars 29 Forks GNU Affero General Public License v3.0 287 Commits 27 Opened issues


Selects tests affected by changed files. Continous test runner when used with pytest-watch.

Services available


Need anything else?

Contributors list

This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes. How is this possible in dynamic language like Python and how reliable is it? Read here:

Determining affected tests 



pip install pytest-testmon

build the dependency database and save it to .testmondata

pytest --testmon

change some of your code (with test coverage)

only run tests affected by recent changes

pytest --testmon

To learn more about specifying multiple project directories and troubleshooting, please head to 

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.