.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 >> Others >> Post New QuestionBookmark and Share Subscribe to Forum

Problem in writing unit test cases in vs 2008 for a webapplication

Posted By: pavani     Posted Date: October 22, 2009    Points:2   Category :Others
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 Pavani,

In Visual Studio 2008 the files are created as a dll under the covers for you. The file is actually a hidden file and cannot be seen in the IDE for Writing Unit test cases..

But you can refer this article this may help you

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

http://msdn.microsoft.com/en-us/library/ms182526(VS.80).aspx

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