0088-laravel-tdd-with-pest
CommunityBuild Laravel features by failing first tests
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you write Laravel code with confidence by making you start from a failing test, then implement the smallest change that satisfies the expected behavior.
Core Features & Use Cases
- RED-GREEN-REFACTOR workflow: Drive development by confirming the test fails first, implementing minimal code to pass, and then improving clarity and structure.
- Practical Laravel testing patterns: Use model factories, prefer feature tests for HTTP/controller behavior, and keep tests deterministic and fast (including parallel test runners).
- Debugging and design guidance: Treat difficult tests as a signal of overly coupled code and refactor toward small services and better dependency injection.
Quick Start
Run Pest or PHPUnit tests in parallel with your Laravel app, starting by adding a feature test that demonstrates the behavior you want, confirming it fails, and then writing only the minimal code needed to make it pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: 0088-laravel-tdd-with-pest Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0088-laravel-tdd-with-pest Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.