6

What is the best way to abstract the episerver infrastructure for easier testing?

marto
  • 4,071
  • 1
  • 24
  • 37

2 Answers2

7

I have written a post about TDD with EPiServer recently.

Basically the idea is to use Model-View-Presenter design pattern to isolate as much logic as you can from asp.net runtime.

Marek Blotny
  • 1,159
  • 7
  • 7
5

Perhaps this post will help: EPiServer CMS 5 R2 and unit testing

Frederik Vig
  • 430
  • 1
  • 4
  • 11