FriendsOfTYPO3 / tea

Example extension for unit testing and best practices.
https://typo3.org/community/teams/best-practices
GNU General Public License v2.0
74 stars 23 forks source link

Configure the tests to use controlled garbage collection #1328

Open oliverklee opened 3 months ago

oliverklee commented 3 months ago

I as a user want to have control over the garbage collector.

Acceptance criteria

Additional Information

Activating the controlgarbagecollector-attribute has these effects:

https://docs.phpunit.de/en/11.1/configuration.html#the-controlgarbagecollector-attribute

Hint

Maybe we have to set the numberOfTestsBeforeGarbageCollection. Default value is 100.

oliverklee commented 1 month ago

Reopening. This configuration option is not available in PHPUnit 9.x, but was introduced for versions 10 and 11 only. I'll revert this change.