Skip to main content
Run any Skill in Manus
with one click

phpunit-test

Stars5
Forks1
UpdatedMarch 30, 2026 at 04:56

Writes PHPUnit 9.6 tests under `tests/` using the `Detain\MyAdminDomains\Tests\` namespace and bootstrap from `tests/bootstrap.php`. Use when user says 'add test', 'write unit test', 'test the plugin', or 'test hook handler'. Covers Plugin::getHooks(), Plugin::$settings, static properties, and event handler signatures via ReflectionClass — without requiring the MyAdmin runtime. Do NOT use for integration tests that need a live DB or full MyAdmin bootstrap.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly