Emer's Blog

My Sitecore adventures

Sitecore Unit Testing with Glass.Mapper, Moq and Visual Studio Test Tools

Unit testing in Sitecore is overlooked and not used enough. In this article i am showcasing one of the ways to implement unit testing with Glass.Mapper and Moq library in a Sitecore 8.2 solution.

Read more

Custom Sitecore 404 Page in a controller and writing a unit test

Recently I had to create a custom pipeline for a 404 page in Sitecore and write a unit test for it. I am going to demonstrate how to implement 404 page in a controller action and then we are going to write a unit test for it.

Read more

Sample unit tests for a Sitecore pipeline

Just a quick overview of couple of unit test samples for a custom Sitecore pipleline utilizing Glass Mapper and Moq.

Read more
This is a personal blog. The opinions expressed here represent my own and not those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.. In addition, my thoughts and opinions change from time to time I consider this a necessary consequence of having an open mind. This blog disclaimer is subject to change at anytime without notifications.