Test Driven Workflow

RED GREEN REFACTOR cycle with pytest and coverage

LoopyLuci Updated 1 repo stars

File contents

TDD Workflow

Cycle

  1. RED: Write failing test first
  2. GREEN: Write minimal code to pass
  3. REFACTOR: Clean up while keeping tests green
# Run tests in watch mode
pytest-watch
# Run with coverage
pytest --cov=src --cov-report=term-missing

LoopyLuci/Skills/tree/main/skills/test-driven-workflow commit 20d27a8486

Frequently asked questions

npx skillmds@latest add loopyluci/test-driven-workflow