This is the approach I think I would take - it gen...
# minutest
d
This is the approach I think I would take - it generates a context for each db decided at runtime https://github.com/dmcg/minutest-examples/blob/master/src/test/kotlin/runtimeFixtures/MultiDBTests.kt
c
https://github.com/christophsturm/r2dbcfun/blob/master/src/test/kotlin/r2dbcfun/R2dbcRepoTest.kt this is how i did it for now. I want a new database and a new connection factory (or for now maybe just a connection) for each test so in your style i would need a custom factory.
d
Splendid. Also please do check out the coroutines support to see if it suits you. https://github.com/dmcg/minutest/blob/master/docs/Cookbook.md#testing-with-coroutines
c
thats great! will probably use it later. right now I’m doing everything explicit because I’m still learning about coroutines