Dockerize your unit tests for faster feedback

Michelangelo van Dam (12.May.2017 at 12:00, 1 hr )
Talk at phpDay 2017 (English - UK)

Rating: 4 of 5

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.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 3 of 5

12.May.2017 at 12:32 by Alessandro Lai (84 comments) via Android app

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".

Rating: 5 of 5

12.May.2017 at 14:32 by Emanuele Gaspari (11 comments) via Web2 LIVE

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

Rating: 4 of 5

12.May.2017 at 15:56 by Michele Carino (5 comments) via Web2 LIVE

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

Rating: 4 of 5

12.May.2017 at 20:19 by Matteo Riva (11 comments) via Web2 LIVE

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.

Rating: 2 of 5

13.May.2017 at 16:04 by Giorgio Sironi (75 comments) via Web2 LIVE

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.

© 2018