That’s some nice info, but I don’t think it helps. Because nothing in there is about commiting the transaction.
I think the easiest way to do this (for sqlite), if anyone is interested:
- remove
use Module.DataCase
from your test - add something like
@tag :single
to the test you want to run - run the test with
mix test --only single
- don’t forget to delete the test database after you’re done and add the DataCase again.