{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"A pytest plugin that identifies which tests exercise code you've recently changed, allowing you to run only the affected subset instead of the full test suite.","skillfed_tags":["test-selection","coverage-driven"],"use_cases":["Speed up CI pipelines by running only tests affected by a pull request's changes.","Identify which tests exercise a specific file you're debugging or refactoring.","Validate that a change to a utility module doesn't break tests in dependent modules.","Reduce local test cycle time during development by running only affected tests after code edits."],"what_it_does":"pytest-cagoule is a pytest plugin that uses coverage data to map which tests exercise which lines of code, then lets you run only the tests affected by your recent changes. After an initial full test run with coverage collection (using --cov --cov-context=test), you can specify a file path or use git diff to automatically identify changed code, and the plugin will select and run only the tests that touch those lines.\n\nThe plugin is designed for CI workflows where you want to speed up feedback by skipping unaffected tests. It has no runtime dependencies and integrates directly with pytest's command-line interface. However, it only captures coverage for code executed during test runs themselves, not module-level imports, so some code paths may be missed. The package is in alpha status and has been unmaintained since 2020.","worth_installing":"No, not recommended for new projects. The package is abandoned (last release 2020-01-01, no maintenance since), has high install friction, and offers no guarantees of compatibility with modern pytest or coverage.py versions. While the core idea is sound, the lack of maintenance and unclear dependency requirements make it a poor choice. Consider actively maintained alternatives for test selection based on code coverage."},"id":"pytest-cagoule","links":{"html":"https://skillfed.io/packages/pytest-cagoule","md":"https://skillfed.io/packages/pytest-cagoule.md","pypi":"https://pypi.org/project/pytest-cagoule/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-01-01","license_spdx":null,"license_treatment":"permissive","name":"pytest-cagoule","python_support":"unspecified","summary":"Pytest plugin to only run tests affected by changes"},"popularity":{"monthly_downloads":127047,"position":11755,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
