|
|
|
|
|
by pydry
1940 days ago
|
|
Ive had pretty good results with scaling down real world data and using it to run tests against it. 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. |
|