« The Longing | Main | Google Maps Fail »

08/31/2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a0115711bf0ae970b0133f373d99b970b

Listed below are links to weblogs that reference How to Fake SPFarm.Local & SPFarm.Properties with Typemock:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Great post and wonderful to see people blogging about this - has been a long time passion of mine to get more people doing good unit testing in SharePoint.

A couple of tweaks for consideration:

Members.ReturnRecursiveFakes is the default, could leave out

Also someone bring really picky (not me :) ) you could suggest the line

Isolate.Verify.WasCalledWithExactArguments

You tests and code are already coupled due to the need for using Isolator.

Congrats on doing Unit Testing with SharePoint :)

thanks for the info, Andrew

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

meowkins

  • meowkins

Google Search

Windward Reports

Quantcast

  • Quantcast