Writing automated tests for EPiServer websites

Writing web software based on a large framework such as EPiServer CMS poses its own problems for automated testing, and that’s why testing of such websites is often overlooked. In this post I try to explain where to focus your automated testing efforts and provide an approach to testing code dependent on the EPiServer database by creating a ”fake” implementation of the content repository.


Jukka Hyvärinen works at Solita as a full-stack software designer, developing web software based on Microsoft-related technologies such as ASP.NET MVC, TypeScript and EPiServer. He advocates methods for improving the code quality, including code reviews and automated testing.