0090-laravel-testing

Community

Write reliable Pest tests with confidence.

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you avoid brittle, slow, and confusing Laravel tests by standardizing how you arrange data, perform actions, and assert outcomes with Pest.

Core Features & Use Cases

  • Arrange-Act-Assert discipline to keep tests focused, readable, and resilient to refactors.
  • Mocking patterns that don’t break: mock only what you own, swap dependencies in the container, and verify arguments safely.
  • Null driver strategy to create deterministic, fast tests without external services.
  • Declarative factories for intent-first data so tests don’t leak database schema details.
  • Testing approach by layer: feature tests for HTTP cycles and unit/action tests for domain logic isolation.

Quick Start

Use the 0090-laravel-testing skill when you need to write a new Pest test for a Laravel action and want it to follow Arrange-Act-Assert with declarative factories.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 0090-laravel-testing
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0090-laravel-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.