"GhostDoc is a free add-in for Visual Studio that automatically generates XML
documentation comments."

I have known about GhostDoc for some time now, but didn’t believe it to be very useful in any way. I expected it to provide poorly written XML comments for the methods it’s commenting.

Anyway, today was the day I gave it a go. I downloaded it and installed it in about 30 seconds without errors. I opened Visual Studio 2005 and was met with this new context menu item:

GhostDoc

GhostDoc writes XML comments and only XML comments, so it has no need for more than a single context menu item. I like that. Now, the real test; how will it write the comments? To my big surprise, it almost writes better comments than I can do myself.

If you haven't tried it out for your self, I can only recommend that you do. It will save you a lot of time.

I have unit tested my code for years now, but have never got around to using a unit testing framework like NUnit. I’ve been dancing around it for some time now, but haven’t had the time to get to know it or maybe I just forgot about it. I manually write my tests and it works fine, but it does not provide the level of consistency that NUnit provides.

So I decided to read the book "Test-Driven Development in Microsoft .NET", to get me started, or at least inspired. The book is written by James Newkirk and Alexei Vorontsov. James works with Patterns & Practices at Microsoft and has also been involved in developing NUnit. So who better to write a book about test driven development (TDD) than him??

The book does a very good job describing the philosophy behind TDD and the idea of writing scenario based unit tests. I have never thought of doing that, even though it is very simple. That covers about 3 of the chapters, and they were very informative and interesting.

The funny thing is that the book is about TDD, it says so on the cover. Nevertheless, the authors spend approximately 9 chapters writing about something else. If I wanted to know more about creating web services, I would buy a book about it. The same goes for refactoring and data access code.

The book is written for beginners to .NET development, even though the authors claim it is for experienced programmers. If you are an experienced programmer, expect to be bored for three quarters of the book.

My guess is that the authors had written their 3 interesting chapters when the publisher, Microsoft Press, wanted at least 12. So the authors had to write a lot of words to get to the 12 chapters - and so they did. The book suffers from the same disease as "Naked Conversations" does - example overflow. Read my review of Naked Conversations here.

However, the three good chapters are actually worth the while, so I will recommend the book, but instruct people to skip 9 chapters.