Changed
- When gathering the telemetry information that each event has, the real size of memory allocated from the operating system is no longer used as this is grown by PHP's memory manager in chunks that are so large that small(er) increases in peak memory usage cannot be seen
- The peak memory usage returned by
memory_get_peak_usage()
is now reset immediately before the Test\Prepared
event is emitted using memory_reset_peak_usage()
so that (memory usage at Test\Finished
- memory usage at Test\Prepared
) is a better approximation of the memory usage of the test
- The string representation of
Telemetry\Info
now uses peak memory usage instead of memory usage (this affects --log-events-verbose-text
)
Fixed
- #6173: Output from
error_log()
is not displayed when test fails
- A "Before Test Method Errored" event is no longer emitted when a test is skipped in a "before test" method
How to install or update PHPUnit