Integration Testing with Docker and Testcontainers (Kevin Wittek, Germany)

  Рет қаралды 2,016

jeeconf

jeeconf

Күн бұрын

jeeconf.com/pr...
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 - 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!

Пікірлер: 2
@sromankov6102
@sromankov6102 5 жыл бұрын
Could you please share the link to repo with the code
@artemborsuk7300
@artemborsuk7300 5 жыл бұрын
github.com/kiview
Test Driven Architecture (Peter Gafert, Germany)
56:33
jeeconf
Рет қаралды 1,4 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 10 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 38 МЛН
Kubernetesize your Java application (Arun Gupta, USA)
48:00
jeeconf
Рет қаралды 1,5 М.
Service Mesh - Why? How? What? (Orkhan Gasimov, Ukraine) [RU]
43:03
Spring Patterns (Evgeny Borisov, Israel)
50:19
jeeconf
Рет қаралды 18 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН