~/talk

Improving Integration Tests using Testcontainers

Talkat Voxxed Days CERN 2025 · on Wednesday, 2025-01-15· [testing, devops-and-delivery]
links:none on file
slides:none on file

Testcontainers replaces fragile in-memory tests with real Oracle container instances managed from Gradle and Spring Boot, using LiquidBase for schema bootstrapping so tests run against the same schema as production that serves over 100,000 annual visitors. A single shared container config plus a custom annotation and ad service connection (Spring 3.1) wiring automates datasource binding, and enabling reuse keeps one container across runs. It cuts environment drift and speeds developer feedback but increases bootstrap time and requires strict cleanup to avoid data leakage.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Public Outreach app overview
  3. 2:33Testcontainers setup
  4. 4:40Container lifecycle
  5. 6:27First integration test
  6. 7:51Liquibase schema consistency
  7. 8:14Scalability with shared containers
  8. 9:58Reusing containers
  9. 11:45Plug and Play annotations
  10. 12:07Final considerations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.