{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"}],"enrichment":{"capability":"A pytest plugin that adds optional test-count validation, duplicate test-name detection, test-ID safety checks, and CI log collection to help catch common testing issues.","skillfed_tags":["pytest-plugin","ci-testing","test-validation"],"use_cases":["Enforce exact test counts in CI pipelines to catch accidental test skipping or disabling.","Prevent duplicate test function names across a project to make failed tests easier to reproduce locally.","Validate test IDs to ensure they can be safely copy-pasted from CI logs into a terminal.","Collect pytest logs from temporary directories into a project-accessible location for CI artifact archival.","Add optional pytest safety checks without breaking existing test infrastructure if the plugin is later removed."],"what_it_does":"pytest-plus is a pytest plugin that bundles several optional safety and CI-integration features designed to catch common testing mistakes and improve test reproducibility. It enforces that test function names are unique across a project, validates test IDs to ensure they contain only safe characters and stay within a reasonable length, and allows you to pin the exact number of tests that should pass in CI via the PYTEST_REQPASS environment variable\u2014preventing accidental test skipping. It also collects pytest log files into a project-accessible directory for CI artifact collection.\n\nThe plugin is designed to degrade gracefully: if you remove it, your tests continue to run normally. Most of its checks can be disabled via environment variables (PYTEST_CHECK_TEST_DUPLICATE, PYTEST_CHECK_TEST_ID_REGEX, PYTEST_MAX_TEST_ID_LENGTH), making it flexible for different project needs. It targets CI workflows and development practices where catching test-naming collisions and ensuring test counts remain stable are valuable safeguards.","worth_installing":"Yes, if you run tests in CI and want to catch test-naming collisions or accidental test skipping. The plugin is low-friction, permissively licensed, and gracefully degrades if removed. However, maintenance is aging (558 days since last release), so evaluate whether the specific checks it offers match your project's needs before adopting it as a critical CI dependency."},"id":"pytest-plus","links":{"html":"https://skillfed.io/packages/pytest-plus","md":"https://skillfed.io/packages/pytest-plus.md","pypi":"https://pypi.org/project/pytest-plus/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-02","license_spdx":null,"license_treatment":"permissive","name":"pytest-plus","python_support":"supports_current","summary":"PyTest Plus Plugin :: extends pytest functionality"},"popularity":{"monthly_downloads":77583,"position":14512,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.1"}
