# Test Naming

*noun*

say it: **“TEST NAYM-ing”** **/tɛst ˈneɪmɪŋ/**

Naming each test after the behavior, the situation and the expected result, so a failure explains itself.

## What is **Test Naming**?

Good **test names** describe the behaviour, condition and outcome, like `Deposit_WhenAmountIsNegative_Throws`.

## In a sentence

- “Good **test naming** means Total_WhenCartIsEmpty_IsZero tells you what broke.”

Level: Journeyman · [More Unit Testing terms at this level](https://www.ask-codey.com/glossary?category=unit-testing&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/test-naming
