Advertisement

06.11.2008 at 04:11PM PDT, ID: 23477775
[x]
Attachment Details

How can we use Visual Studio Testing to unit test a form

Asked by CyprexxDev in Visual Studio 2008, Microsoft Visual Basic.Net, .Net Editors & IDEs

Tags: Visual Basic .NET

I'm trying to set up a unit test to simulate a user entering information onto a form created in VB.NET.  I see a load of examples for testing classes on the web, but nothing that goes through testing a form which is compromised of 95% subs - not functions.  I know I can set it up to run the Form Load events, etc - but I cannot simulate the addition of test in many of my field since we use many user controls and the actual text properties for controls within the users controls are Read Only as they should be.  

I'm basically looking for a site with information on how to test a class that inherits from Form.  I know this will be hard to actually explain in this forum, but a simple link to a good site would be great.  Thanks!Start Free Trial
[+][-]06.11.2008 at 10:08PM PDT, ID: 21766308

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 07:37AM PDT, ID: 21769916

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 09:02PM PDT, ID: 21775937

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.26.2008 at 07:03AM PDT, ID: 21874896

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.26.2008 at 08:08AM PDT, ID: 21875590

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.26.2008 at 03:36PM PDT, ID: 21879663

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio 2008, Microsoft Visual Basic.Net, .Net Editors & IDEs
Tags: Visual Basic .NET
Sign Up Now!
Solution Provided By: Chaosian
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.27.2008 at 06:44AM PDT, ID: 21883576

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 11:37AM PDT, ID: 21886530

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 12:03PM PDT, ID: 21886707

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 12:51PM PDT, ID: 21887060

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 01:13PM PDT, ID: 21887212

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 02:31PM PDT, ID: 21887869

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628