3 ms·
Where I see this happen a lot: testing. Initially test automation people think about tests as stateless, and so don't design the framework to have any persiste
by crabbone 4y ago
Where I see this happen a lot: testing.
Initially test automation people think about tests as stateless, and so don't design the framework to have any persistence at all. Eventually, life proves that to be wrong, and test start needing some persistence between sessions... well, it usually starts between different cases, and that's where AQA start building ad hoc "databases".
Unfortunately, it almost never downs on them that what they needed all along was a database, so the tests grow a weird slow and buggy persistence layer.
- swyx 4y agothis is a brilliant point, i wish i had thought of it and figured out a way to work it into the setup of the story. done this one myself enough times. newer databases like planetscale now offer “branching” which in theory lets you use a copy of production data for tests. not really sure when this does/doesnt make sense but it seems interesting