.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Problem in writing unit test cases in vs 2008 for a webapplication(please its urgent)

Posted By: pavani     Posted Date: October 22, 2009    Points:2   Category :ASP.Net
hi

i have a problem in writing unit test cases for a web application in vs 2008
help me out in writing unit test cases that is methods in unit test class in a web application .I tried it out but am not able to access class(default.aspx.cs and a class in app_code folder) in thr unit test class which will be created wen we start doing unit testing for a web application


Please its urgrent give me any example
thaks in advance

Responses
Author: Amit Mehra             
Posted Date: October 25, 2009     Points: 5   

Hi,

Yes you are right App_code folder is for private class hence this will be the problem...Check out this link this may help you..


http://www.infosysblogs.com/microsoft/2008/01/aspnet_unit_testing_issue_on_i.html

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend