← 返回
未分类 中文

Tdd

Test-Driven Development for coding and bug fixing. cycle - Red→Green→Refactor cycle, defining expected behavior, bug-fix TDD, anti-patterns [cycle.md], run -...
用于编码和缺陷修复的测试驱动开发(TDD),包括 Red→Green→Refactor 循环、预期行为定义、缺陷修复 TDD、反模式 [cycle.md]、运行...
drumrobot
未分类 clawhub v0.3.0 3 版本 99911.7 Key: 无需
★ 0
Stars
📥 1,131
下载
💾 10
安装
3
版本
#latest

概述

TDD (Test-Driven Development)

Test-Driven Development: define expected behavior first, then make it pass with implementation.

Topics

TopicDescriptionGuide
---------------------------
cycleRed→Green→Refactor cycle, bug-fix TDD, anti-patternscycle.md
runTest execution workflow (environment detection→impact scope→execution→result reporting)run.md
test-strategiesBoundary value·equivalence partitioning·decision table·error guessing·path coveragetest-strategies.md

Quick Reference

Trigger entry (HARD STOP — first action)

When this skill is invoked, the FIRST tool call must be TaskCreate (Red/Green/Refactor/Verify) + Red test authoring. Diagnosis, planning, option asks, and medium decisions are forbidden before Red is authored + executed + failure confirmed. See cycle.md "Trigger entry".

TDD Cycle

Define expected behavior → natural failure → implement → pass → refactor.

See cycle.md.

Test Execution

Environment detection → impact scope → execution (unit→integration→e2e) → result reporting.

See run.md.

Test Design Techniques

Decide which test cases to write (boundary value, equivalence partitioning, etc.).

See test-strategies.md.

版本历史

共 3 个版本

  • v0.3.0 当前
    2026-06-04 12:45
  • v0.1.1
    2026-05-21 12:36 安全 安全
  • v0.1.0
    2026-05-03 05:07 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

Commit Tidy

drumrobot
分析暂存/已提交变更,推荐拆分或压缩策略;interactive-amend - 基于工作树的 amend+rebase 循环,用于处理领先于 HEA 的提交...
★ 1 📥 585

Claude Session

drumrobot
Claude Code session management. Topics — id (current session UUID), list (enumerate sessions), search (keyword + result
★ 0 📥 659

Git Repo

drumrobot
Git 仓库与 SourceGit 集成:克隆(ghq get + 自动注册 SourceGit),修复工作树(裸仓库恢复),合并重复(同源处理)
★ 0 📥 633