tdd이란?
빨간색-녹색-리팩터링 루프를 사용한 테스트 중심 개발. 사용자가 TDD를 사용하여 기능을 구축하거나 버그를 수정하려고 하거나, "red-green-refactor"를 언급하거나, 통합 테스트를 원하거나, 테스트 우선 개발을 요청할 때 사용하세요. 출처: brianlovin/claude-config.
빨간색-녹색-리팩터링 루프를 사용한 테스트 중심 개발. 사용자가 TDD를 사용하여 기능을 구축하거나 버그를 수정하려고 하거나, "red-green-refactor"를 언급하거나, 통합 테스트를 원하거나, 테스트 우선 개발을 요청할 때 사용하세요.
명령줄에서 tdd AI 스킬을 개발 환경에 빠르게 설치
출처: brianlovin/claude-config.
Core principle: Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.
Good tests are integration-style: they exercise real code paths through public APIs. They describe what the system does, not how it does it. A good test reads like a specification - "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.
Bad tests are coupled to implementation. They mock internal collaborators, test private methods, or verify through external means (like querying a database directly instead of using the interface). The warning sign: your test breaks when you refactor, but behavior hasn't changed. If you rename an internal function and tests fail, those tests were testing implementation, not behavior.
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/brianlovin/claude-config --skill tdd빨간색-녹색-리팩터링 루프를 사용한 테스트 중심 개발. 사용자가 TDD를 사용하여 기능을 구축하거나 버그를 수정하려고 하거나, "red-green-refactor"를 언급하거나, 통합 테스트를 원하거나, 테스트 우선 개발을 요청할 때 사용하세요. 출처: brianlovin/claude-config.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/brianlovin/claude-config --skill tdd 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/brianlovin/claude-config