Adapters connect your application to external systems. This skill covers testing both unit-level (mocked) and integration-level (real services) scenarios.
Use when testing adapters and gateways with "test Shopify gateway", "mock HTTP responses", "test Kafka adapter", or "decide between mocks and containers".
Do NOT use for domain testing (use pytest-domain-model-testing), application layer (use pytest-application-layer-testing), or general mocking patterns (use pytest-mocking-strategy).
테스트 어댑터 및 게이트웨이: 단위 테스트 모의 대 테스트 컨테이너를 사용하는 경우, HTTP 응답 모의(aioreresponses, 응답), Kafka 메시지 모의, ClickHouse 응답 모의, 오류 경로 및 엣지 케이스 테스트. 사용 시기: 게이트웨이 및 어댑터 테스트, 외부 서비스 통합 테스트, 모의 컨테이너와 실제 컨테이너 간 결정, 어댑터의 오류 처리 테스트, 실제 서비스와의 통합 테스트. 출처: dawiddutoit/custom-claude.