November Happy Hour will be moved to Thursday December 5th.

Mattias Lövström
Aug 26, 2010
  5444
(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
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog