Wednesday, August 27th, 2008

Patterns & Practices SharePoint Guidance and a TypeMock Video



The Patterns & Practices group are looking at Guidance on SharePoint and are making regular code drops to the CodePlex project.

They have done research and the customers have ranked the requirements in order of importance.

  • Unit testing and debugging
  • Packaging and deployment
  • Setting up a team development environment
  • Unclear which SharePoint features/ components to use and when
  • Solution maintenance/upgrade
  • How and when is SharePoint Designer applicable
  • Who would have thought Unit testing and debugging would have been top of the list!

    Francis Cheung is on the P&P team for SharePoint Guidance and has posted some of the details from their work to date,  you will see a very good review of the reasons unit testing SharePoint is hard and also some explanation behind the design decisions taken in the sample project on CodePlex.   Some of the areas hi-lighted will be covered in more detail in our more advanced white papers.

    TypeMock Video

    I also spotted a little nugget comment on the post pointing to a short (9min) video on using TypeMock for SharePoint,  you have to question the TDD approach in the demo but I don’t think this is the aim.  It uses Natural Mocks and explains the difference between recording and the creation of mock objects, the use of RepeatAlways() to create a Stub and a few other simple tips.

    For those new to TypeMock there are 4 other videos that will give you more details,  we will be covering the use of TypeMock in our more advanced white papers.

    blog comments powered by Disqus