Ever got the message "Fatal error: Out of memory" when running your unit tests? Or do you have to wait for more than 5 minutes for all of your unit tests to complete? We're using Docker to mitigate these and other issues. In this session I will show you how we have split up a single testsuite of 3K+ tests into manageable unit modules which are executed by Docker micro instances in parallel. And with this set up we test our application on the current PHP version, but it also allows us to test against a new major PHP version the moment it is released or even is available in beta.


Comments are closed.

I had seen one of the earlier adaptations of this talk, and it was quite different and a bit more chaotic than the current version. The version presented here, was clean, very well thought out and straight to the point. Michelangelo does a great job at explaining the problem, and guiding us through the thought process of iteratively improving on the speed at which the unit tests run. He could hit home a bit harder, because it took some time for the audience to 'get' how awesome it is to run your tests in parallel in throw-away containers. Other than that a well presented talk.