Online example of TDD’ed code

Over the years, I’ve gotten a lot of requests for non-trivial examples of code entirely written using TDD and Simple Design. I can finally give you that example.

This code is for the Offline Application Block, part of Microsoft’s Smart Client initiative. Basically, it implements a framework that will allow client code to operate in much the same way, whether it is connected to the internet or not. It was written over a period of about 12 weeks, and was done entirely test first.

Due to legal restrictions, Microsoft is unable to release unit tests along with the application block, but the unit tests are available through the
GotDotNet Smart Client workspace
. You’ll have to join the workspace to see them, but if you want examples, it should be worth it.

I’d also welcome any kinds of questions about the design, the tests, or how the block was written.

— bab

6 thoughts to “Online example of TDD’ed code”

  1. I saw this when you mentioned it on your other blog. Needless to say I will be poring over the code as soon as I get the chance!

  2. I’m not saying that this code is great 🙂 But it was driven through tests. Love to hear any feedback though.


  3. G-Taste is admittedly a hentai title of a different flavor. It takes one basic character and wrings out everything it can from there on, resulting in sluggish paper-thin voyeuristic pieces. It may be worth your while if you fancy girl-to-girl (yuri) action, but if not, it’s probably best to move on to more scintillating titles.

    Prior to La Blue Girl, I have never watched a "tentacle" hentai, except for a brief scene in Rei Rei that doesn’t count. Given that La Blue Girl is probably

    the second most infamous tentacle hentai behind Urotzkidoji, I figured it would be worth checking out, if only for curiosity’s sake—never mind what curiosity did to the cat.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.