TLDR Web Dev · ARTICLES & TUTORIALS

THE TRUE PURPOSE OF TESTING

epicweb.dev3 min read

Summary from the TLDR Web Dev newsletter

The usefulness of a test is determined by whether it fulfills its intended purpose. Tests should validate the intention behind the system, focusing on what the code is supposed to do (the intention) rather than how it does it (the implementation).