LMK-8064 Integration Testing with Docker and Testcontainers | Devoxx

Devoxx UK 2019
from Wednesday 8 May to Friday 10 May 2019.

   Integration Testing with Docker and Testcontainers

Hands-on Lab

Cloud, Containers & Infrastructure
Cloud, Containers & Infrastructure
Intermediate level
Lab Room C Wednesday from 09:30 til 12:30

Unit testing is fine, but without proper integration testing, especially if you work with external resources like databases and other services, you might not know how your application will actually behave once it has been deployed to the real production environment.

Before Docker, configuring the environment for integration testing was painful – people were using fake database implementations, mocking servers, usually it was not cross-platform as well. However, thanks to Docker, now we can quickly prepare the environment for our tests.

In this workshop we would like to show how you can use Testcontainers ( https://github.com/testcontainers/testcontainers-java ) – a popular Java testing library that harnesses Docker to easily, reliably, spin up test dependencies. We will use it with a Spring Boot microservice and test against real PostgreSQL and Redis data stores, we’ll isolate it from other microservices, then start Selenium browsers in Docker and test our application, and all with the same library!

Come and learn why Apache, Spring, ZeroTurnaround, JetBrains, Playtika, Zipkin and others already decided to use Testcontainers for their integration testing needs!

Docker   testing   JUnit   Java   Containers  
Subscribe to Devoxx on YouTube
Kevin Wittek
Kevin Wittek
From codecentric AG

Testcontainers co-maintainer and Testcontainers-Spock author. Software Craftsman and testing fan. Loves to play the electric guitar and is a musician in his second life. Found his own company during his university years, developing mobile apps and client-server applications, which lead to his discovery of Grails and the Groovy ecosystem. Fell in love with TDD because of Spock. Nowadays Kevin is working at Software Engineer at Codecentric and focuses on topics such as software craftsmanship, infrastructure as code and continuous integration pipelines, trying to make the world a better place one container at a time.

Richard North
Richard North
From Skyscanner

Richard is a lifelong geek, and has worked professionally in software engineering for 12 years. His early career as a consultant took him through a wide variety of projects and industries, working at many layers of the stack.

One of his main interests is helping developers be more happy and productive through tooling and automation. He currently works in Developer Enablement at Skyscanner, helping engineers to build and operate microservices at scale. Also, he is the creator of the Testcontainers project, having created the Java version in 2015 and acting as a core maintainer since.

Make sure to download the Android or iOS mobile schedule.