Kyle Kingsbury A Sitecore web development blog!

TagSitecore.FakeDb

Unit-testing devices and layouts with Sitecore.FakeDb

U

After writing a few extension methods that checked whether a Sitecore Item had a layout for the default device or any device, I wondered if I could use the Sitecore.FakeDb library to unit-test these extension methods and provide some much needed code coverage for a project i’m working on. As most people do, I quickly did a few google searches and I was shocked, I couldn’t find any...

Kyle Kingsbury A Sitecore web development blog!

Recent Posts

Tags