selects tests affected by changed files and methods
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_testmon-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8271ca47bc8c80760c4fc7fd7895ea786b111bbb31f13eeea879a6fd11fe2226 |
|
MD5 | be68f85bb6c097a481fcd862f4bbd8a5 |
|
BLAKE2b-256 | 033ef62aefad1f5b3291029a3754af70efc3212b8303f83a9bd2d0b1d44b90e4 |