mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +01:00
[TASK] Enable PHPUnit garbage collector control (#1384)
This is disabled by default and enabled with this change. This has the following effect: - Deactivate automatic garbage collection using gc_disable() before the first test is run - Trigger garbage collection using gc_collect_cycles() before the first test is run - Trigger garbage collection using gc_collect_cycles() after each n-th test - Trigger garbage collection after using gc_collect_cycles() after the last test was run - Activate automatic garbage collection using gc_enable() after the last test was run Resolves: #1328
This commit is contained in:
parent
521c57d886
commit
7dea2ddc0b
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
bootstrap="../../.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
|
bootstrap="../../.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
|
||||||
cacheResult="false"
|
cacheResult="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
|
controlGarbageCollector="true"
|
||||||
convertDeprecationsToExceptions="true"
|
convertDeprecationsToExceptions="true"
|
||||||
convertErrorsToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
convertNoticesToExceptions="true"
|
convertNoticesToExceptions="true"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
bootstrap="../../.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php"
|
bootstrap="../../.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php"
|
||||||
cacheResult="false"
|
cacheResult="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
|
controlGarbageCollector="true"
|
||||||
convertDeprecationsToExceptions="true"
|
convertDeprecationsToExceptions="true"
|
||||||
convertErrorsToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
convertNoticesToExceptions="true"
|
convertNoticesToExceptions="true"
|
||||||
|
|
Loading…
Reference in a new issue