avinash e601e6df31 fix: preserve full error message in not() expectation failures
When using not() expectations with custom error messages, the message
was truncated because throwExpectationFailedException() passed all
arguments through shortenedExport() which limits strings to ~40 chars.

Uses the full export() method for arguments instead of shortenedExport()
so custom error messages are displayed in their entirety.

Fixes #1533
2026-04-07 18:12:54 +05:30
2024-01-25 18:06:35 +01:00
2026-03-10 21:06:28 +00:00
2025-07-22 11:39:34 +01:00
2020-08-04 12:54:49 +03:00
2024-12-01 20:41:34 +00:00
2026-04-06 21:57:41 +01:00
2020-05-11 18:38:30 +02:00
2025-03-29 17:44:06 +00:00
2026-02-24 10:44:48 +00:00
2025-12-30 14:48:33 -05:00
2025-08-20 15:30:59 +01:00

PEST

GitHub Workflow Status (master) Total Downloads Latest Version License Why PHP in 2026


Pest v4 Now Available: Read the announcement ».

Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.

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.

Platinum Sponsors

Gold Sponsors

Premium Sponsors

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

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 6.4 MiB
Languages
PHP 99.3%
HTML 0.6%