본문으로 건너뛰기
Skillpedia
테스트75k · #2895

integration-testing

하는 일

이 스킬은 핵심 워크플로를 검토하고, 서비스, 데이터베이스, 컴포넌트가 상호작용하는 방식을 다루는 테스트를 추가합니다. 안정적인 릴리스를 원하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓기능이 단위 테스트는 통과하지만 모든 부분을 연결하면 실패할 때.
  • ✓API 경로가 테스트 없이 서비스와 데이터베이스를 호출할 때.
  • ✓가장 중요한 사용자 워크플로에 자동 점검을 두고 싶을 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/integration-testing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/integration-testing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 앱의 결제 흐름에 대한 통합 테스트를 작성해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 시스템의 여러 부분이 만나는 지점을 찾아 그 연결에 대한 테스트를 씁니다. 가능하면 모든 것을 모킹하기보다 실제 테스트 데이터베이스를 쓰라고 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Write integration tests for key workflows

Unit tests verify individual functions in isolation, but they can't catch the bugs that occur when those functions interact — a perfectly correct validation function and a correct database function can still fail when wired together incorrectly. Integration tests catch these wiring bugs before they reach production, where they're expensive to diagnose.

Quick Reference

  • Integration tests verify that multiple units work correctly together
  • Test at the boundary where different parts of your system meet
  • Use a real database in tests (test DB or in-memory) rather than mocking everything
  • Test happy paths and the most critical error paths

Check

Identify the key integration points in this codebase — where API routes call services, where services interact with the database, and where components interact with state management. Are these tested?

Fix

Write integration tests for the identified critical paths, testing the interactions between components rather than each in isolation.

Explain

Explain integration testing, how it differs from unit and E2E testing, and what tools to use for API and component integration tests.

Code Review

Review tests, CI workflows, and enforcement points related to Write integration tests for key workflows. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/integration-testing

자주 묻는 질문

엔드투엔드 테스트와 어떻게 다른가요?

스킬은 통합 테스트가 여러 단위가 함께 작동하는지 확인하고, 엔드투엔드 테스트는 사용자 여정 전체를 다룬다고 설명합니다.

데이터베이스는 모킹해야 하나요?

스킬은 가능하면 실제 테스트 데이터베이스나 메모리 데이터베이스를 쓰라고 권합니다.

어떤 경로를 테스트해야 하나요?

스킬은 정상 경로와 가장 중요한 오류 경로를 테스트하라고 제안합니다.

상세 정보

작성자의 원본 설명

Use when reviewing CI coverage, automated checks, or test strategy related to Write integration tests for key workflows. Focus on whether the rule is continuously verified, not just documented.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2895
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬