How can we use Visual Studio Testing to unit test a form
Posted on 2008-06-11
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!