Integration Test
통합 테스트
통합 테스트는 시스템의 두 개 이상의 구성 요소가 실제 연결 지점을 통해 함께 작동하는지 확인합니다.
다른 예시
백엔드 테스트는 이미 샘플 주문이 있는 실제 테스트 데이터베이스로 API 요청을 보냅니다. 엔드포인트는 한 주문을 저장하고 약속된 필드를 반환해야 합니다. 가짜 스토어로 데이터 매핑 함수 하나를 테스트하는 것은 유닛 테스트입니다.
주요 부분
- 01참여 구성 요소
- 02실제 인터페이스
- 03경계 간 주장
사용할 때
올바른 동작이 구성 요소나 인프라 간의 실제 인터페이스에 의존할 때 이 용어를 사용하세요.
다음 경우에는 사용하지 마세요
모든 극단적인 경우를 느린 통합 테스트로 만들지 마세요. 작은 테스트로 충분히 검증할 수 있습니다.
코드에서 사용된 이름
component A ↔ real boundary B 출시하기 전에
Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule.
Outcome:Complete the task with 통합 테스트 (Integration Test)。 User context:백엔드 테스트는 이미 샘플 주문이 있는 실제 테스트 데이터베이스로 API 요청을 보냅니다. 엔드포인트는 한 주문을 저장하고 약속된 필드를 반환해야 합니다. 가짜 스토어로 데이터 매핑 함수 하나를 테스트하는 것은 유닛 테스트입니다. Validation approach:통합 테스트 (Integration Test)。 Why it fits:올바른 동작이 구성 요소나 인프라 간의 실제 인터페이스에 의존할 때 이 용어를 사용하세요. Do not use it when:모든 극단적인 경우를 느린 통합 테스트로 만들지 마세요. 작은 테스트로 충분히 검증할 수 있습니다. Test requirements: Name the system and test environment. Define prepared test data, other inputs, and the result you can observe. Include failure and edge cases, allowed error, isolation, and cleanup. Test operations: Make failures easy to diagnose. Control random or changing inputs. Name an owner. Keep the test fast and simple enough for its release gate. Acceptance criteria: The test fails for the known bug and passes after the fix. It repeats in the target environment, gives useful evidence, and does not expose or change unrelated data. Evidence and limits (evidence boundary):해당 출처에 대해 공식적인 것입니다. 다른 플랫폼이나 팀은 그 용어를 다른 방식으로 사용할 수 있습니다. Unknowns to confirm: Release gate, environment, prepared test data, allowed error, time budget, owner, and flaky-test rule.
이 요청을 확인하세요
Review how 통합 테스트 (Integration Test) is used now. Definition: 통합 테스트는 시스템의 두 개 이상의 구성 요소가 실제 연결 지점을 통해 함께 작동하는지 확인합니다. Release checks: Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.