What problem does it solve? Writing tests in Laravel projects requires consistent Pest syntax, correct assertions, and knowledge of Pest 4 features like browser testing and datasets. This Skill ensures every test you write, fix, or refactor follows Pest conventions and uses the right patterns for unit, feature, browser, and architecture tests. ## Core Features & Use Cases - Pest Test Authoring: Generates tests using test()/it()/expect() syntax, datasets for repetitive validation cases, and proper mocking with Pest\Laravel\mock. - Browser & Smoke Testing: Creates real-browser tests in tests/Browser with page interactions, JavaScript error assertions, multi-device viewports, and smoke tests across multiple pages. - Architecture & Convention Enforcement: Uses arch() tests to enforce code conventions and matches existing project test style before writing new tests. - Use Case: After a code change breaks your suite, ask the AI to fix the failing tests, convert legacy PHPUnit tests to Pest, and add a smoke test verifying your main pages have no JavaScript errors. ## Quick Start Write a Pest feature test for the checkout flow and run it with php artisan test --compact --filter.