{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"Provides a unittest base class that automatically records and replays HTTP interactions using vcrpy, eliminating manual cassette management in test code.","skillfed_tags":["http-mocking","test-fixtures"],"use_cases":["Write integration tests that record live HTTP interactions on first run, then replay recorded responses in CI/CD pipelines without network access.","Test code that depends on external APIs by recording interactions once, then running tests offline with deterministic responses.","Verify HTTP request details by inspecting self.cassette.requests and self.cassette after a test executes.","Add custom VCR matchers to control how recorded requests are matched during playback."],"what_it_does":"vcrpy-unittest bridges vcrpy and Python's unittest framework by providing VCRTestCase, a base class that automatically handles HTTP cassette recording and playback. Instead of manually wrapping test methods with VCR context managers, you inherit from VCRTestCase and write normal unittest code; the class intercepts HTTP calls, records them to YAML files on first run, and replays them on subsequent runs. It also exposes the cassette object as self.cassette so you can make assertions about recorded interactions.\n\nThe package is lightweight\u2014it depends only on vcrpy\u2014and offers customization hooks (_get_vcr_kwargs, _get_cassette_library_dir, _get_cassette_name, _get_vcr) to control cassette location, naming, and VCR configuration. A VCRMixin variant is available for cases where inheriting from VCRTestCase conflicts with existing class hierarchies.","worth_installing":"No. The package is abandoned (last release 2018-09-25, repository archived) with no activity for over 2880 days. Compatibility with modern Python versions and current vcrpy releases is unverified. While the concept is sound and the MIT license is permissive, the lack of maintenance creates risk for new projects. Consider using vcrpy directly with unittest, or evaluate actively maintained alternatives."},"id":"vcrpy-unittest","links":{"html":"https://skillfed.io/packages/vcrpy-unittest","md":"https://skillfed.io/packages/vcrpy-unittest.md","pypi":"https://pypi.org/project/vcrpy-unittest/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-09-25","license_spdx":null,"license_treatment":"permissive","name":"vcrpy-unittest","python_support":"unspecified","summary":"Python unittest integration for vcr.py"},"popularity":{"monthly_downloads":87842,"position":13765,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.7"}
