Red Green Refactor

Use when practicing TDD: writing the failing test first, making it pass with the minimum code, refactoring under green, choosing between unit, integration, and end-to-end tests, or deciding how to build fixtures (inline, factory functions, shared pytest fixtures). Covers the red-green-refactor cycle with the mistakes at each phase, test-first case ordering, the transformation priority premise, Arrange-Act-Assert, fixture strategies, and test isolation, with Python examples.

AeyeOps Updated

File contents

AeyeOps/aeo-skill-marketplace/tree/main/aeo-tdd-workflow/skills/red-green-refactor commit 4da2971417

Frequently asked questions

npx skillmds@latest add aeyeops/red-green-refactor