{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"A pytest plugin that integrates VCR.py to record and replay HTTP interactions in tests, eliminating the need for live network calls during test runs.","skillfed_tags":["http-mocking","test-fixtures","vcr-cassettes"],"use_cases":["Record HTTP interactions during development and replay them in CI to avoid flaky tests caused by network timeouts or external service changes.","Test code that calls third-party APIs without requiring valid credentials or network access during test runs.","Ensure deterministic test behavior by replaying the same HTTP responses across all environments and developers.","Reduce test suite runtime by eliminating network latency from HTTP-dependent tests.","Audit and version-control the exact HTTP exchanges your code makes, useful for debugging and compliance."],"what_it_does":"pytest-vcr is a pytest plugin that wraps VCR.py to record HTTP interactions during test execution and replay them on subsequent runs. When you annotate a test with @pytest.mark.vcr(), the plugin automatically captures all HTTP requests and responses made by that test into a YAML cassette file, stored alongside your test. On future runs, the plugin replays those recorded interactions instead of making live network calls, making tests faster, more reliable, and independent of external services.\n\nThe plugin is designed to be minimal and declarative: you add a decorator to your test, and the cassette management happens automatically. Cassette files are intended to be committed to version control so that all developers and CI systems use the same recorded interactions. The project is in production/stable status but has been abandoned since 2019, meaning it receives no updates for newer Python versions or pytest features.","worth_installing":"Yes, if your tests rely on HTTP calls and you're running on Python versions up to 3.7 with compatible pytest versions. The plugin is simple and does its job well. However, be aware it is abandoned\u2014no maintenance since 2019\u2014so if you need compatibility with modern Python or pytest, or if you encounter bugs, you may need to fork it or switch to an alternative. For stable, long-running projects on older Python stacks, it remains a solid choice."},"id":"pytest-vcr","links":{"html":"https://skillfed.io/packages/pytest-vcr","md":"https://skillfed.io/packages/pytest-vcr.md","pypi":"https://pypi.org/project/pytest-vcr/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-04-26","license_spdx":null,"license_treatment":"permissive","name":"pytest-vcr","python_support":"unspecified","summary":"Plugin for managing VCR.py cassettes"},"popularity":{"monthly_downloads":2292932,"position":3160,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
