Thursday, September 22, 2011

TDD by example

I intend to start a series of short "booklets", for lack of a better term, on the same idea of Growing Object-Oriented Software, Guided by Tests - show how a test-driven design process works for writing an application, from beginning to end. I realize I have hardly any readers, but is anybody interested in something like that? The articles will be free on my blog, of course, but I intend to also make them available for sale on Amazon.

I thought of stuff like writing an expression evaluator - 2 + 3 * 5 / (1 - 7) - and a postfix expression evaluator - 7 2 3 + * - but I tend to jump to math problems. On one hand, I need relatively simple problems, as I want to emphasize the TDD part; on the other hand, I don't want to write the next Stack implementation. Can anybody suggest topics?

Edited: follow-up at http://mdpopescu.blogspot.com/2011/10/tdd-by-example-first-book.html.

No comments: