> ## Content Index
> Fetch the complete content index at: https://www.binarysludge.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# What makes a clean test?
- URL: https://www.binarysludge.com/2014/12/28/what-makes-a-clean-test/
- Published: 2014-12-28T22:12:00.000Z
- Updated: 2015-01-11T01:05:28.000Z
- Author: Andrew Martin
- Tags: Clean Code, TDD, testing, Unit Testing, #Import 2026-10-22 12:56

> What makes a clean test? Three things. Readability, readability, and readability. Readability is perhaps even more important in unit tests than it is in production code. What makes tests readable? The same thing that makes all code readable: clarity, simplicity, and density of expression. In a test you want to say a lot with as few expressions as possible.

[Clean Code](https://www.goodreads.com/work/quotes/3779106-clean-code-a-handbook-of-agile-software-craftsmanship-robert-c-martin?ref=binarysludge.com) Chapter 9: Unit Tests

[Uncle Bob on Twitter](https://twitter.com/unclebobmartin?ref=binarysludge.com)