Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I've just discovered the Object Test Bench. Is it useful? If so, how would you use it? All my objects are so interconnected that I think it would be more work to set them up on the test bench than to simply run the application and set them up as intended.
  • Leaders
Posted

I think the Object Test Bench would be best suited to drop-in components, such as those designed to be reusable.

 

There is an ideal that some programmers strive for, sometimes referred to as an "orthogonal" style or model. Essentially, the point is to reduce coupling and interdependence. Generalize classes or narrow their scope and they become more re-usable and easier to modify without things blowing up. In terms of the Object Test Bench, if you code with an orthogonal style, it would certainly be easier to test your components independently.

[sIGPIC]e[/sIGPIC]
Posted
OK, thanks. I probably need to have a think about ensuring that later versions of my programme will be compatible with earlier ones and I guess this is along the same lines.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...