Marc, Take a look at the example TestSuiteFixture in the article that Andy and I wrote. It uses reflection to create a test for each subclass of System.Exception. I think this is they type of thing you are wanting to do. http://jayflowers.com/joomla/index.php?option=com_content&task=view&id=30&Itemid=99999999
On 9/15/06, Marc <[EMAIL PROTECTED]> wrote: > > What is the class you are trying to test? > > Is IEnumerableTester something other than a [TestFixture]? Might we > need an [AbstractTestFixture] > > Is it possible to do this by having one test fixture inherit another? > > The reason I haven't used TypeFixture is that I'd like to be able to > pass in a list (possibly dynamically generated) of the types I'd like > to have tested. For instance, if I have a bunch of objects that > implement IBusinessObject I need a way to test that all the objects > implement it correctly, without writing a [Factory] method for each. > (Then again, setting up the objects is even a bigger challenge.) > > So, I think we heading in the same direction, but I'm still not sure > exactly what my test would like with your proposal. > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
