mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 15:05:09 +01:00
f66a8e9e93eecc33e0d937f6cb697fb5a173b254
`Backtrace::backtrace()` skipped a frame when its path held `pest/src`, so a checkout of this repository in a directory with any other name, such as `pest5`, returned `src/Support/Backtrace.php` as the file of the caller and `tests/Unit/Support/Backtrace.php` failed. The frame check now compares against the directory that holds this file, which is the same directory whether Pest runs from its own checkout or from `vendor/pestphp/pest`, and the global that marked the internal test suite has no reader left. Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Punyapal Shah <53343069+MrPunyapal@users.noreply.github.com>
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%
