Skip to content

coiouhkc/short-and-sweet-database-rider-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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%

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published