Luke (Glazy)
Luke (Glazy)
DTDrizzle Team
Created by Luke (Glazy) on 4/9/2024 in #help
Transaction-based testing
I'm keen on setting up ActiveRecord-like transaction testing with Drizzle. For the uninitiated, this involves setting up and then rolling back a database transaction for each test. Has anyone got an example of this working with Drizzle and/or is this currently possible? I know ActiveRecord in particular has some logic internally to handle the rolling back of potential nested transactions.
1 replies