Wednesday, December 22, 2010

It is not about writing tests, its about writing stories

It is not about writing tests, its about writing stories: "My first story is that:

the transmission should allow the output shaft to be locked, move in same direction (D) as the input shaft, move in opposite (R) or move independently (N)
Given such a story I could easily create a test which would prove that the above story is true for any design submitted to me."