Dockerize your unit tests for faster feedback

Michelangelo van Dam (16.Feb.2017 at 19:30, 1 hr )
Talk at AmsterdamPHP Monthly Meeting - February/2017 (English - US)

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

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

 
Comments closed.

Comments

Rating: 4 of 5

17.Feb.2017 at 11:48 by Jeroen v.d. Gulik (99 comments) via Web2 LIVE

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.

© Joind.in 2019