DEV Community

Discussion on: How do You do testing?

equimper profile image
Emanuel Quimper

I tdd the backend but for the front end, I test only the big features. I dont gonna test like html element etc. But example I use react a lot, I will test some features etc. But if I receive complain for a bug etc, for sure I will add test for this feature after that.

I will say test the one you know can bug, test the fact then you show a h1 with the title I dont think this is the best one to do. Don't chase the 100% coverage

Thread Thread
jcsh profile image
Justin Ho Author

That's great advice! Thanks Emanuel!