Hacker News new | ask | show | jobs
by Pxtl 1860 days ago
How do you reconcile the first bullet point (polluting data with test data) vs Test In Production being the modern trend? Those sound irreconcilable.
3 comments

Doesn’t this mean beta testing in prod? Development, at least everywhere I’ve worked, takes place on a separate db. For instance where I work atm we copy prod data to a staging db every couple of months and develop/test new features there before rolling them out. Any data coming from the beta test, in prod, is not really test data it is prod data and I don’t see why you’d want to remove it.
Include a cleanup step after each test?
I find ROLLBACK to be a good fix for that.
is_fake column should do it.