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 get in touch 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

pytest-testmon-2.0.0.tar.gz (30.6 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.0.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file pytest-testmon-2.0.0.tar.gz.

File metadata

  • Download URL: pytest-testmon-2.0.0.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for pytest-testmon-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e8157b24c60482d16f42316f2ed722bd34bc158c205da7f107f25dde6ced9fe7
MD5 3a7c85d33367072f500ba0687d536872
BLAKE2b-256 00d63583b6a39ebe995f044568a72eab75b91c69fbc80c51defb7f61b9e61321

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_testmon-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for pytest_testmon-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 965d73b822b4443765be4ee83ca2238dbcefbe7e8808f60ab28445232271673b
MD5 c7f94f1f1213664a5c8233d30a60fffb
BLAKE2b-256 ab8a2e97ada21a582c24b8ee057e4b0da41458c211e54c43d18e08490c59eac3

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