Link to home
Start Free TrialLog in
Avatar of tejjas_dave
tejjas_dave

asked on

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?
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

does the following link from microsoft any good
http://msdn.microsoft.com/en-us/library/ms364077(VS.80).aspx
Avatar of tejjas_dave
tejjas_dave

ASKER

Thanks for the suggestion, but it shows how to encorporate web tests.. not unit tests.
ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial