how to test .net web appliaiton with NUnit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravindarjobs
    New Member
    • May 2007
    • 86

    how to test .net web appliaiton with NUnit

    Hi friends,

    i have gone through the basic documentation of Nunit.

    also i went through links like






    but they just explain how to test a class library.

    i am really very panic how to test a web application with Nunit.

    really panic even though read some posts. all the thing is that i get information how to start testing with a base class library. but i need help how to test a web application, how to pass dynamic values in to it. like suppose i may have to pass a session object in to a method or some runtime object.
    in this cases how to test.

    can any one just help me how to get started with it other than that basic documentation.

    i mean i am really new to it. please help me

    thanks
    Ravindar
    Ravindar
  • ravindarjobs
    New Member
    • May 2007
    • 86

    #2
    well i came to one step.

    i just added reference and test method attributes to the method and ran the visual studio as usual and i put debug statements at some places.

    and when the assertion fails, it goes to the catch block and it shows the exception.


    but i know this is not the correct way. but i just started with this.

    Comment

    Working...