4 ms·
I think best practice here is to run the whole test in a transaction and then roll back the transaction at the end. This is the approach Django uses.
by loftsy 10y ago
I think best practice here is to run the whole test in a transaction and then roll back the transaction at the end. This is the approach Django uses.
- kevinburke 10y agoWe'd love to do this but our ORM doesn't support it. https://kev.inburke.com/kevin/dont-use-sails-or-waterline/ https://kev.inburke.com/kevin/dont-use-sails-or-waterline/