Mm, using a template method... good idea :-) thanks :-) Mvg,
Filip van der Meeren Sent from my iPad On 14 Aug 2010, at 17:21, Michael Ash <michael....@gmail.com> wrote: > On Sat, Aug 14, 2010 at 6:28 AM, F van der Meeren > <fi...@code2develop.com> wrote: >> Hello, >> >> The title already asks what I need to know: >> >> How do I setup the SenTesting framework to run a series of unittests against >> a series of classes? >> For example: >> >> Run testA, testB and testC to all subclasses of a classcluster for example >> NSString and all its subclasses. > > I solved a similar problem (running the same tests against different > filetypes) by writing an abstract test case class that contained all > of the tests, and a stub method to return the filetype to test on. I > then wrote one very small subclass of that test case class for each > filetype to test. You could do the same thing by having a method that > returns the class to test. > > Mike > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/filip%40code2develop.com > > This email sent to fi...@code2develop.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com