TLDR Web Dev · OPINIONS & ADVICE

WHAT ARE YOUR TESTING PRO TIPS? (REDDIT THREAD)

links.tldrnewsletter.com

Summary from the TLDR Web Dev newsletter

Commenters share their tips for better tests, such as making sure to test the behavior you care about, not implementation details. Another tip is to not fall into the “coverage” trap, which in reality is an arbitrary number.