3 ms·
Run the db in-memory when doing tests with sqlite. In postgresql, open a transaction, and run each test in a subtransaction, then abort the 'top' transaction.
by ddorian43 10y ago
Run the db in-memory when doing tests with sqlite.
In postgresql, open a transaction, and run each test in a subtransaction, then abort the 'top' transaction. This should be ~fastest.