Using RSpec Nested Transactions to speed up tests touching the database
This article explains how to speed up some tests touching the database by using nested transactions. Specially useful for those running Sequel and PostgreSQL (or other server supporting savepoints) and testing with RSpec as the rspec_nested_transactions gem I released a few hours ago would help a lot.
Post a comment