2 Replies - 1546 Views - Last Post: 12 December 2012 - 03:51 PM Rate Topic: -----

#1 Archangel_stn  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 31-October 12

How do I create a unit test from a webform?

Posted 12 December 2012 - 10:55 AM

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..

Thanks...

This post has been edited by modi123_1: 12 December 2012 - 03:51 PM


Is This A Good Question/Topic? 0
  • +

Replies To: How do I create a unit test from a webform?

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5316
  • View blog
  • Posts: 11,373
  • Joined: 02-June 10

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.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8396
  • View blog
  • Posts: 31,234
  • Joined: 12-June 08

Re: How do I create a unit test from a webform?

Posted 12 December 2012 - 03:51 PM

Amen to that - title updated.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1