How to reference the project to the Unit testing Module

Posted on 2008-11-10
Last Modified: 2012-05-05
I have a website developed, I need to write Unit Tests to test the project, how can I reference the main Project from the Unit Testing project.

I added a test project to the website and used the unit test wizard to select a few methods which I wanted to Unit test, but i need to reference the main project in this uni test project, in order that some of the keywords make sense to the Unit test module. How can i reference the main project from the unit test project? Adding a reference does not work, as a DLL cannot be created for the website (according to my knowledge).

Any ideas on how to accomplish this?
Question by:tejjas_dave
    LVL 26

    Expert Comment

    by:Anurag Thakur
    does the following link from microsoft any good

    Author Comment

    Thanks for the suggestion, but it shows how to encorporate web tests.. not unit tests.
    LVL 26

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    A Change in PHP Behavior with Session Write Short Circuit ( (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on! provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
    Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now