Unit testing processes? In general, unit testing of Sharepoint is rather complicated.
I used two frames along with Sharepoint:
None of these frameworks can test the actions of Microsoft Sharepoint or, in particular, the workflows created using SHarepoint Designer, since they are sealed, and you should consider them βworkersβ anyway - Microsoft made them, they are perfect !: - )
Your library is certainly of great interest, since not many people try unit test Sharepoint because of the nature of Sharepoints in my eyes: you use many built-in functions and just configure and possibly add to this functionality - basically you only want to check / unit test native code.
Sorry, I canβt give you details about the problems I encountered - Typemock was definitely more powerful to use because it is much older and more mature - Pex & Moles is fun (I found the Sharepoint tutorial quite enjoyable: Unit Testing SharePoint Foundation with Microsoft Pex and Mole .
source share