DEV Community

Discussion on: Unit testing frontend code is (probably) useless

Collapse
 
polterguy profile image
Thomas Hansen

It seems that you are right, implying the exception to verify the rule. 80% of software developers works for companies who's job it is to deliver software as a secondary function. These are administration types of apps, CRM systems, etc. Adding business logic into these apps is madness. I have no idea what you're working with, but I give a use case myself in my OP about Canva, and how it would make sense to have unit tests in such types of applications.

However, for 80% of all software developers world wide it makes ZERO sense to add unit tests in frontend code ...