Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I am working on Unit testing with nunit framework on asp.net .... My doubt is that i have a Solution which has two projects one is CLass Library and another is ASP.NET Website ? What my need is i have to add a reference to my ASP.NET Website in my Class Library for unit testing...... Since it is ASP.NET Website project there is no bin folder with dll ?? Then How can i add ASP.NET website as reference to Class Library ??????
Posted
Comments
Sampath Lokuge 5-Dec-13 8:22am    
Why do you need that ?
MurugappanCTS 5-Dec-13 8:28am    
For unit testing the methods written in the class files and aspx.cs files

1 solution

The way you try to do UI testing is wrong.So please check below mentioned article for more info.

A Test Harness with WatiN, TestDriven.NET, NUnit with Visual Studio

Another useful link may be helped to you.

How apply Unit tests in ASP.NET webforms
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900