lecture 8 of 80 completed

Give the AI a task it can do well

Two requests for a delete test, one of a single line and one with the rule and its source. The second reply checked far more, and it still missed one bug.

What you'll learn

  • What a request needs so that an AI tool can write a useful test
  • What changed in the reply when the request named the rule and its source
  • Why a better request does not replace running the test on a broken copy

We asked an AI tool twice for a test of the same feature: deleting a contact. The two requests were very different.

Both replies are among the fifteen test files described in lecture 1. Each request was sent once. We do not know whether the short request started a new chat.

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