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.

Some Photos from San Francisco

I was up in SF for a couple of days last week and took a few shots….

More shots + captions will appear soon…

 

Read the rest of this entry »

Losing space on Drive C? Check your WER ReportQueue

I had been losing space on Drive C for awhile and it seemed odd to me as I rarely store things on Drive C, therefore the space should not be going down.

It ended up I had 255 GB (!) of files stacked up in the Windows Error Reporting Service queue in C:\programdata\microsoft\windows\wer\reportqueue

Definitely worth checking from time to time if you have apps that crash a lot and use Windows Vista