Mohannad Elemary 66e585081a fix(tia): stop ReadCapture from keeping a wrapper per filesystem call (#2057)
* fix(tia): free the ReadCapture wrapper each time it steps aside

stream_wrapper_restore() takes a user wrapper out of the wrapper table
but does not free it, so every filesystem call made while a test records
kept one until the process ended. Unregistering it first frees it.

* fix(tia): skip the unregister when file:// is already gone

A test can unregister file:// itself. stream_wrapper_unregister() then
warns, where stream_wrapper_restore() alone did not, so check first.

Also run the per-test memory check over 5,000 tests and update the
snapshot and parallel totals for the new tests.

* Use fopen() in the memory regression test

---------

Co-authored-by: Mohannad Elemary <20709195+MohannadElemary@users.noreply.github.com>
2026-11-22 02:11:09 +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-11-07 03:15:59 +00: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-11-07 03:15:59 +00:00
2026-11-16 23:20:56 +05:30
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-11-07 03:15:59 +00:00
2026-11-20 17:07:24 +00: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%