phpunit-plugin-test
OfficialAutomate PHPUnit test scaffolding and checks.
Authormyadmin-plugins
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides developers in creating or extending PHPUnit tests in tests/PluginTest.php, following the bootstrap pattern in tests/bootstrap.php (dual autoloader) and a dedicated namespace Detain\MyAdminBackups\Tests\. It enables consistent, repeatable test scaffolding for MyAdmin backup plugin tests.
Core Features & Use Cases
- Provides a standardized template and guidance for writing tests in
tests/PluginTest.phpaligned with the bootstrap approach. - Enforces the namespace
Detain\MyAdminBackups\Tests\to maintain test organization and avoid collisions. - Supports a repeatable workflow for running tests with the specified PHPUnit command to validate plugin behavior in isolation.
Quick Start
Create or extend tests in tests/PluginTest.php following the bootstrap pattern in tests/bootstrap.php and run with vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v.
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: phpunit-plugin-test Download link: https://github.com/myadmin-plugins/backups-module/archive/main.zip#phpunit-plugin-test 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.