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?
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?
ASKER
Thanks for the suggestion, but it shows how to encorporate web tests.. not unit tests.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://msdn.microsoft.com/en-us/library/ms364077(VS.80).aspx