pest-basics
Installation
SKILL.md
Pest PHP Testing Basics
When to use
- The user wants to convert an existing PHPUnit test class into Pest's function-style syntax.
- The user wants to run the same Pest test across many cases using a dataset.
- The user wants to write a Pest test using
test()orit()with theexpect()API.
When NOT to use
- Do not use this skill when the project standard is plain PHPUnit TestCase classes and Pest is not installed.
- Do not target Pest 2/3 when the runtime is PHP 8.0 or earlier; stay on the last compatible Pest line or plain PHPUnit.