Hacker News new | ask | show | jobs
by jeltz 2171 days ago
Typically there is no issue with running parallel tests against a real database. I just wrap every test case in a transaction and turn the transactions into subtransactions. This way you can just rollback at the end of each test.