stack-auth / pgmock

In-memory Postgres for unit/E2E tests
https://stackframe-projects.github.io/pgmock/
MIT License
1.13k stars 20 forks source link

Improve migration performance #16

Open lekhasy opened 5 months ago

lekhasy commented 5 months ago

Currently, migration took about 20-30 seconds which is too slow for testing. We also need to reset db after each test so 20-30 seconds wait time between each tests is not viable. We need a solution for this, so we can bring it down to sub 1 second.