skill-php-testing
CommunityPure PHP testing workflows
Authorclaudioborja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developing tests for pure PHP projects without frameworks can be slow and brittle. This Skill provides a fast, framework-free testing workflow using PHPUnit, in-memory repositories, builders, and test doubles to organize and run unit, integration, and feature tests.
Core Features & Use Cases
- Framework-free testing: run fast unit tests without a PHP framework.
- In-memory repositories: simulate data stores for deterministic tests.
- Layered test suites: Unit, Integration, and Feature tests with builders and fixtures.
- Test doubles and mocks: verify interactions using stubs, mocks, and spies with PHPUnit.
- TDD guidance: support red-green-refactor cycles and clear naming conventions.
Quick Start
Install dependencies with composer and run the PHPUnit suite to start validating tests.
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: skill-php-testing Download link: https://github.com/claudioborja/biblioteca/archive/main.zip#skill-php-testing 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.