May 9, 2015

Great Quote About Tests by Uncle Bob

Updated the link to point to its new blog home

Robert "Uncle Bob" Martin is a programmer's programmer. He's been called a Master Craftsman. And he likely deserves even more respect and admiration than that.

Here is a great quote from an entry titled First on his blog:

Well designed tests are small isolated snippets of code that call into the system being tested, expecting certain results. A programmer can read the tests to understand what the tested code is supposed to do. So the tests are documents. They are written in a language you understand. They are utterly unambiguous. They are so formal that they execute. And they cannot get out of sync with the application.

What an awesome way to think about tests.

Tags: Observations