Archive
Monthly
Go
|
|
DNN Blog
Mar
17
Posted by:
Philip Beadle
Wednesday, March 17, 2010 12:54 PM
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.
|