pest-testing

Automate Pest 4 testing workflows for PHP Laravel applications.

30|13|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/acara-app/plate --skill pest-testing-acara-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pest-testing
Source: https://github.com/acara-app/plate/tree/main/.agents/skills/pest-testing
Command: npx skills add https://github.com/acara-app/plate --skill pest-testing-acara-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pest testing is a developer productivity blocker when setting up, running, and validating PHP tests across unit, feature, and browser scopes. This skill streamlines the Pest 4 testing workflow, guiding teams to write clean tests, leverage mocks, and ensure reliable test runs.

Core Features & Use Cases

  • Create Pest tests with the standard Pest 4 structure in tests/Unit, tests/Feature, and tests/Browser.
  • Run and debug tests efficiently with the Pest 4 expectations and browser support, including Livewire components and data-driven tests.
  • Enforce consistent testing practices, mock data, and reusable test patterns across Laravel applications.

Quick Start

Create a new Pest test using php artisan make:test --pest YourTest and run tests with php artisan test.

Frequently Asked Questions about pest-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Pest PHP tests for a Laravel application?

Run Pest PHP tests by executing php artisan test to validate your Laravel application. This automates the execution of unit, feature, and browser tests, applying Pest 4 expectations to ensure code reliability and clean test outputs.

How do I structure Pest tests in a Laravel project?

Organize Pest tests by placing them in the tests/Unit, tests/Feature, and tests/Browser directories. This structure enforces consistent testing practices across your Laravel application and aligns with standard Pest 4 conventions for different test scopes.

Can I test Livewire components and use data-driven tests with Pest?

Yes, you can test Livewire components and execute data-driven tests with Pest. The framework supports these features, allowing you to apply Pest 4 expectations and mocks to validate Livewire interactions and data-driven scenarios efficiently.

Does this Pest testing workflow require a specific version of Pest?

Yes, this workflow requires Pest 4 tooling to function correctly. It adheres to Pest 4 conventions, utilizing its specific expectations and browser support to guide teams in writing clean tests and ensuring reliable test runs.

What is the best way to debug failing Pest tests in Laravel?

Debug failing Pest tests by running php artisan test and utilizing Pest 4 expectations to trace failures. The workflow supports efficient debugging across unit, feature, and browser tests, including Livewire components and data-driven scenarios.