godot-testing-patterns
Installation
SKILL.md
Testing Patterns
GUT framework, assertion patterns, mocking, and async testing define automated validation.
TDD Cycle (Red-Green-Commit) — MANDATORY
Every bug fix or feature follows this exact cycle. No steps may be skipped.
- Hypothesize — Identify the potential cause or desired behavior
- Write a failing test — Confirms the hypothesis
- Run the test → confirm RED — Execute it. If it passes, hypothesis is wrong — revise
- Implement the fix/feature — Minimum code to pass
- Run the test → confirm GREEN — Execute it. If it fails, iterate on the fix
- Commit
CRITICAL: Steps 3 and 5 are non-negotiable. A test that was never run proves nothing. An agent that skips test execution and claims something is "fixed" or "verified" is violating the project's core practice.