Skip to content

How-To Guides

ATDD Through Automate

For ATDD, run Automate in red mode. Use /bmad-tea-automate in Claude Code, Cursor, or Windsurf, $bmad-tea-automate in Codex, or TA in a TEA agent chat. Ask for acceptance tests before implementation to select red mode. Existing ATDD customizations and interrupted progress remain usable.

See Automate red mode for acceptance scaffolds, verification, and the implementation handoff.

These anchors keep links from earlier versions usable. Open the linked section for the full guidance.

How to Run ATDD with TEA

When to Use This

Prerequisites

Steps

1. Run Automate in Red Mode

2. Provide Context

3. Specify Test Levels

Component Testing by Framework

4. Review Generated Tests

API Tests (tests/api/profile.spec.ts):

E2E Tests (tests/e2e/profile.spec.ts):

Implementation Checklist

5. Verify Red-Phase Scaffolds

6. Implement the Feature

7. Verify Tests Pass

What You Get

Red-Phase Test Scaffolds

Implementation Guidance

TDD Workflow Support

Tips

Start with Test Design

Browser Automation (Optional)

Focus on P0/P1 Scenarios

API Tests First, E2E Later

Keep Tests Deterministic

Related Guides

Understanding the Concepts

Reference