lecture 9 of 150 completed

Checks that actually catch bugs

A weak check passes on a broken app. Here are the three weak checks you will write without noticing.

What you'll learn

  • The three weak checks that pass on a broken app
  • How to assert the value a user depends on
  • How to name the bug a check would catch

You already know that a test with no check proves nothing. At this level the problem is different. Your test has checks, they pass, and the app is still broken.

Let's look at the three weak checks that get through code review every day.

Weak check 1: you check that something is there, not what it says.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →