Session

Using docker-compose to replicate the application production environment for your tests

One of the worst things a developer can say to anyone is “it works on my machine”, everyone feels bad about this.

And most of the times, this happens because the developer tested the application with the “services” installed in the development machine, and those services had manual configurations, different versions, different addresses, lots of small things that can make the application fail in production.

Using docker-container can help solve this creating one isolated environment where the version of all softwares can be the exact same as production, with the same addresses, environment variables, and test the application as close as possible to the real environment.

After this talk, everyone will learn:

* how to package a simple application with docker
* how to configure the “production” environment for the automated tests
* how to speed up the test execution
* how to run tests in parallel without changing any of the test code
* how to use the same configuration to deploy the complete environment to SWARM if that is your deployment choice

Rodrigo Jardim

Lead Developer at Brightwire - I work to help developers to use the best tools for each job so they can solve hard problems, with less bugs and have more free time.

Porto Alegre, Brazil

View Speaker Profile