• 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: Using XCTest performance tests (Debug vs Release builds)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using XCTest performance tests (Debug vs Release builds)


  • Subject: Re: Using XCTest performance tests (Debug vs Release builds)
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 07 Feb 2017 00:44:15 -0800

On Feb 6, 2017, at 11:21 AM, Jens Alfke <email@hidden> wrote:

 But I suspect Xcode won’t let me set up two test targets on a single main target (how will it know which one to run when I choose Test?)

When you choose Test, Xcode uses the way you’ve configured the Test action for your active scheme.

You can actually set up Xcode to run any number or arrangement of test via the Test action this way, they don’t all have to come from a single target. So for example, you can have a single scheme for an application whose Test action runs the tests for the framework where most of the app’s logic lives, runs the unit tests for the app itself, and runs the UI tests for the app.

(When you edit a scheme, the actions are the sections along the left: Run, Test, Profile, Analyze, Archive. “Build,” at the head of the list, is really more of a meta-action that happens before and applies to all of the other actions.)

  -- Chris

 _______________________________________________
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: Using XCTest performance tests (Debug vs Release builds)
      • From: Jens Alfke <email@hidden>
References: 
 >Using XCTest performance tests (Debug vs Release builds) (From: Jens Alfke <email@hidden>)

  • Prev by Date: Unassigned images in launch image set
  • Next by Date: Re: Xcode 3.2.6 to the latest Xcode - what might I lose?
  • Previous by thread: Re: Using XCTest performance tests (Debug vs Release builds)
  • Next by thread: Re: Using XCTest performance tests (Debug vs Release builds)
  • Index(es):
    • Date
    • Thread