CoreCLR's Blog

Archive for the ‘Unit Testing’ Category

A Unit Test is a Functional Spec

Posted by coreclr on September 3, 2009

Scott Bain has a really nice description of how to think about a Unit Test.

“Don’t think of Unit Tests as “Tests”, but instead think of them as functional specs. Every Unit Test defines, specifies and records one proper behavior of the system”.

There is a podcast with him here:

http://www.netobjectives.com/blogs/overcoming-impediments-to-tdd-test-driven-development

Advertisements

Posted in Unit Testing | Tagged: | Leave a Comment »