News for hackers. Stuff that matters.
Re:Ask HN: What made you change your mind about a programmin... by Bahamut on Monday March 04, 2019 @08:07AM (#19300901)
Totally agreed - the problem is when integration tests are used in lieu of what unit tests are for, which has been an increasing trend in the frontend web world I’ve seen, in large part because of UI frameworks not providing the tools to do testing well.
Re:Ask HN: What made you change your mind about a programmin... by yashap on Monday March 04, 2019 @10:36AM (#19302026)
Definitely. E2E UI tests are almost always brittle, flakey and hard to debug, you want a very small number of them just to test really core workflows. Drives me crazy too when I see frontend devs using them like UI unit tests, while writing no actual unit tests.