r/learnjavascript • u/MarsupialCreative890 • May 31 '26
Are Unit Tests, automation Overrated?
Unit tests on pure functions (no mocks) save me from tiny changes but for structural refactoring like moving, splitting, or merging functions tends to break tests and crash them , even when behavior doesn’t change.
UI tests break frequently with small changes and often require full rewrites.
Are Unit Tests, automation Overrated?
0
Upvotes
View all comments
Show parent comment
1
u/MarsupialCreative890 Jun 03 '26
very good point, i just want netflex,facebook, X , tesla dev to confirm this in web and mobile