Free events in the coming week

I know of two free events next week in Yorkshire next week for those interested : On Wednesday the 11th is the regular meeting of the Agile Yorkshire user group, where we will be enjoying a presentation on Test Driven Development by user group regulars Adam and Neil from Masternaut ThreeX. This will start at 7pm as normal, but some of us are planning to arrive about 6:30 to discuss some administrative issue of the user group....

February 7, 2009 · 1 min · Richard Fennell

Which way to fake an item in Typemock

I raised a question on the Typemock forum concerning a problem I was having mocking Sharepoint SPFarm objects. It was all down to which way to fake items using the various techniques in Isolator. It was interesting enough, I thought, to repeat here as a blog post. I had written some tests for a method that got a list of SiteCollections that a user had rights to access. The key point being the need to access the static property SPFarm....

February 5, 2009 · 2 min · Richard Fennell

Developer Day Scotland Voting Opens

The voting process has opened for Developer Day Scotland being held on the 2nd of May. I would like to draw you attention to my proposed session on testing for Sharepoint developers where I will show what can be done with Typemock and good use of design patterns to allow the building of complex tests that can be run of build servers that do not require Sharepoint to be installed....

February 4, 2009 · 1 min · Richard Fennell

Old assemblies appearing in the _PublishedWebsites directory with Team Build

I have been having a problem with a new automated CI build under Team Build that I have added to an old Visual Studio solution. The solution is fairly big, but in essence it contains a shared data type assembly, a web site front end and a back end web service. The problem was on the Team Build drop share in the _PublishedWebsitesproduced by team build I was finding a old version of the shared data type assembly....

January 29, 2009 · 2 min · Richard Fennell

PostBuild events not running on TFS Team Build

I have been struggling today with a problem that a PostBuild event on a C# project works fine on my development PC but failed on a Team Build box. The project is based on the Codeplex SharePoint Visual Studio Project Template that uses post build scripts to create a deployment WSP. It turns out the problem was an unwanted condition on the PostBuildEvent in the projects .csproj file. It was like this:...

January 28, 2009 · 1 min · Richard Fennell