I have a asp.net web form which has 8 Textbox.And ı connected it to a database.The event of the button is that saving textbox values to the database.There is no problem here but ı wanna code a unit test project for it.It must control the textbox is not null and database connection is ok in addition it will be so good to check database's table values which they are correct as our wanting values.
The question is that how can ı create a unit test project for my asp.net web form..
This post has been edited by modi123_1: 12 December 2012 - 03:51 PM
Please show what you have already tried when asking a question.
Re: How do I create a unit test from a webform?
Posted 12 December 2012 - 02:28 PM
There are more than 500,000 users on the DIC. Can you imagine if they all titled threads as "Question" ? Please use meaningful titles so the people with the most knowledge in your area are drawn to your question. This also helps people later using search engines to find the help they need.