Re: OCTest running the same test against multiple classes
Re: OCTest running the same test against multiple classes
- Subject: Re: OCTest running the same test against multiple classes
- From: F van der Meeren <email@hidden>
- Date: Sat, 14 Aug 2010 17:28:22 +0200
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 <email@hidden> wrote:
> On Sat, Aug 14, 2010 at 6:28 AM, F van der Meeren
> <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden