3 ms·
What's kind of codes that run on CI AND production? You mean passing a prod-clone.db to test suits instead of fixtures?
by Existenceblinks 4y ago
What's kind of codes that run on CI AND production? You mean passing a prod-clone.db to test suits instead of fixtures?
- travisjungroth 4y agoI would imagine they mean passing tests.db to the suite instead of fixtures. Normally, you have a "pick 2" situation between run a DB with network access, run SQLite when testing, and run the same DB everywhere. This gets you all three (at other costs, of course). For tests, SQLite is great because it's super fast and easy/fast to backup/setup/teardown.