~/talk

Setting Up Data Driven Tests with Java Tools

Talkat JCON EUROPE 2025 · 2025-05-12..05-15· [testing, databases]
slides:none on file

Shows how to provision a real DB per test with Testcontainers, seed and assert state with DBUnit or Database Rider, and run JUnit 5 tests that insert customers and compare expected XML/YAML datasets. Demo uses an Oracle image (official 9 GB / ~3 min start vs lightweight 900 MB / ~10 s), seeds two customers then inserts a third, tests pass and then fail when expected counts change, and containers reinitialize per test for pristine state.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:20Talk overview and agenda
  3. 2:03Legacy database testing challenges
  4. 8:44Introducing Testcontainers
  5. 13:00Database testing with DBUnit
  6. 19:41Oracle database alternatives
  7. 20:44Demo setup and dependencies
  8. 23:54DBUnit test case walkthrough
  9. 29:10Running and verifying test cases
  10. 30:15Simplifying with Database Rider
  11. 33:06Automating container setup
  12. 35:52Handling complex data sets
  13. 38:19Future of Database Rider
  14. 39:21Oracle in CI/CD pipelines
  15. 40:23Speaker introduction and resources
  16. 42:47Q&A session
~/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.