From superpowers-laravel
Writes focused Laravel controller tests using HTTP assertions; promotes extracting logic to Actions/Services for unit tests and Form Requests for validation.
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelThis skill uses the workspace's default tool permissions.
```php
Guides Test-Driven Development for Laravel apps using Pest PHP: write failing tests first for features, bug fixes, controllers, models, APIs, then minimal code to pass and refactor.
Guides Laravel 13 testing with Pest PHP 4 or PHPUnit 12, covering framework detection, syntax, feature/unit tests, HTTP endpoints, model factories, database assertions, mocking facades, and authentication.
Guides TDD in Laravel with PHPUnit/Pest: unit/feature/integration tests, factories, RefreshDatabase, fakes, and 80%+ coverage for features, bugs, refactors, Eloquent models.
Share bugs, ideas, or general feedback.
it('rejects empty email', function () {
$this->post('/register', ['email' => ''])->assertSessionHasErrors('email');
});