My colleague Tommy wrote a post about unit testing SharePoint applications a few weeks ago. I must admit that this is something that I have considered hard to apply to my SharePoint projects, and have therefore avoided it (with a very bad conscience). Luckily others have had been more proactive, like the guys at TypeMock. Their product now even supports mocking SharePoint objects like SPSite, SPWeb and SPList. I have realized that I no longer have any excuses, and that it's time to step into the world of unit testing. And it feels good to let that bad conscience go just before santa arrives! The guys at TypeMock even created a special SharePoint version of their product, at a lower price. Hoping to get a licence for free I'm posting their sales pitch:
"Typemock are offering their new product for unit testing SharePoint called Isolator For SharePoint, for a special introduction price. it is the only tool that allows you to unit test SharePoint without a SharePoint server. o learn more click here.
The first 50 bloggers who blog this text in their blog and tell us about it, will get a Full Isolator license, Free. for rules and info click here."
Just don't do it before I've done it! (Well, of course I didn't post this before sending the e-mail...)