Why did we create a simple twitter style app in SharePoint
This project was started to demonstrate development of a SharePoint 2010 application writing unit tests using
Pex and Moles
We covered a range of the common coding tasks that a SharePoint developer is likely to do in order to show examples of unit tests for SharePoint with Pex and Moles. Some of the examples are not best practice and were added to ensure we covered as many of common
development tasks as possible, we have highlighted these in the code where appropriate.
Our other objective was to identify problems, bugs, or hard to use APIs and working closely with the Pex team help to improve the Unit Testing story for SharePoint and also improve Pex.
We also tried to see how we can mix the usage of Pex with the Test Driven Development (TDD) / Test First approach.