One-click install
npx skills add https://github.com/TijmenWierenga/fitapp --skill pest-testing-tijmenwierenga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pest-testing
Source: https://github.com/TijmenWierenga/fitapp/tree/main/.junie/skills/pest-testing
Command: npx skills add https://github.com/TijmenWierenga/fitapp --skill pest-testing-tijmenwierenga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pest testing automates the creation and maintenance of PHP tests using Pest 4, enabling teams to write clean, readable tests instead of boilerplate setup.

Core Features & Use Cases

  • Write unit, feature, and browser tests using Pest 4 with Laravel projects.
  • Organize tests under tests/Unit, tests/Feature, and tests/Browser; support mocking, data-driven tests, and architectural checks.
  • Debug test failures, validate expectations, and ensure consistent test quality across the codebase.

Quick Start

Create a Pest-based test with php artisan make:test --pest {name} to start.

Frequently Asked Questions about pest-testing

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

FAQPage Schema
How do I write Laravel feature tests using Pest?

You can structure Laravel feature tests using Pest 4 by organizing them under the tests/Feature directory and running them via php artisan test. This approach leverages Laravel's testing helpers to automate readable, boilerplate-free test creation and validation.

Can I organize unit, feature, and browser tests in the same PHP project?

Yes, you can organize unit, feature, and browser tests in the same PHP project by structuring them under tests/Unit, tests/Feature, and tests/Browser. Pest 4 automates this organization to maintain consistent test quality across your codebase.

Does Pest 4 support data-driven testing and mocking for PHP applications?

Pest 4 does support data-driven testing and mocking for PHP applications. It automates these testing techniques to help you validate expectations and debug failures efficiently without writing repetitive boilerplate setup code.

What do I need to run Pest tests in a Laravel application?

To run Pest tests in a Laravel application, you need PHP 8+, Pest 4, and Laravel's testing helpers. Tests are executed using the `php artisan test` command to validate your application logic across organized test suites.

What is the best way to debug failing PHP tests in a structured test suite?

The best way to debug failing PHP tests in a structured suite is by using Pest 4 to validate expectations and pinpoint failures. It automates debugging across tests/Unit, tests/Feature, and tests/Browser directories to ensure consistent code quality.