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

Learn about Unit Tests - part 3/4

7 min : 34 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 3 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!

Try FREE
30 days money back guaranteed