SharePoint and Unit Testing
I put together a solution for applying a custom masterpage and style for a customer earlier this year, and due to the massive matrix of having to test Activation, Deactivation, Re-Activation and on over 20 different site templates, I dove into Unit Testing. While I realised at the time that I had a lot to learn, I found it incredibly useful, uncovering a couple of (albeit small) issues that would otherwise have remained for some poor unfortunate end user.
I have been meaning to write a post about this for some time, as when I first looked into it there was very little information. Since then a couple of useful resources have emerged, Andrew Woodward posted about it here:
http://www.21apps.com/tdd-getting-into-sharepoint-om/
http://www.21apps.com/agile/unit-testing-sharepoint-getting-into-the-object-model/
With the documents here:
Unit Testing Sharepoint Solutions - Getting into the Object Model
Unit Testing SharePoint Solutions - Getting in the Object Model - The Code
But now, something more for me to play with, the typemock’ers have released a new version of their tool that specifically supports SharePoint, you too can get a free license:
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. To 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.
2 Comments |
Posted
Tuesday, 25 Nov 2008 12:20
by
Daniel McPherson
in