Posted on: 1/12/2013 4:36:51 PM | Views : 522

I am new to unit testing; it would be helpful if anybody can guide to conduct unit testing for my database driven website.
This website’s job is to upload/transfer data from excel to database and display records in the Grid View. If user wants to make some changes e.g. Edit/Delete to the data, he/she will be able to do it through GridView.
I want to use NUnit, for conducting unit test for my web page.
I am also attaching the code for reference. If anybody can help me in this issue it would be really helpful.
Thanks in advance.
Dipak  
public partial class _Default : System.Web.UI.Page { string connectionString; //connectionString = "Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=TEST_DB;Data Source=DELL-PC"; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.BindData(); } ...

Go to the complete details ...