unit testing share point
TRANSCRIPT
Unit Testing SharePoint
The only way to do it
Gil Zilberfeld, Typemock
Typemock™
Agenda Mission Impossible Real Life SharePoint Testing Demo Q&A
Typemock™
Environment Full servers
Windows ServerOffice SharePoint Server… and Visual Studio
Virtual MachinesDataEnvironment
Typemock™
Why Test? Feedback
Unit testing = Quick Feedback
Typemock™
Test Options Let QA do it
Run the app manuallyNot repeatable
Run system testsRequire setup / cleanup Slow
Typemock™
Isolation SharePoint objects
Internal constructorsNo InterfacesSealed classesGetter mentality
Wrappers you can fake Use Isolator
Demo
Q&A