lecture 8 of 200 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

Here is a test that looks fine and proves almost nothing:

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 →