{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A pytest plugin that identifies dependencies between tests by running them in multiple orders and using binary search to pinpoint which test causes another to fail.","skillfed_tags":["test-isolation","test-debugging"],"use_cases":["Identify hidden test dependencies in a legacy test suite before refactoring or parallelizing tests.","Debug why tests pass in isolation but fail in a full run\u2014pinpoint the offending test automatically.","Verify test cleanup: detect tests that leave permanent state changes (e.g., database records) affecting later tests.","Ensure test order independence before adopting parallel test runners like pytest-xdist.","Validate that test markers from ordering plugins (pytest-order, pytest-dependency) are working as intended."],"what_it_does":"pytest-find-dependencies is a pytest plugin that automates the detection of test interdependencies\u2014situations where one test's success or failure depends on the execution of another test. Tests should ideally be independent, but in practice many codebases accumulate hidden dependencies that only surface when test order changes. This plugin runs your test suite in both forward and reverse order, then uses binary search on any failing tests to isolate the specific test causing the failure.\n\nThe plugin reports found dependencies clearly and can also flag tests that fail permanently after all tests run, indicating environmental side effects that weren't cleaned up. It integrates with pytest's command-line interface via the `--find-dependencies` flag and supports options to run tests serially, ignore specific test markers, and control exit codes. It detects pytest-xdist and disables distribution for its internal test runs to preserve ordering.","worth_installing":"Yes. The plugin solves a real problem\u2014hidden test dependencies are common and hard to find manually. It has low install friction, active maintenance, permissive licensing, no known vulnerabilities, and runs on modern Python versions. Use it if you suspect test interdependencies or want to verify test isolation before parallelizing; the runtime overhead is modest and the diagnostic value is high."},"id":"pytest-find-dependencies","links":{"html":"https://skillfed.io/packages/pytest-find-dependencies","md":"https://skillfed.io/packages/pytest-find-dependencies.md","pypi":"https://pypi.org/project/pytest-find-dependencies/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-16","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-find-dependencies","python_support":"supports_current","summary":"A pytest plugin to find dependencies between tests"},"popularity":{"monthly_downloads":983229,"position":4582,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
