The application layer orchestrates domain logic with external dependencies. Tests verify that use cases correctly coordinate business logic and integration boundaries.
Use when testing use cases and application services with "test use case", "mock gateways", "test orchestration", or "test DTOs".
Do NOT use for domain testing (use pytest-domain-model-testing), adapter testing (use pytest-adapter-integration-testing), or pytest configuration (use pytest-configuration).
사용 사례 및 애플리케이션 서비스 테스트: 모의 게이트웨이를 사용한 사용 사례 테스트, DTO 테스트, 애플리케이션 예외 테스트, 오케스트레이션 테스트, 어댑터 경계 모의. 적용 대상: 85-90%. 사용 시기: 사용 사례 테스트, 애플리케이션 서비스 테스트, DTO 및 데이터 변환 테스트, 사용 사례의 오류 처리 테스트, 계층 경계에서 외부 종속성 모의. 출처: dawiddutoit/custom-claude.