Here is a test that looks fine and proves almost nothing:
lecture 9 of 220 completed
Checking what happened
A test that checks 'something is on screen' passes on a broken app. Check the value your user depends on.
What you'll learn
- Why checking that something exists is usually too weak
- How to assert the exact value a user depends on
- How to tell a real check from a decorative one
members only
Keep reading with the full course
The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.
See the options →