Mattias Lövström
Aug 26, 2010
  5402
(0 votes)

TDD for your custom page providers

I have created a project for developing page providers with test driven development, and my idée is that it should be great if we have an open source project where many EPiServer developers can contribute so the developing of custom page providers gets easier.

So please sign-up to be a contributor of this project, by sending me a CodePlex message.

My first version of the project includes 43 integration tests and is testing the version handling of PageData objects based on the earlier blog I wrote Version state graph of a PageData object. Those tests uses an own MemoryPageProvider (original written by Johan Björnfot) and doesn’t requires any EPiServer database. This page provider are only changed so it fulfills the requirements in the test cases, but I hope in the end it should be a really good example for writing a custom page provider that has similar functionality as EPiServers local page provider.

Requirements:

- EPiserver CMS 6

- MS Test (or NUnit)

Download source:

PageProviderTests for EPiServer CMS on CodePlex

Aug 26, 2010

Comments

Please login to comment.
Latest blogs
Creating an Optimizely CMS Addon - Adding an Editor Interface Gadget

In   Part One   of this series, I covered getting started with creating your own AddOn for Optimizely CMS 12. This covered what I consider to be an...

Mark Stott | Aug 30, 2024

Configure your own Search & Navigation timeouts

The main blog Configure your own Search & Navigation timeouts was posted for years but you need copy the code to your application. We now bring tho...

Manh Nguyen | Aug 30, 2024

Joining the Optimizely MVP Program

Andy Blyth has been honoured as an Optimizely MVP, recognising his contributions to the Optimizely community. Learn how this achievement will enhan...

Andy Blyth | Aug 29, 2024 | Syndicated blog

Welcome 2024 Summer OMVPs

Hello, Optimizely community! We are thrilled to announce and welcome the newest members to the Optimizely Most Valuable Professionals (OMVP) progra...

Patrick Lam | Aug 29, 2024