Visual Studio 2010 SP1 and Moling the system dll

Personal reminder because I keep forgetting this step… Context: Visual studio 2010 SP1 Moles installed Building SharePoint unit tests using behaviors Required to create mole assembly based on the systems.dll receiving lots of built error including: “System.Net.Moles.SFileWebResponse.Dispose(bool)’: no suitable method found to override” Try updating the System.moles file to use reflection only: There I fixed […]

Community Day 2010: The morning after

Here are the slides and the code examples of my presentation yesterday, I tried to keep it as simple as possible just to prove you the power of the Pex and Moles framework and how it can help us unit test our SharePoint development. Code examples: Slides: … lides.pptxPictures (More to come): Reminder to myself, […]