Skip to content

Glossary: Coding with AI Assistants

Test

Also written: tests

A small function that runs your code and checks the result with `assert`. Tests are the guardrail for AI-written code.

Where the book teaches it

Related terms

pytestassert