• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • 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?
  • 2
1 Solution
Anurag ThakurTechnical ManagerCommented:
does the following link from microsoft any good
tejjas_daveAuthor Commented:
Thanks for the suggestion, but it shows how to encorporate web tests.. not unit tests.
Anurag ThakurTechnical ManagerCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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