rewrite-tests-pest
CommunityRewrite PHPUnit tests into clean Pest.
Software Engineering#testing#code refactoring#phpunit#CI verification#deterministic tests#pestphp#test migration
Authorpekral
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you modernize an existing PHPUnit test suite to Pest syntax without changing what the tests actually verify, so you can improve readability and maintainability while keeping confidence in behavior.
Core Features & Use Cases
- Deterministic Pest rewrites: Preserve original intent and coverage while converting structure, assertions, and setup into Pest style.
- Readable, conventional organization: Use clear Arrange/Act/Assert flow and reduce duplication using helper methods and datasets when it improves clarity.
- Guardrails for correctness: Avoid reflection, avoid
covers(), prefer mocks/partial mocks, and split success vs failure scenarios into separate tests where practical.
Quick Start
Use the rewrite-tests-pest skill when you have existing PHPUnit-style tests you want converted to Pest while keeping the same behavior and ensuring the rewritten tests pass reliably.
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: rewrite-tests-pest Download link: https://github.com/pekral/pekral.cz/archive/main.zip#rewrite-tests-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.