Integration Testing with Docker and Testcontainers by Kevin Wittek

Publicado el: 16 mayo 2019
en el canal de: Devoxx
9,982
141

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 talk I would like to show how you can use Testcontainers ( https://github.com/testcontainers/tes... ) – 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!


En esta página del sitio puede ver el video en línea Integration Testing with Docker and Testcontainers by Kevin Wittek de Duración hora minuto segunda en buena calidad , que subió el usuario Devoxx 16 mayo 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 9,982 veces y le gustó 141 a los espectadores. Disfruta viendo!