Open
Description
Use transaction rollback so any database updated done by the unit tests is not committed permanently.
Create two fixtures,
:once drop/create database
:every run tests in transaction
The transaction is set to rollback regardless, leaving the database in the previous state (just the empty database tables)
https://purelyfunctional.tv/mini-guide/clojure-database-test-faster/
Metadata
Metadata
Assignees
Type
Projects
Status
No status