TLDR Web Dev · ARTICLES & TUTORIALS
THE TRUE PURPOSE OF TESTING
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).