DEV Community

Discussion on: What are the Best Tips in implement TDD in a web application project

Collapse
 
hazzajunk profile image
Harry Jones

For backend work TDD is essential to me, when I'm doing frontend it normally slows me down.

TDD is about creating a fast feedback cycle, no backend dev wants to run all their code just to test one piece. With web frontend work I'd rather be live editing the HTML, running test code in the console or hot swapping my changes.

For business logic TDD makes a lot of sense, don't use it where it doesn't make sense.