Yesterday I visited Oslo and held a workshop about testing websites built with EPiServer CMS and ASP.NET Web Forms. I also gave a shorter talk at the Norwegian EPiServer developers user group on the same subject.
The workshop and talk addressed topics such as why it’s important to have automated tests, what’s important to think about when constructing automated test, different types of tests we should have in our toolbox when testing web sites, the XUnit way of writing tests, code isolation/mocking, Inversion of Control and some challenges we face when testing EPiServer CMS sites. I also presented a quick look at the Model View Presenter pattern and a new open source project called EPiMVP which is a framework for using the Web Forms MVP project with EPiServer CMS.
While I think many of the slides from the presentations demand some explanation and code examples, which I tried to give during the talks, you are welcome to look at them on SlideShare.
PS. For updates about new posts, sites I find useful and the occasional rant you can follow me on Twitter. You are also most welcome to subscribe to the RSS-feed.
This blog is built with EPiServer Community, EPiServer CMS, ASP.NET MVC and a bunch of other great products. The source code is available for download at the projects page, where you also can read more about this site and my other projects.
read more
Comments
Stefan Forsberg 5 months ago
Seriously Joel, I wanna have your babies!
Joel Abrahamsson 5 months ago
Uhmn, ok, I'm a bit scared now :-)