This lesson is part of Plus

AI-Generated Tests: When Green Doesn't Mean Good

Lesson 8 of 12 · 11 min · Reviewing AI-Written Code

Plus

Get all access

  • All 12 lessons here, and every other course
  • Roles with course and role certificates
  • The Toolkit with agent skills, MCPs and apps
  • New courses as they ship, at no extra cost

$299/year

Unlock now

Checkout, then straight back to this lesson.

30-day full refundCancel anytime

AI-Generated Tests: When Green Doesn't Mean Good

A green test suite from AI creates confidence that may be completely misplaced. AI writes tests that pass but don't actually test anything meaningful. Four patterns to watch for: Tautological tests. Sets up a mock to return a value, then asserts that value was returned. The test is testing itself,…

The full notes, transcript and prompts open with Plus.

$299/year

Unlock now

Keyboard shortcuts

SpaceK
Play or pause
JL
Back or forward 10 seconds
T
Transcript beside the video
O
Outline
F
Fullscreen
ShiftN
Next lesson
?
This list

Shortcuts work while the video area has focus (click beside the video or tab to it), so they never clash with screen reader or speech input keys.

Single-key shortcuts