pest-testing

Create and maintain Pest PHP tests within Laravel applications.

Updated Jul 15, 2026
One-click install
npx skills add https://github.com/o2b3k/idomarketingbot --skill pest-testing-o2b3k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pest-testing
Source: https://github.com/o2b3k/idomarketingbot/tree/main/.cursor/skills/pest-testing
Command: npx skills add https://github.com/o2b3k/idomarketingbot --skill pest-testing-o2b3k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the friction of writing, refactoring, and maintaining tests in Laravel applications by providing a standardized, efficient workflow for Pest PHP.

Core Features & Use Cases

  • Test Lifecycle Management: Automates the creation, execution, and debugging of Feature, Unit, and Browser tests.
  • Advanced Testing Patterns: Supports modern testing techniques including datasets, architecture testing, and smoke testing for JS errors.
  • Use Case: When refactoring a controller, use this skill to generate a corresponding Pest test file, add assertions for response status and data, and run the test suite to ensure no regressions were introduced.

Quick Start

Use the pest-testing skill to generate a new feature test for the UserProfileController and run it to verify the current implementation.

Frequently Asked Questions about pest-testing

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

FAQPage Schema
How do I generate Pest PHP tests for a Laravel controller?

You can generate Pest PHP tests for a Laravel controller by creating a corresponding feature test file, adding assertions for response status and data, and running the suite to verify the implementation and catch regressions.

What types of testing does Pest PHP support in Laravel applications?

Pest PHP in Laravel applications supports a full spectrum of testing including unit, feature, browser, and architecture tests to ensure comprehensive code quality and structural integrity.

Does the Pest testing skill require a specific version of the Pest framework?

Yes, the Pest testing skill requires adherence to Pest 4 syntax to properly create, organize, and maintain test files within your Laravel applications.

Can I use datasets and architecture testing with Pest in Laravel?

Yes, you can use datasets and architecture testing with Pest in Laravel, as the skill supports modern testing techniques including smoke testing for JS errors, datasets, and comprehensive test lifecycle management.

What is the best way to maintain and refactor Pest tests in Laravel projects?

The best way to maintain and refactor Pest tests in Laravel projects is to use a standardized workflow that ensures proper test organization, utilizes specific response assertions, and eliminates friction during test lifecycle management.