mirror of
https://github.com/pestphp/pest.git
synced 2026-12-05 23:32:17 +01:00
7abf68e70642d940f1e27d695742ef62d1ccd395
* fix: allow --init without a tests directory Boot aborted before TIA state was registered, and shutdown then tried to construct the plugin. That hid the real error behind "State cannot be resolved" on a fresh install. Closes #1934 * fix: detect --init anywhere in the arguments Flags before --init were still treated as a normal run and failed when tests/ did not exist. * fix: drop duplicate Kernel::$booted and share --init check 5.3.1 already gates plugin termination on boot, so the rebase must not declare $booted again. --init and --init=value now share HandleArguments::hasArgument, and the success snapshot includes the new init tests. * test: fix init suite expectations Parallel total omitted the four --init tests, which failed the success snapshot. Rector requires toBeFile(). --------- Co-authored-by: Tiago Santos <tsantos@lynixt.pt>
Pest v5 Now Available: Read the announcement ».
Pest is an elegant testing framework for PHP developers and AI agents.
- Explore our docs at pestphp.com »
- Follow the creator Nuno Maduro:
- YouTube: youtube.com/@nunomaduro — Videos every week
- Twitch: twitch.tv/nunomaduro — Live coding on Mondays, Wednesdays, and Fridays at 9PM UTC
- Twitter / X: x.com/enunomaduro
- LinkedIn: linkedin.com/in/nunomaduro
- Instagram: instagram.com/enunomaduro
- Tiktok: tiktok.com/@enunomaduro
Sponsors
We cannot thank our sponsors enough for their incredible support in funding Pest's development. Their contributions have been instrumental in making Pest the best it can be. For those who are interested in becoming a sponsor, please visit Nuno Maduro's Sponsor page at github.com/sponsors/nunomaduro.
- PhpStorm
- CodeRabbit
- SerpApi
- Bento
- CMS Max
- Redberry
- Typesense
- Pixel
- NativePHP
- TestMu AI
- Zapiet
- LoadForge
- Route4Me
- Nerdify
Pest is an open-sourced software licensed under the MIT license.
Languages
PHP
99.3%
HTML
0.6%
