Tuesday, September 14, 2010

Theory Based Testing

Most of us are familiar with classic unit testing. Today, I wanted to talk a about a different form of unit testing, that is much more powerful when it is possible.

Theory based test take the normal form of
Given A & B expect C
and change it to
Given A & B expect C theory
This removal of the expected C, allows you to test MANY more cases, because you don't need to pre-plan the results for a given A & B

I vBlogged my thoughts here:

btw: if you are interested in attending an open spaces, check out Open Agile So Cal. There's one coming up in San Francisco Oct. 11, 2010

No comments: