What problem does it solve? Writing unit tests for code with external dependencies often leads to brittle, over-mocked, or slow tests. This Skill provides clear patterns for choosing the right test double—mocks, stubs, fakes, spies, or fixtures—so tests stay isolated, readable, and maintainable. ## Core Features & Use Cases - Test Double Selection Guidance: Distinguishes when to use mocks for behavior verification, stubs for test data, fakes for in-memory implementations, and spies for recording interactions. - Pytest Fixture and Factory Patterns: Shows how to build reusable fixtures with pytest and complex test data with factory_boy. - External API Test Recording: Demonstrates VCR.py cassettes for recording and replaying HTTP interactions in API tests. - Use Case: When writing tests for a user service that calls an email API, apply this Skill to mock only the external API, use a fake repository for storage, and avoid over-mocking internal logic. ## Quick Start Review my test file and recommend the right test doubles for isolating the external API calls.