TDD 워크플로우
원문: tdd-workflow
Test-Driven Development workflow principles. RED-GREEN-REFACTOR cycle.
무엇을 하나요
TDD Workflow Write tests first, code second. 1. The TDD Cycle 2. The Three Laws of TDD 1. Write production code only to make a failing test pass 2. Write only enough test to demonstrate failure 3. Write only enough code to make the test pass 3. RED Phase Principles What to Write | Focus | Example | | | | | Behavior | "should add two numbers" | | Edge cases | "should handle empty input" | | Error states | "should throw for invalid data" | RED Phase Rules Test must fail first Test name describes expected behavior One assertion per test (ideally) 4. GREEN Phase Principles Minimum Code | Principle | Meaning | | | | | YAGNI | You Aren't Gonna Need It | | Simplest thing | Write the minimum to pass…
실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.