Object Test Bench

<VS2005 release>
I discovered today the "Object Test Bench" : pretty interesting for quickly testing some classes .
 
Unfortunatly (and I don’t understand why) , this can only be used in Visual C#, not in VB.net.
 
Here is how to use it:
 
In the class View, right click on a class, select "create instance".
The Object Test Bench window will be visible with a instance of the select class (an object); on this window, right click on this object, select ("Invoke method") a method to test and provide the value for the matching parameters; select save value.
 
This doesn’t replace unit testing, but is convenient anyway…
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s