• 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: Single unit test from within XCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single unit test from within XCode?


  • Subject: Re: Single unit test from within XCode?
  • From: Timothy Reaves <email@hidden>
  • Date: Sun, 13 Jan 2008 20:30:23 -0500


On Jan 13, 2008, at 3:22 PM, Chris Hanson wrote:

On Jan 13, 2008, at 10:02 AM, Timothy Reaves wrote:

Has anyone ben able to get XCode to execute a single ObjC unit test? I'd appreciate any info on this. Thanks.

Assuming you're using OCUnit, the easiest way to do this is to set up an executable in your project for otest or your application just as if you were going to debug your unit tests. Add the pair - SenTest ClassName/methodName to its arguments so it will run a particular test method in a particular test case class, or -SenTest ClassName to run all test methods in that test case class. Then make the executable your active executable and run it.


 -- Chris



Was there any write up on this anywhere? _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Single unit test from within XCode?
      • From: Chris Hanson <email@hidden>
References: 
 >Single unit test from within XCode? (From: Timothy Reaves <email@hidden>)
 >Re: Single unit test from within XCode? (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Single unit test from within XCode?
  • Next by Date: Detached editor window & opening files
  • Previous by thread: Re: Single unit test from within XCode?
  • Next by thread: Re: Single unit test from within XCode?
  • Index(es):
    • Date
    • Thread