Skip to content

Latest commit

 

History

History
228 lines (146 loc) · 5.27 KB

File metadata and controls

228 lines (146 loc) · 5.27 KB
marp title description theme paginate _paginate header markdown.marp.enableHtml html
true
Short and sweet intro to Database Rider
Short and sweet intro to Database Rider
uncover
true
false
**Alexei Bratuhin** Short and Sweet Intro to Database Rider
true
true

Testing microservice databases with Database Rider


Alexei Bratuhin

E-Mail
LinkedIn
Xing
GitHub

Intro, reason & background


Stage/Courtroom

state-change


Objection, your honor!


Why Database Rider?

EntityManager#unwrap(Session.class)
TestUtil#createTestData(Connection)
@BeforeEach
void setUp() {
    datasource.getConnection()
    .execute("src/test/resources/some-test.sql");
}

Plates shining!

@DBRider
@DataSet(value="dataset.yml", cleanBefore=cleanAfter=true)
@ExpectedDataSet(value="expected.yml")

Dataset yarmor

user:
  - id: 1
    name: "@realpestano"
  - id: 2
    name: "@dbunit"

Features yet to come...


Cool fact

Database Rider has Quarkus support!*


Links


Thanks!

qr height:75%


bg height:75%