~/talk

Setting up data driven tests with Java tools

Talkat Voxxed Days Thessaloniki 2024 · 2024-10-18..10-19· [testing, java]
slides:none on file

Shows a concrete setup using JUnit 5, Maven verify and Testcontainers to spin up Oracle Free images (starts ~10–30s) and run real DB tests instead of H2; uses DbUnit XML datasets or YAML and Database Rider and DbUnit annotations to load initial state and assert expected state with a diff, including inserts and PL/SQL paths. Demo runs end-to-end, intentionally fails once to show diagnostics, then passes — plumbing code is reduced and works with Spring Boot.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Java testing frameworks
  3. 3:15Database testing challenges
  4. 5:00Modern Java testing tools
  5. 6:45Testcontainers game changer
  6. 8:11Oracle converged database
  7. 9:59Free Oracle database for developers
  8. 11:47Simplify DB testing with Testcontainers
  9. 13:31Demo project setup
  10. 16:19Demo app structure
  11. 18:08Test closer to DB
  12. 19:11First DBUnit test
  13. 22:26First test scenario
  14. 24:54DBUnit datasets
  15. 25:56Database Rider intro
  16. 28:43Maven verify demo
  17. 31:15Fail test intentionally
  18. 33:21Real DB testing benefits
  19. 34:03Oracle dev tools commitment
  20. 35:49Java testing resources
  21. 37:14Key takeaways and closing remarks
~/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.