Printable Version Printable Version Recommend Recommend Email to a friend Email to a friend

Build a new Unit Test - part 4/4

10 min : 45 sec

Graduate to expert-level development by learning object-oriented patterns and test-driven development. Learn the MVP pattern for developing modules that allows you to employ test-driven development concepts to DNN development. This is part 4 of 4.

Instructions for running the code project:

1. Download and install the Enterprise C# MVP Module Template

2. Follow instructions for creating module project with template

3. Build project in Release mode

4. Install the install\*_Install package in Host > Extensions

5. Create a test page and drop an instance of the module on the page

6. Code snippet #1 for ViewPresenter.ModuleLoad()

7. Code snippet #2 for ViewPresenterTests class

Do you have a question? Ask on our Forum!

30 days money back guaranteed