pytest-testmon is a free, open source build & deployment project written in Python and released under MIT. It has 1,015 GitHub stars, 81 forks and 38 open issues, and was last pushed 10 months ago. On this registry it ranks #59 of 81 tracked projects in Build & Deployment, with 5 head-to-head comparisons available.

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

Quickstart

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 different options you can use with testmon, please head to testmon.org

Call for opensource projects: try testmon in CI with no effort or risk.

We would like to run testmon within your project, collect data and improve! We'll prepare the PR for you and set everything up so that no tests are deselected initially. You can start using the full functionality whenever the reliability and time savings seem right! Please SIGN UP and we'll contact you shortly.

Frequently asked questions

Is pytest-testmon free to use?

pytest-testmon is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does pytest-testmon do?

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.

What is pytest-testmon written in?

pytest-testmon is primarily written in Python. Its source is publicly available at https://github.com/tarpas/pytest-testmon, and it has 1,015 GitHub stars.