Do not export data passed to test for PHPUnit\Event\Code\TestMethod
value object by default
#5524
Labels
feature/data-provider
Data Providers
feature/events
Issues related to PHPUnit's event system
feature/test-runner
CLI test runner
type/performance
Issues related to resource consumption (time and memory)
Milestone
The data provided to a test by a data provider (or by another test methods through test dependencies) is exported to a string for the value object that represents the test for the event system. This export is performed using sebastian/exporter.
PHPUnit's own event subscribers do not use this exported data, the export can therefore be made optional. This would be similar to what we did in #5515 for the
Test\AssertionSucceeded
andTest\AssertionFailed
events.Motivated by phpstan/phpstan#9914.
The text was updated successfully, but these errors were encountered: