Test

A small program that automatically checks that a part of the code does what it should. The test “fails” if it finds a mistake.

You’ll also find it as: tests, unit tests

How it appears in the course

You always give Claude a way to check its own work, for example tests.

Introduction · Module 04, The working method, step by step

I promised you the tradesperson’s spirit level. With Claude, it’s called a test.

What are tests, and what is TDD? · Module 04, The working method, step by step

You tell it what “done” looks like: a command, a test, or something you can check yourself.

What is the main idea? · Module 01, How to talk to Claude · free

Where you learn it

In module 04 · The working method, step by step, in the Claude Code for Beginners course.

Related terms

Learn Claude Code from zero, in plain English

12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.