# Passing and Failing Tests

*noun*

say it: **“PAS-ing and FAYL-ing tests”** **/ˈpæsɪŋ ænd ˈfeɪlɪŋ tɛsts/**

A passing test (green) shows the code does what's expected; a failing one (red) shows what broke.

## What is **Passing and Failing Tests**?

A **passing** test means the code behaved as expected; a **failing** test shows what went wrong. In TDD you watch a test fail before writing the code that makes it pass.

## In a sentence

- “Test Explorer lists **passing and failing tests**, with the failures in red at the top.”

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

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/passing-and-failing-tests
