• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OCTest running the same test against multiple classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OCTest running the same test against multiple classes


  • Subject: Re: OCTest running the same test against multiple classes
  • From: Michael Ash <email@hidden>
  • Date: Sat, 14 Aug 2010 11:21:00 -0400

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

  • Follow-Ups:
    • Re: OCTest running the same test against multiple classes
      • From: F van der Meeren <email@hidden>
References: 
 >OCTest running the same test against multiple classes (From: F van der Meeren <email@hidden>)

  • Prev by Date: Re: Recursive file remove
  • Next by Date: Re: OCTest running the same test against multiple classes
  • Previous by thread: OCTest running the same test against multiple classes
  • Next by thread: Re: OCTest running the same test against multiple classes
  • Index(es):
    • Date
    • Thread