lecture 6 of 120 completed

Ask for a plan before any code

Two tools planned the same task before writing anything. One plan could be checked and one could not. A three-sentence reply to the better plan produced the test that caught the bug seven files had missed.

What you'll learn

  • Two ways to get a plan before any file changes
  • Four things to look for in a plan
  • How to send a plan back with a short reply
  • What a plan costs, and when to skip it

A coding tool can write 300 lines of tests in two minutes. Reading 300 lines with care takes you much longer than that. If the tool started from a wrong idea, you find out on line 200, and the two minutes are wasted along with your reading time.

A plan is 15 lines. You can read it in one minute, and a wrong idea is much cheaper to fix there.

This lecture shows two real plans for the same task. One of them can be checked. The other one cannot. Then it shows the reply we sent, and what the reply changed.

full course

Keep reading with the full course

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

See course plans →

Read the free lessons first