Pex Moles and Sharepoint

SharePoint is really hard to UnitTest, which is a bummer since unitTesting really rocks.

Just watched this guy demo some new M$ frameworks that will support testing of SharePoint and oh yeah wait for it (just about anything else).

The framework is called Pex and has a sub component called moles. What is pretty cool, at least in my opinion, is that this framework allows you to point any existing M$.Net
method or object towards your own custom delegate. This should allow you to fake out any tricky bits of technology (ie SharePoint which has lots of internal and sealed classes and constructors).

I’m not the first to break this news or anything even remotely close to that so google-ho and watch this space for more developments. The next step for me will be to take the information from the video and use it in a practical way.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: