Skip to content

datarobot/pytest-testmon

 
 

Repository files navigation

Pytest-testmon

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 specifying multiple project directories, configuring "sticky" testmon and troubleshooting, please head to testmon.org

DataRobot Release

To upload a new version:

  1. Tag a commit like v1.2.3 and Create a new release
  2. Update quantum-builder with the new path to source and uprev in quantum-builders

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%