Click here to Skip to main content
15,881,424 members
Articles / Web Development / ASP.NET

Unit Testing a DotNetNuke Private Assembly Module

Rate me:
Please Sign up or sign in to vote.
4.69/5 (10 votes)
18 Jun 2007CPOL18 min read 82.9K   703   35  
This article describes how to create unit tests that will test out code for a DotNetNuke custom module.
This example solution is intended to be located in a folder with the following structure:

.\bin [Copy in all DotNEtNuke libraries from \bin directory in a DNN installation, plus Micrsofot.ApplicationBlocks.Data.dll]
.\DnnUnitTesting [Example Dnn Unit Testing Project]
.\iFinity.DnnUtilities [DnnUtilities library, contains the DnnUnitTest class]

Unzipping the file will create the directories but will not have copied in the Dnn dll's.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Product Manager DNN Corp
Australia Australia
Bruce Chapman is the Product Manager for Cloud Services at DNN. He’s been an active member of the DNN Community since 2006 as a contributor, vendor and now employee of DNN Corp.

You can read his blog at http://dnnsoftware.com/blog or follow him on Twitter @brucerchapman

Comments and Discussions