Testcontainers and Spring Boot from integration tests to local development! by Oleg Šelajev
Vložit
- čas přidán 21. 08. 2024
- Jun 13, 2022 Spring I/O 2022 - Barcelona, 26-27 May
Testcontainers libraries integrate with Spring Boot to offer seamless, unit-test like experience for integration tests with real services running in containers: Kafka, databases, Elasticsearch, cloud technologies and everything else runnable in Docker. This flexibility can help in development environments automatically providing access to all required services without complex setups.
In this session we’ll show how you can supercharge your existing testing infrastructure based on Testcontainers for local development, programmatically require service dependencies without sacrificing speed of your development loop!
Oleg is a very interesting speaker 😁👍 He keeps things interesting
Code is available in the 'workshop' repository of the 'testcontainers' github account (apologies - links cannot be posted here)
great one performance, wish more like this
could we have the demo repository GitHub?
very informative and i wannt get github repo~~
How do we mix testcontainers, mysql & flyway?
Import testcontainers. Generate a mysql container. When it runs, I think you have to provide the generated database's URL, Password and Usename to your system variables/properties.
When those are set, flyway does it's thing automatically Afaik.
There is a need to have docker locally ?. Thank you
I think so