Skip to main content

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

This version

2.2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_testmon-2.2.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_testmon-2.2.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_testmon-2.2.0.tar.gz.

File metadata

  • Download URL: pytest_testmon-2.2.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for pytest_testmon-2.2.0.tar.gz
Algorithm Hash digest
SHA256 01f488e955ed0e0049777bee598bf1f647dd524e06f544c31a24e68f8d775a51
MD5 35f297297f367635b41012b13c25ebf1
BLAKE2b-256 4d1d3e4230cc67cd6205bbe03c3527500c0ccaf7f0c78b436537eac71590ee4a

See more details on using hashes here.

File details

Details for the file pytest_testmon-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_testmon-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for pytest_testmon-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2604ca44a54d61a2e830d9ce828b41a837075e4ebc1f81b148add8e90d34815b
MD5 f84a5023cb9354028fc44020adfe605e
BLAKE2b-256 6155ebb3c2f59fb089f08d00f764830d35780fc4e4c41dffcadafa3264682b65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page