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 10K+ 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

Comments are closed.

Alessandro Lai at 12:32 on 12 May 2017

Michelangelo is a really great speaker, and knows how to narrate a story and capture the audience. But I think that the topic of this talk was a bit "thin".

great work behind of a good concept to develop. I hope he will work on a cli tool to improve all he showed
clear explanation and good personal solutions exposed

A friendy talk about a simple experience.
The idea to run multiple container is worth.

Matteo Riva at 20:19 on 12 May 2017

Interesting talk on a subject I have never considered. The example used was not very clear and in part appeared to be not very fit for the problem (the parallel tasks were not equally divided) and the final result in execution time did not seem very different from the single execution. Still a good idea to try in practice.

Michelangelo knows how to drive a crowd, so I was never bored. The topic however is not so clear: Docker does not seem necessary to perform the parallelization of tests, and the proposed strategy of using groups is not the most effective in spreading workload across all the cores of a machine.