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 |
E-Mail GitHub |
EntityManager#unwrap(Session.class)
TestUtil#createTestData(Connection)
@BeforeEach
void setUp() {
datasource.getConnection()
.execute("src/test/resources/some-test.sql");
}
@DBRider
@DataSet(value="dataset.yml", cleanBefore=cleanAfter=true)
@ExpectedDataSet(value="expected.yml")
user:
- id: 1
name: "@realpestano"
- id: 2
name: "@dbunit"
- SAT solver for expected data set, see database-rider/database-rider#363
Database Rider has Quarkus support!*
- https://github.com/coiouhkc/short-and-sweet-database-rider-intro
- https://github.com/database-rider/database-rider
- https://github.com/database-rider/database-rider/blob/master/rider-examples/quarkus-dbunit-sample/src/test/java/com/github/quarkus/sample/QuarkusDBUnitTest.java
- https://arquillian.org/arquillian-extension-persistence/