Monday, January 28, 2013

ReSharper Shortcuts Every Sitecore Developer Must Know

If you support a Sitecore installation, you need to be on very comfortable terms with a decompiler. There are several reasons why:

Why All Those Lambdas in NUnit Tests?

I'm sure this is obvious, but I just figured it out. Suppose you are testing to verify that an expected System.Exception is thrown. Why does the first of these tests fail, but the second one passes?

Saturday, January 26, 2013

Sitecore NUnit Testing Simplified

There's been a lot of interest paid in the last couple of years on how to run NUnit tests against Sitecore.

Sunday, January 13, 2013

Sitecore Unit Testing and Auto Include Config Files

I'm working on a open source project that involves running NUnit tests against Sitecore. I had originally set these up using the CodeFlood Test Runner, which creates a simple ASPX page for running NUnit tests so they have access to HttpContext. My partner on the project, Mike Edwards, pointed out this was unnecessary for unit testing Sitecore.