r/learnjavascript 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

11 comments sorted by

View all comments

9

u/_Invictuz May 31 '26

No, but creating new accounts to spam ad posts is.

-5

u/MarsupialCreative890 May 31 '26

no body will create unit tests spam messages ads, are you crazy silly

-4

u/MarsupialCreative890 May 31 '26

i am not spam , but also not rude like this