kaspth / oaken

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

Local test support for different database adapters #29

Closed kaspth closed 1 year ago

kaspth commented 1 year ago

I'm going to be working on a caching scheme based off of seed file checksums, so prepping for that I'm working on having us test with persisted databases (not just the in-memory SQLite one we've got now) and every adapter. This works locally, but I still need to figure out CI setups.

I'm thinking we'll end up with something like:

I also want our test runner to execute tests twice: first from a fresh database, and then run tests a second time after that to check both our uncached and cached states work.