Jhon Farias f66a8e9e93 fix: skip the frames of Pest by its own directory, not by the name of the checkout (#1913)
`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>
2026-11-01 00:10:56 +05:30
2026-10-31 14:26:34 +00:00
2026-10-31 14:26:34 +00:00
2026-10-27 10:34:49 +00:00
2026-10-31 14:26:34 +00:00
2026-08-11 01:47:14 +01:00
2026-10-07 23:02:36 +04:00
2020-08-04 12:54:49 +03:00
2026-08-24 09:31:34 +01:00
2026-10-31 14:26:34 +00:00
2026-10-31 14:31:12 +00:00
2020-05-11 18:38:30 +02:00
2026-04-10 16:50:10 +01:00
2026-07-18 01:10:01 +01:00
wip
2026-08-05 19:58:57 +01:00
2026-08-07 14:52:56 +01:00
2026-08-18 19:42:16 +01:00
2026-09-07 12:01:12 +01:00
2026-06-12 07:29:53 +01:00

PEST

GitHub Workflow Status (5.x) Total Downloads Latest Version License Why PHP in 2026 YouTube Channel Subscribers


Pest v5 Now Available: Read the announcement ».

Pest is an elegant testing framework for PHP developers and AI agents.

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.

Pest is an open-sourced software licensed under the MIT license.

S
Description
Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
Readme 9.5 MiB
Languages
PHP 99.3%
HTML 0.6%