lecture 5 of 80 completed

One example is not the rule

A reply said the search and the category filters work together. Its tests tried two pairs of values. The planted bugs needed a third pair.

What you'll learn

  • Why one passing example does not prove a rule that covers many inputs
  • Which examples to add: both orders, the edges of a limit, and an example that needs both parts of the rule
  • How to read a claim about coverage in an AI reply

Lecture 1 opened with a file of 11 tests for a shop's search box and category buttons. This reply ended with a claim: "Search supports partial product names, and search and category filters work together."

Two of the 11 tests use the search and a category at the same time.

  • One clicks the Shelter category and types "Alpine". It expects one product, the Alpine Tent 2P.
  • The other clicks Packs and types "Alpine Tent". It expects no products and the "no results" message.

Both passed on the working shop.

full course

Keep reading with the full course

The first 2 lessons of “Review Tests Written by AI” are free. A course plan opens every lesson of this course and its graded practice. It also opens “Work With AI as a QA Engineer”. The same plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →

Read the free lessons first