DEV Community

Discussion on: Whatever happened to the test pyramid?

Collapse
 
cescquintero profile image
Francisco Quintero šŸ‡ØšŸ‡“

I'm in the group of people who think doing unit testing in frontend isn't simple šŸ˜†

One of the reasons I think people feel that way is that it isn't obvious what to unit test in frontend world. Do we test styles? Do we test structure of HTML? Of course we should be testing JS functions but what about event handlers? Probably we've been doing it wrong.

And even though your article answers those questions, doing unit tests in the way you mentioned isn't as easy as frontend devs would like/hope.

since I know that Iā€™m having a lot of success with unit testing on the front-end, Iā€™m trying to share that knowledge with others

Then I hope to see your content about this topic šŸ˜ƒ

BTW, I wasn't aware of the DHH, Fowler, and Beck video. Thanks for sharing šŸ‘šŸ½