Each test creates a new database. What we could do is create ONE database, and COPY (the sqlite file) it for each tests. This way we run the migrations only once. I don't know if it will be worth the speed improvements, the tests are already fast.
Each test creates a new database.
What we could do is create ONE database, and COPY (the sqlite file) it for each tests.
This way we run the migrations only once.
I don't know if it will be worth the speed improvements, the tests are already fast.