# Passing and Failing Tests

Green means expected behaviour; 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.

Level: Novice · [More Unit Testing terms at this level](https://www.ask-codey.com/glossary/subjects/unit-testing/novice)

Updated: September 27, 2026

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