~/talk

Andres Almiray: Setting Up Data Driven Tests

Talkat TestCon Europe 2024 · 2024-10-22..10-25· [testing]
slides:none on file

Bootstraps real databases in tests using Testcontainers and compares DB state with DbUnit and the modern wrapper Database Rider. Demo runs two test cases against an Oracle Free 23 container that starts in ~10–30 seconds and a faster slim image in ~12 seconds, seeds initial data from YAML, performs an insert, and shows automatic dataset diffs when expectations (one versus two rows) fail. Setup is repeatable per-test and CI friendly.

AI-written summary · about

  1. 0:00Data-driven testing setup
  2. 1:09Database testing challenges
  3. 4:21Testcontainers introduction
  4. 8:13JUnit 5 and Java frameworks
  5. 11:24Oracle features and high-end DBs
  6. 15:58Oracle with Testcontainers config
  7. 16:19Micronaut and DB demo setup
  8. 23:23Database Rider for simpler tests
  9. 27:16Live demo and test execution
  10. 32:12Verification and improvements
  11. 35:23Q&A
~/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.