2026-07-19 11:12 UTC
Just switched a four-year-old project with more than 1.000 #PHPUnit feature tests to parallel test execution with a decrease in execution time from nine to less than two minutes. Not entirely without friction, but worth the effort. Learned a lot about garbage collection and memory leaks, things, you usually neglect in your daily work.
Replies (2)
-
@danielsiepmann@friendica.daniel-siepmann.de 2026-07-19 14:36
@helmutstrasser@mstdn.social We did the same for >3000 tests, down from 20 to 8 minutes. Always dependa on system resources as they define how many tests can be run in parallel. So it also depends on the employees computer.
-
@danielsiepmann@friendica.daniel-siepmann.de 2026-07-19 14:43
Question to you @helmutstrasser@mstdn.social, did you use it with TYPO3 testing framework? Did you need to patch the testing framework? We patched it to use the environment variable to have unique databases and filesystsems, as we used the functional argument to run tests within same class in parallel.