laravel-testing
Laravel Testing
Testing patterns with Pest: Arrange-Act-Assert, proper mocking, null drivers, declarative factories.
Related guides:
- testing-conventions.md - Test file structure and RESTful ordering
- testing-factories.md - Declarative factory methods for readable tests
- validation-testing.md - Form request validation testing
- Actions - Action pattern for unit testing
- Controllers - Controller patterns for feature testing
- DTOs - DTO test factories
- Services - Service layer with null drivers
Philosophy
More from leeovery/agentic-skills
laravel-quality
Code quality tooling with PHPStan, Pint, and strict types. Use when configuring or running static analysis, code style, or linting.
26laravel-query-builders
Custom query builders for type-safe, composable database queries. Use when creating or modifying query builders, query scopes, or complex database queries.
25laravel-architecture
High-level architecture decisions, patterns, and project structure. Use when deciding which pattern to use, organizing code, or making structural decisions.
23laravel-providers
Service providers, bootstrapping, and application configuration. Use when modifying service providers, booters, bootstrap logic, or app-level configuration.
23laravel-validation
Form request validation and comprehensive validation testing. Use when creating or modifying form requests, validation rules, or validation tests.
23laravel-routing
Route configuration, route model binding, and authorization. Use when defining routes, configuring model binding, or setting up route-level authorization.
23