kaspth / oaken

A fresh blended alternative to Fixtures & FactoryBot for dev and test data.
MIT License
201 stars 6 forks source link

Allow loading SQL cases #64

Closed kaspth closed 1 year ago

kaspth commented 1 year ago

In certain Rails versions there's been Marshal serialization bugs and it's pretty tricky to test those because the new Rails version can't output the old Marshal structure.

So it can take a long time to reproduce, but now you can grab a dump from production and put it in a SQL file directly.

This also moves the cases folder into a test/ environment folder since that's what I'm recommending in the README.

cc @tcannonfodder