Small steps for testing, big steps for SharePoint testing
Following on from my rant response yesterday about the more negative views from the SharePoint community my reading this morning was so much more positive.
Unit Testing Workflows
In my response to a question from Aaron Weiker I said that I would like to see much more guidance and investigation into the way we approach Unit Testing workflows in SharePoint, so it was great to find Richard Fennell is doing a lot of work in this area. I have been working with Typemock Isolator, CThru and SilverUnit testing recently (post coming) and was very interested to see that Richard had picked up this whilst looking for a possible solution to the challenges of Unit Testing SharePoint workflows; something I have to confess I had not even considered.
I’m looking forward to seeing where Richard gets with this and also the use of Fit/Fitness, although I’m personally not a big fan of the way tables are used to define the tests.
Integration Testing SharePoint from MSTest
Having been a bit behind with my reviews of the latest Codeplex P&P project I missed the discussion with Francis on how they found a use for Typemock Isolator to do Integration tests.
The code is really very very simple, many will be glad to hear, and deals with the places where your code makes a call to SPContext.Current or SPFarm.Local.
The simple ideas really are the best ones.
As you can see, a few small steps for testing but big steps for SharePoint testing and a demonstration that in general the SharePoint community is committed to improving the way solutions are developed.
