views:

24

answers:

3

Hi everyone,

I have a MOSS2007 application and now I want to unit test on the application? There is any way to do that?

Thanks

+2  A: 

Use Typemock Isolator for SharePoint

Janis Veinbergs
+1  A: 

Typemock Isolator for SharePoint is the standard tool. The problem you've got is that so much of the SharePoint OM cannot be stubbed or mocked. Typemock will help you do this. Microsoft Research is also developing Pex and Moles, though you'll need an MSDN license to use Moles.

Mike
Moles is freely available on Visual Studio Gallery.
Peli
My mistake. It's Peli's product!
Mike
No harm taken. We do have a confusing licensing story.
Peli
A: 

Moles from Microsoft Research allows to test MOSS code in isolation. There are 2 tutorials (here and here) that explains how to use Moles for SharePoint unit testing. Moles is freely available on Visual Studio Gallery.

Peli