www.fgks.org   »   [go: up one dir, main page]

Old TDD Demo Blog - Digest and Code

Published 01 March 08 11:24 PM

Several of you have emailed me over the past several months asking if I had a copy of the blog text and/or code that I had mentioned in a much earlier blog entry.  As it turns out, a good friend of mine found some old archived versions of the site on an Internet cache and set them over to me.  Therefore, I have taken the web pages and compiled them into an XPS document so that you can see the thought progression that went along with building a small application, TDD style. 

Additionally, I've updated the code samples a bit.  Specifically, I've upgraded the version of NHibernate to 1.2.1.GA - and as such, dropped the use of Ayende's NHibernate Generics library.  Also, as I was going through my NHibernate mappings, I realized that I had been pretty lazy with regard to semantic accuracy for collection types - I had pretty much completely used <bag> mappings instead <set> mappings for unordered collections so that I could use IList<T>.  Therefore, I cleaned that up a bit.  Other than that, the only other thing that I did was update some of the looping and conditional code to use LINQ.

Finally, let me emphatically throw out the "Demoware Disclaimer" - The point of the blog and the code samples was to illustrate the thought process and corresponding code behind using TDD to design a domain model.  As a result, everything else in the code is the simplest thing that could be implemented to support the overall goal - and nothing more.

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » Old TDD Demo Blog - Digest and Code said on March 2, 2008 2:36 AM:

PingBack from http://msdnrss.thecoderblogs.com/2008/03/02/old-tdd-demo-blog-digest-and-code/

# There and Back Again said on March 7, 2008 2:12 AM:

Ok - after posting this update, I'll consider myself caught up with regard to picking up the pieces of

# Noticias externas said on March 7, 2008 2:40 AM:

Ok - after posting this update, I&#39;ll consider myself caught up with regard to picking up the pieces

Leave a Comment

(required) 
(optional)
(required) 

About hdierking

I am currently the Editor-in-Chief for MSDN Magazine. I joined Microsoft in 2006 as a product planner with the certification team at Microsoft Learning. Prior to that, I spent my career as a developer and later as an architect. My main technology passions include pretty much anything on language theory, agile development, and service-oriented architecture.
Page view tracker