pest-testing

Create, execute, and debug Pest 4 tests for PHP applications.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/jftecnologia/laravel-base-template --skill pest-testing-jftecnologia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pest-testing
Source: https://github.com/jftecnologia/laravel-base-template/tree/main/.claude/skills/pest-testing
Command: npx skills add https://github.com/jftecnologia/laravel-base-template --skill pest-testing-jftecnologia

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 ease.
  • Assertion Guidance: Provides correct assertion methods for various scenarios.
  • Debugging Support: Helps in identifying and resolving test failures.
  • Advanced Features: Supports browser testing, smoke testing, visual regression, test sharding, and architecture testing.
  • Use Case: When developing a new feature, use this Skill to create comprehensive unit and feature tests, ensuring the new code integrates seamlessly and behaves as expected.

Quick Start

Use the pest-testing skill to create a new feature test named 'User can log in'.

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 a new feature?

To write and run Pest PHP tests, generate unit, feature, and browser tests using this Skill, implement assertions, and execute them to verify your new code integrates seamlessly and behaves as expected.

What is architecture testing in Pest and when do I need it?

Architecture testing in Pest verifies your application's structural integrity by ensuring code adheres to specific architectural rules. You need it for robust application verification and preventing architectural drift.

Can I use Laravel datasets and mocking in Pest tests?

Yes, you can utilize datasets and mocking in Laravel Pest tests. This Skill supports implementing assertions and mocking to handle multiple scenarios and isolate dependencies during test execution.

Does Pest support browser testing and visual regression?

Yes, Pest supports browser testing and visual regression. This Skill facilitates creating browser tests and running visual regression checks for robust application verification.

Why does my Pest test fail and how do I debug it?

If your Pest test fails, use this Skill's debugging support to identify and resolve test failures. It helps analyze assertions and execution flow to ensure code quality and reliability.