My Thoughts on Unit Testing, TDD, TDI, etc

I just wanted to clarify my position on Unit Testing a bit.

First of all, I am a big believer in Unit Testing Production Code, during development and prior to internal or external releases.

As a matter of fact, I first started enforcing this type of testing on projects as early as the early 1990’s.

So, if “TDD” means “Test Driven Development”, I am all for that.

As far as “Test Driven Design”, as one can probably surmise from my blog, I view that as inefficient and cumbersome for a number of reasons; in any case it seems especially pointless to unit test prototype code that will be thrown away or redesigned in short order; once things stabilize a bit on the design front and begins to become part of the production code base, Unit Tests should be written and maintained for it.

Further, since “TDD” can mean both “Test Driven Design” and “Test Driven Development” I propose that “TDI” — “Test Driven Implementation” — might serve as a useful disambiguation.

Jordan

Having trouble hosting Silverlight? Just change .xap to .zip!

I was having trouble hosting a Silverlight 2 .xap on my ISP; apparently they don’t (yet) support .xap as a Mime type.

However, I was able to get around that simply by changing .xap to .zip on the .xap file name on the filesystem, as well as in the object tag of the page reference.

Voila, it worked without a hitch. You may want to give this a try if you are having trouble hosting Silverlight on your shared ISP.

Silverlight 2 Controls Demo Updated to run on Release to World Version of Silverlight 2

I have updated the Silverlight 2 Controls Demo to run on the Release version of Silverlight 2.

If you have been trying to run the old b2 demo on the Microsoft site and have been unable to since updating your Silverlight to the release version, then you have come to the right place!

Simply go here to run my version which runs in the Release version of Silverlight.

New Cassini for Framework 3.5

Cassini is a stand-alone web server that you can use to deploy your ASP.NET web applications.

Cassini has been updated by it’s author to now run as a single .exe without needing to be deployed in the GAC! This is great news.

Additional features:

  • Supported IPv6-only configurations
  • Upgraded to support .NET Framework 3.5
  • Includes VS project file 
  • License changed to Ms-PL

Get it here: http://blogs.msdn.com/dmitryr/archive/2008/10/03/cassini-for-framework-3-5.aspx