Speaker details

Mikalai Alimenkou

XP Injection

Senior Delivery Manager, Java Tech Lead and experienced consultant. Expert in Java development, scalable architecture, Agile engineering practices and project management. Having almost 15 years of development experience, specializes on complex distributed scalable systems. Active participant and speaker of many international conferences. Founder and independent consultant at XP Injection. Organizer and founder of Selenium Camp, JEEConf and XP Days Ukraine conferences.

Ride the database in JUnit tests with Database Rider

Server Side Java

For a long time DB related testing in Java world has been a real pain and most developers tried to reduce number of such tests as much as possible. With good in-memory database implementations like H2, schema migration solutions like Liquibase or Flyway, containerization with libraries like TestContainers, database management is now much simpler. But test data management is still a pain. Some developers use SQL dumps, others insert data via JPA/JDBC or rely on prepared data sets. Good old DBUnit may be a good option, but it is not so developer friendly and not adopted well for modern annotations driven development style. Database Rider closes the gap between modern Java development environment and DBUnit, bringing DBUnit closer to your JUnit tests, so database testing will feel like a breeze. In addition to flexible data sets management this library provides other useful features: programmatic data sets definition, leak hunting, data sets export, constraints management, etc. As contributor and loyal user for many years, I would like to share my experience with Database Rider and demonstrate how to make database testing a fun again!

Scheduled on Friday from 16:20 to 17:10 in Room 1

Integration Test