write-test
OfficialKotlin 테스트 코드 작성 가이드
AuthorGrowWeek
Version1.0.0
Installs0
System Documentation
What problem does it solve?
테스트 코드 작성 정책은 GrowWeek 프로젝트의 테스트 코드 품질과 일관성을 보장하기 위한 표준을 제공합니다. 이 정책은 팀이 가독성 높은 테스트를 작성하고, 계층 간 경계와 테스트 피라미드를 지키며, 재현 가능한 테스트를 설계하도록 돕습니다.
Core Features & Use Cases
- Kotest를 중심으로 한 Kotlin용 테스트 프레임워크 사용 지침
- Mockk를 활용한 모킹 전략과 외부 의존성 격리
- BehaviorSpec 스타일의 Given/When/Then 구문을 통한 의도 명시
- 도메인 계층(Unit)부터 애플리케이션 계층(UseCase), 인프라 계층(리포지토리/외부 API)까지의 테스트 설계 원칙
- 가독성, 격리, 네이밍 규칙 등 기본 원칙과 레이어별 테스트 전략
Quick Start
테스트의 예시를 따라 BehaviorSpec 기반의 테스트 클래스를 생성하고, 대상 도메인에 대한 명명 규칙과 계층별 가이드를 따라 작성합니다.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-test Download link: https://github.com/GrowWeek/GrowWeek-Backend/archive/main.zip#write-test Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.