Your Tests Shouldn't Know How Your Code Works - testing behaviour not implementations

Your Tests Shouldn't Know How Your Code Works - testing behaviour not implementations

If you want to write high quality tests, then it is important to test things as a real user would use your app.

This can be summarised by a mantra I have and will repeat many times on HowToTestFrontend.com - do not test implementation details. Test user behaviour instead.

Loading full lesson...

Share this lesson with your teamTweet (X) it

Invite a teammate to learn with you by sharing this lesson or dropping the link in your team chat.