SKILL

tdd-workflow

새 기능 작성, 버그 수정 또는 코드 리팩터링 시 이 스킬을 사용하세요. 단위, 통합, E2E 테스트를 포함한 80% 이상의 커버리지로 테스트 주도 개발을 시행합니다.

Original · translation did not pass checks

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Korean text

Topics in the source

  • 테스트 주도 개발 워크플로우
  • 활성화 시점
  • 핵심 원칙
  • 1. 코드보다 테스트가 먼저
  • 2. 커버리지 요구 사항
  • 3. 테스트 유형
  • 단위 테스트
  • 통합 테스트

이 스킬은 모든 코드 개발이 포괄적인 테스트 커버리지와 함께 TDD 원칙을 따르도록 보장합니다. 새 기능이나 기능성을 작성할 때 버그나 이슈를 수정할 때 기존 코드를 리팩터링할 때 API 엔드포인트를 추가할 때 새 컴포넌트를 생성할 때 항상 테스트를 먼저 작성한 후, 테스트를 통과시키는 코드를 구현합니다. 최소 80% 커버리지 (단위 + 통합 + E2E) 모든 엣지 케이스 커버 에러 시나리오 테스트 경계 조건 검증 개별 함수 및 유틸리티 컴포넌트 로직 순수 함수 헬퍼 및 유틸리티 API 엔드포인트 데이터베이스 작업 서비스 상호작용 외부 API 호출 핵심 사용자 플로우 완전한 워크플로우 브라우저 자동화 UI 상호작용 각 사용자 여정에 대해 포괄적인 테스트 케이스를 작성합니다: 테스트를 통과시키기 위한 최소한의 코드를 작성합니다: 테스트가 통과하는 상태를 유지하면서 코드 품질을 개선합니다: 중복 제거 네이밍 개선 성능 최적화 가독성 향상 1. 테스트 먼저 작성 - 항상 TDD 2. 테스트당 하나의 Assert - 단일 동작에 집중 3. 설명적인 테스트 이름 - 무엇을 테스트하는지 설명 4. Arrange-Act-Assert - 명확한 테스트 구조 5. 외부 의존성 모킹 - 단위 테스트 격리 6. 엣지 케이스 테스트 - null, undefined, 빈 값, 큰 값 7. 에러 경로 테스트 - 정상 경로만이 아닌 8. 테스트 속도 유지 - 단위 테스트 각 50ms 미만 9. 테스트 후 정리 - 부작용 없음 10. 커버리지 리포트 검토 - 누락 부분 식별 80% 이상의 코드 커버리지 달성 모든 테스트 통과 (그린) 건너뛴 테스트나 비활성화된 테스트 없음 빠른 테스트 실행 (단위 테스트 30초 미만) E2E 테스트가 핵심 사용자 플로우를 커버 테스트가 프로덕션 이전에 버그를 포착 -- 기억하세요: 테스트는 선택 사항이 아닙니다. 테스트는 자신감 있는 리팩터링, 빠른 개발, 그리고 프로덕션 안정성을 가능하게 하는 안전망입니다.

Source repository
affaan-m/ECC
Source file
docs/ko-KR/skills/tdd-workflow/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.868Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.