3 ms·
Don't need to do that, just run each test in it's own transaction, no?
by TylerE 3y ago
Don't need to do that, just run each test in it's own transaction, no?
- layer8 3y agoHow do you guarantee the database contents is in the right state for the given test? Dropping all tables and recreating them with the respective test data is the only sure way. And if you run tests in parallel, you need parallel database instances.