pest-testing

Create, execute, and debug PHP tests using the Pest testing framework.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/insanealec/home-inventory --skill pest-testing-insanealec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pest-testing
Source: https://github.com/insanealec/home-inventory/tree/main/.opencode/skills/pest-testing
Command: npx skills add https://github.com/insanealec/home-inventory --skill pest-testing-insanealec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of writing, running, and debugging tests for PHP applications using the Pest testing framework, ensuring code quality and reliability.

Core Features & Use Cases

  • Test Creation: Generate unit, feature, and browser tests with clear structure.
  • Assertion Guidance: Provides correct assertion methods for various scenarios.
  • Debugging Assistance: Helps identify and resolve test failures.
  • Advanced Features: Supports browser testing, smoke testing, visual regression, and architecture testing.
  • Use Case: When developing a new feature, use this Skill to quickly scaffold comprehensive tests, ensuring all edge cases are covered and the feature functions as expected.

Quick Start

Use the pest-testing skill to create a new feature test named 'User dapat login'.

Frequently Asked Questions about pest-testing

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

FAQPage Schema
How do I write and run Pest PHP tests for my application?

To write and run Pest PHP tests, you can generate unit, feature, and browser tests with a clear structure, execute them, and debug failures using provided assertion guidance and dataset support.

What is architecture testing in Pest and how does it work?

Architecture testing in Pest validates your application structural constraints. This Skill supports Pest 4 architecture testing features, allowing you to enforce specific design rules and prevent architectural regressions.

Can I use Pest for browser testing and visual regression?

Yes, you can use Pest for browser testing and visual regression. This Skill supports Pest 4 features, enabling you to simulate user interactions, perform smoke testing, and detect visual regressions.

How do I debug failing Pest tests and mock dependencies?

To debug failing Pest tests and mock dependencies, this Skill provides debugging assistance to identify failures and supports mocking dependencies to isolate components during unit and feature testing.

Does Pest support test sharding for large PHP test suites?

Pest supports test sharding to optimize large PHP test suites. This Skill covers Pest 4 test sharding features, allowing you to split tests across multiple processes to reduce overall execution time.