Skip to content

alice-biometrics/pytest-delta

Repository files navigation

pytest-delta

version ci pypi codecov Code style: black Imports: isort license versions

What is pytest-delta?

pytest-delta is a plugin to run your tests only when selected files are changed.

Installation 💻

pip install pytest-delta

Usage

from pytest_delta import skip_if_files_have_not_changed


@skip_if_files_have_not_changed(files=["my_specific_file.py"])
def test_should_do_whatever():
    print("Runnint the test")

You can use the envvar PYTEST_DELTA_TESTING_ENABLED to enable or disable pytest decorators

export PYTEST_DELTA_TESTING_ENABLED=True
export PYTEST_DELTA_TESTING_ENABLED=False

Contribute

We'd love you to contribute to pytest-delta 🥳🥳🥳🥳🥳🥳️️!

For more information, check our documentation

Contact 📬

[email protected]

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages