{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"A pytest plugin that automatically runs only the tests related to unstaged files or commits on the current Git branch, eliminating the need to manually select which tests to run.","skillfed_tags":["git-integration","test-selection"],"use_cases":["Run only tests affected by your current work during active development to get quick feedback.","Run modified tests first in CI pipelines before running the full suite to fail fast on breaking changes.","Verify that changes to a feature branch don't break tests specific to that branch without running the entire test suite.","Integrate into pre-commit hooks to run only relevant tests before committing code.","Speed up local test cycles when working on large projects with many test files."],"what_it_does":"pytest-picked is a pytest plugin that integrates with Git to automatically discover and run only the tests affected by your uncommitted changes or commits on the current branch. Instead of manually specifying which tests to run, you invoke `pytest --picked` and the plugin reads `git status` to identify modified test files and folders, then runs only those tests\u2014or optionally runs changed tests first followed by the full suite.\n\nThe plugin supports two modes: unstaged (default), which runs tests from files with uncommitted changes, and branch mode, which runs tests from files changed relative to a parent branch (typically main or dev). It's designed for developers working in feature branches or with uncommitted work who want fast feedback without copying and pasting test paths.","worth_installing":"Yes, if you work in Git-based projects and want to reduce test cycle time during development. The plugin is stable, has no security vulnerabilities, and adds minimal overhead. The dormant maintenance status is not a blocker since the plugin's scope is narrow and it relies on stable pytest and Git APIs. Install it if selective test running fits your workflow."},"id":"pytest-picked","links":{"html":"https://skillfed.io/packages/pytest-picked","md":"https://skillfed.io/packages/pytest-picked.md","pypi":"https://pypi.org/project/pytest-picked/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-11-06","license_spdx":null,"license_treatment":"permissive","name":"pytest-picked","python_support":"supports_current","summary":"Run the tests related to the changed files"},"popularity":{"monthly_downloads":818607,"position":4980,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
