What problem does it solve? Writing valuable Laravel tests is hard: teams often test framework behavior instead of application contracts, duplicate coverage across layers, or write flaky tests that depend on real time, randomness, and network calls. This Skill provides a structured rule set for designing, writing, and reviewing Pest and PHPUnit tests so every test detects a distinct defect. ## Core Features & Use Cases - Coverage and Naming Rules: Decide what to test, name tests as behavior specifications, and structure files to mirror the class under test. - Isolation and Determinism: Control time, randomness, sleep, outbound HTTP, and database state using Laravel fakes and Pest helpers. - Security and Endpoint Testing: Cover authentication, authorization, tenant isolation, validation messages, escaping, and injection boundaries. - Use Case: When adding a ticket purchase endpoint to a Laravel app, use this Skill to write feature tests covering authentication, validation failures, wallet debit side effects, and cross-tenant access, then review the suite against the review checklist. ## Quick Start Ask the assistant to write Pest feature tests for a specific Laravel controller or action following the testing-best-practices rules.