Unit Testing in SharePoint 2010
With SharePoint 2007, it was notoriously difficult to write unit tests for your SharePoint logic. In SharePoint 2010, you'll find that not much has changed in the API and still leaves it difficult to to unit test logic dependent upon the SharePoint APIs. However, a recent free tool unveiled by Microsoft Research called Pex & Moles makes unit testing both possible and easy! In this session, I will briefly demonstrate how Pex & Moles works, then run through several samples of how to unit test logic that's dependent upon SharePoint 2010 logic.