|
|
|
|
|
by _kblcuk_
1940 days ago
|
|
For instance PostgreSQL's performance might be very different depending on the size of data query has to operate.
Also if you deal with something like search results, it gets pretty annoying to deal with "well, I don't have enough data locally for this particular thing I develop". Again, talking here about the "run the world and click on things" approach vs developing against tests / API schemas / whatnot. |
|
Postgres performance will be different to prod, yes. That's all part of the realism - cost trade off. All models are wrong, some are useful.
The point is that diving headfirst into making matchstick model unit tests is dumb when you could build something to test against at reasonable cost which is a lot more representative of reality.
IMO this is an obvious point if you adopt a cost/benefit approach to development but it's often impossible to see for the dogmatists.