Stack Gems
Menu
← Skills

Test-Driven Development

Write the failing test before implementation

Workflow · MIT

When

Use when implementing any feature or bugfix, before writing implementation code

The Catch

Red, then green, then code. Agents skip the red step constantly.

Embed

Reviewed on Stack Gems
[![Reviewed on Stack Gems](https://stackgems.com/badge/skill/test-driven-development.svg)](https://stackgems.com/skills/test-driven-development)