Acceptance Tests and Unit Tests as Documents First, Tests Second
kerrick.blog·3d
Preview
Report Post

The real reason [acceptance tests and unit tests] aren’t redundant is that their primary function is not testing. The fact that they are tests is incidental. Unit tests and acceptance tests are documents first, and tests second.

Chapter 7, Acceptance Testing, The Clean Coder: A Code of Conduct for Professional Programmers, by Robert C. Martin

As my wife and I were listening to Uncle Bob’s book on professionalism in software, this line surprised me. Maybe it’s just because [I don’t understand tests as well as I’d like](https://kerrick.blog/articles/2025/confessions-of-a-software-developer-no-more-self-censorship/ “Confessions of a Software Developer: No More Self-Censorship”…

Similar Posts

Loading similar posts...