laravel-tdd

Installation
SKILL.md

Laravel TDD Workflow

Test-driven development for Laravel applications using PHPUnit and Pest with 80%+ coverage (unit + feature).

When to Use

  • New features or endpoints in Laravel
  • Bug fixes or refactors
  • Testing Eloquent models, policies, jobs, and notifications
  • Prefer Pest for new tests unless the project already standardizes on PHPUnit

How It Works

Red-Green-Refactor Cycle

  1. Write a failing test
  2. Implement the minimal change to pass
  3. Refactor while keeping tests green
Installs
493
Repository
affaan-m/ecc
GitHub Stars
208.6K
First Seen
May 19, 2026
laravel-tdd — affaan-m/ecc