Unit testing share point

  • Published on
    16-Feb-2017

  • View
    267

  • Download
    11

Embed Size (px)

Transcript

Unit Testing SharePoint Is NOT Contradiction in Terms

Unit Testing SharePoint

The only way to do itGil Zilberfeld, Typemock

Typemock

AgendaMission ImpossibleReal Life SharePoint TestingDemoQ&A

Typemock EnvironmentFull servers Windows ServerOffice SharePoint Server and Visual Studio

Virtual MachinesDataEnvironment

Typemock Why Test?Feedback

Unit testing = Quick Feedback

Typemock Test OptionsLet QA do it

Run the app manuallyNot repeatable

Run system testsRequire setup / cleanup Slow

Typemock IsolationSharePoint objectsInternal constructorsNo InterfacesSealed classesGetter mentality

Wrappers you can fakeUse Isolator

Typemock Demo

Typemock Q&A

Typemock Got Questions?gilz@typemock.comDownload it at

http://www.typemock.com

Typemock