Category Archives: Testing

Interviewed by Typemock

At the recent SharePoint Conference in Vegas I took a few minutes out to talk to Gil Zilberfeld of Typemock about what 21apps is doing with SharePoint and what I see as the next steps in the community regarding SharePoint … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged , , | Leave a comment

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 … Continue reading

Posted in SharePoint, Testing | Tagged , , | 1 Comment

TDD and SharePoint is it worth doing?

Just read a post by Sahil Malik where he gives his reasons for saying TDD + SharePoint 2007? Well – screw it! Not worth it IMO. The reason for his statement is that he sees the actual C# code developed … Continue reading

Posted in Agile, SharePoint, Testing | Tagged , | 10 Comments

Typemock ASP.Net Bundle – get a free license

One of my favourite tools Typemock has just been released in a fantastic ASP.Net bundle and have once again offered this up to the blogging community to get for free. Unit Testing ASP.NET? ASP.NET unit testing has never been this … Continue reading

Posted in Testing | Tagged , | 3 Comments

More great Unit Testing SharePoint Examples

Great to see that more people are publishing their experiences with unit testing SharePoint.   Here are some of examples I have found that are really worth looking at: Richard Fennell – Testing SharePoint Workflows using TypeMock Isolator (part 1, part … Continue reading

Posted in SharePoint, Testing | Tagged , | 47 Comments

The cost of Test Driven Development

A short and to the point post by Dror Helper at Typemock looks at industry findings on the cost benefits of doing TDD. The Cost of Test Driven Development ..the research proved two points: Using TDD reduce the amount of … Continue reading

Posted in Development, Testing | Tagged | 4 Comments

SharePoint and TDD – The other view

My friend and fellow SharePoint MVP Eric Shupps has been promising to enter the conversation, started a number of years ago by Spence Harbar, and provide his wisdom and views on why he thinks TDD in SharePoint is just wrong!  … Continue reading

Posted in SharePoint, Testing | 7 Comments

TDD in SharePoint – Step 2 Implementing DI

This post is part of a series on Test Driven Development – Using Dependency Injection We introduced some terms previously to help describe some of the things we need to do in order to make our code more testable and … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged , | 1 Comment

TDD in SharePoint – Using Dependency Injection

In our previous white paper Unit Testing SharePoint – Getting into the Object Model we introduced the concept of mocking, looked at the new Typemock Isolator AAA API to demonstrate testing against SPSite, SPWeb, SPList and SPListItem objects and reinforced … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged , , | 2 Comments

Unit Test SPSite construction Exceptions with new Isolator method

In our white paper Unit Testing SharePoint Solutions – Getting into the Object Model we needed to use Natural Mocks to allow the testing exceptions that are thrown as part of the the SPSite constructor.  Our test code looked like … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged , | 2 Comments