Justin Rudd [mailto:[EMAIL PROTECTED]] wrote:

> I'm very familiar with Mock Objects
> (http://abstractadonet.sourceforge.net/mock.html).

Cool stuff... and this is much simpler with the System.Data namespace since
they actually did factor it all out into interfaces.

> My
> question was really a request for comments.  I was
> wondering HOW people are approaching the problem.

I see... well, while I haven't run into this problem yet myself in .NET
land, I would still think the abstract layer approach works best. As Ian
mentions in his follow up, not only does this buy you the ability to test
with mock objects, but it also buys you vendor plugability. The set back of
course is that you have to spend time designing the abstract layer, but in
my experience the benefits of this outweigh the costs more often than not.

Later,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to