testdouble / suture

🏥 A Ruby gem that helps you refactor your legacy code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails project + production snapshot

searls opened this issue · comments

Show a rails example that has a production postgres dump, sets up a one-off minitest rake task, can exploratory test the dump to generate a suture DB, and then run the verifications in a local test

Empahasize that you don't have to commit your production database--you only need it long enough to get and verify each path--that this stuff should be transient