DEV Community

Do you follow Test-Driven Development in JavaScript? Discuss

Kisan Tamang on April 22, 2020

Collapse
 
thomaslombart profile image
Thomas Lombart

While TDD is often useful, I think it's hard to do it when doing front-end development with React or other frameworks.
Often, I use TDD when I'm writing utils or helpers functions, that is to say, when you can identify the different cases very quickly.

Collapse
 
kisanpakhreen profile image
Kisan Tamang

I've been trying to get into TDD but I am having a hard time :(