lecture 7 of 120 completed

Keep the change small and read the diff

We gave two tools a failing test and said "Make the test suite pass." Neither touched the test. Both changed the app instead, and nobody had asked for that.

What you'll learn

  • What a tool does with a request that only asks for a passing result
  • How to set the scope of a task in the request
  • How to read a diff, and the changes that turn a test green without testing more
  • Why you commit before every run of a coding tool

A project had eight tests. Seven passed and one failed. We gave the project to two coding tools with this request.

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