laravel:controller-tests
CommunityWrite focused controller tests
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write more efficient and maintainable controller tests by focusing on HTTP assertions and offloading complex logic to separate, unit-testable components like Actions and Services.
Core Features & Use Cases
- HTTP Assertions: Directly test API endpoints and their responses.
- Validation Testing: Assert that validation rules are correctly applied.
- Logic Separation: Encourages moving business logic out of controllers for better testability.
- Use Case: Ensure that a user registration endpoint correctly rejects requests with an empty email address, asserting the presence of a session error.
Quick Start
Use the laravel:controller-tests skill to write a test that rejects empty email during registration.
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: laravel:controller-tests Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-controller-tests 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 223,000+ vetted skills library on demand.