Appearance
测试驱动开发技能,先编写测试用例再实现功能。
Red → Green → Refactor 写失败测试 → 实现功能通过测试 → 重构优化
> 用 TDD 实现密码强度验证器 > $tdd 创建用户认证的 API 端点