DNN Blog

Mar 17

Posted by: Philip Beadle
Wednesday, March 17, 2010 12:54 PM  RssIcon

Over the last few days I have been refactoring my TDD Module to use the new Web Forms MVP code that is now baked into DNN.  The structure of my TDD module was based on the MVP pattern so the refactoring hasnt been too difficult.  With a bit of help from Charles I have it nearly converted.  The next step is to rewrite the tests.  Im going to be using Moq as the mocking framework so there will be a lot less code as I wont have to worry about the hand coded mocks I had before.

After that I'll address the automation tests giving a complete example of how you can build a fully tested and testable module. 

You can download where Im up to from CodePlex, email me if you'd like to contribute.

Tags:
Categories:
Location: Blogs Parent Separator Philip Beadle
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.