19
That senior dev's advice to skip testing cost me 3 days of work
Had a guy I respected tell me last month that unit tests were a waste for small projects like mine. Said just ship it fast and fix bugs later. Well I shipped a database migration on Tuesday that quietly corrupted 400 user records. Took me 3 full days to rebuild everything from backups and write actual tests. Has anyone else gotten bad advice from someone with way more experience than you?
3 comments
Log in to join the discussion
Log In3 Comments
jakel361mo ago
Yeah I totally disagree with that advice. Unit tests have saved my butt way too many times to skip them, especially on database stuff where one mistake can mess everything up.
6
keith_rodriguez14d ago
Wait, you're saying people actually advise skipping unit tests? That's wild.
1
robin_roberts841mo ago
@jakel36 nailed it with the "one mistake can mess everything up" part. Just wanted to gently point out that even small projects can hit big problems with data - size doesn't always equal risk.
1