ecarrara / pytest-affected

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytest-affected

Build Status

pytest-affected is a pytest plugin that helps you optimize the execution of pytest tests by caching and re-running only the tests that are affected by changes in your codebase. This can significantly reduce the time required to run your CI pipeline if your project have a lot of slow tests.

Installation

pytest-affected plugin is available on PyPI:

pip install pytest-affected

Usage

Add pytest_affected.plugin to PYTEST_PLUGINS environment variable to active this plugin.

PYTEST_PLUGINS=pytest_affected.plugin pytest

License

pytest-affected is distributed under the MIT License. See LICENSE for more information.

About

License:MIT License


Languages

Language:Python 56.4%Language:Rust 43.6%