Does this mean that you validated through the interface? For example with IList you would verify that Add worked by executing Contains?
On 9/12/06, Morten Mertner <[EMAIL PROTECTED]> wrote: > > Hi Jay, > > So I am doing some research on the relationship between the Liskov > > Substitution Principle and Testability. I know that the MbUnit guys > > are the most creative unit testers in the industry (that is admiration > > not flattery). So I have come to you asking how would you test more > > than one class that implements the System.Collections.IList interface? > I wrote code on a similar vein for a workshop I created. The purpose for > the students was to implement a common IBlogPostStorage interface using > different storage mechanisms (DB and XML). > > I created a test case which took the IBPS interface as parameter, and > two test cases to invoke it using either implementation. > > Yours, > Morten > > > > > -- Jay Flowers ---------------------------------------------------------------------- http://jayflowers.com --------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser -~----------~----~----~----~------~----~------~--~---
