Dockerize your unit tests for faster feedback

Michelangelo van Dam (22.Apr.2017 at 15:00, 50 min)
Talk at Lone Star PHP 2017 (English - US)

Rating: 5 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: 5 of 5

22.Apr.2017 at 15:29 by Damien Burns (16 comments) via Web2 LIVE

Very nice example of using docker, liked seeing the process that was gone through to arrive at the best command line use.

Rating: 5 of 5

22.Apr.2017 at 15:35 by Joe McMaster (7 comments) via Web2 LIVE

Expanded my view of how to use Docker and solved a problem I didn't know I had yet. Clear examples, great presentation.

Rating: 5 of 5

22.Apr.2017 at 15:36 by Michael Robinson (15 comments) via Web2 LIVE

Looking into Docker already, this was a great use case of how it can be leveraged. Enjoyed the talk, thank you.

© Joind.in 2017