December 27, 2010 by Alistair Deneys
I’ve finally found enough free time to record the continuation of my first unit testing in Sitecore video which showed how to add a test project to your solution which used the codeflood custom NUnit test runner. The next video was a little larger than I expected and I had to split it out into 2 separate videos.
The first shows how to prepare your unit test fixture for writing tests by creating the content the test requires and then destroying that data at the end of the test. The third video shows how you can write unit tests against the known content structure and test the method I showed in the first video.
You can find all 3 videos on YouTube:
Or you can view them inline below.
Writing unit tests