• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

How to reference the project to the Unit testing Module

I have a asp.net 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?
0
tejjas_dave
Asked:
tejjas_dave
  • 2
1 Solution
 
Anurag ThakurCommented:
does the following link from microsoft any good
http://msdn.microsoft.com/en-us/library/ms364077(VS.80).aspx
0
 
tejjas_daveAuthor Commented:
Thanks for the suggestion, but it shows how to encorporate web tests.. not unit tests.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now