
Description
laravel-tdd is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out test-driven development for Laravel applications using PHPUnit or Pest, Laravel model factories and testing helpers. It covers writing feature tests for HTTP controllers and form requests, testing Eloquent models, relationships, scopes and accessors, testing API endpoints protected by Sanctum or Passport, mocking external services such as queues, mail, notifications and HTTP calls, and setting up the testing infrastructure for a project. It follows a red, green, refactor cycle. The skill applies when writing new Laravel applications or features, implementing API endpoints, testing models or controllers, setting up a test suite, or mocking external calls. Because it is a SKILL.md file of instructions, the agent loads it for those tasks and writes tests in the same structure each time. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- PHPUnit and Pest test patterns
- Feature tests for controllers and requests
- Model, relationship and scope tests
- Mocking queues, mail and HTTP
Ratings & Reviews
No ratings yet
Be the first to rate laravel-tdd.
People also visit

golang-testing
Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing

laravel-verification
Verification loop for Laravel projects: env checks, linting, static analysis

perl-testing
Perl testing patterns using Test2::V0, Test::More, prove runner, mocking
laravel-tdd FAQ
What does the laravel-tdd skill do?
It guides an agent in writing Laravel tests with PHPUnit or Pest, using a red, green, refactor cycle.
Can it test authenticated APIs?
Yes. It covers Sanctum and Passport authentication testing.
What external services can it mock?
Queues, mail, notifications and HTTP, according to the listing.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill laravel-tdd
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best laravel-tdd alternatives?
Popular alternatives to laravel-tdd include tdd, django-tdd and golang-testing. See all laravel-tdd alternatives

