How to do Unit testing in asp.net?
I have not used unit testing any time or any software yet for testing. Suppose I have webform.//
Name : testbox1
Surname : textbox2
city : dropdownlist
Submit button
//
Onclick of submit button,I want insert the record.
// cs file
I am using sqlhelper class file having some function. I am using that function for insertion and selection.
In my cs file I am creating sqlfile's object and calling method and passing parameter.
For debugging I am using Visual Studio, not any software. Manual testing I am doing by means of passing different value to textbox.
Can anybody tell me how to do unit testing in this case? Do I need to download any software for this? Is it free or not?