• 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: iOS "library" unit test of iOS code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS "library" unit test of iOS code?


  • Subject: Re: iOS "library" unit test of iOS code?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 24 Apr 2017 15:50:17 -0700

Also, in this case, it can be a macOS thing; the code should run equally well, assuming the dylib I depend on can load (it might've been built against the iOS SDK).

> On Apr 24, 2017, at 15:48 , Jens Alfke <email@hidden> wrote:
>
>
>> On Apr 24, 2017, at 3:38 PM, Rick Mann <email@hidden> wrote:
>>
>> I'm trying to test some code that's entirely stand-alone from my app, and in fact I'm having trouble testing it within my app because the app does some things that interfere.
>>
>> So, I tried creating a new test target and specifying "None" for the Test Host, then adding the files needed to the new test target.
>
> You can’t do that in iOS — all tests have to be run within an app.
> If you can’t run them in your regular app, you need to make a new empty app and then test them in that.
>
> —Jens


--
Rick Mann
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

References: 
 >iOS "library" unit test of iOS code? (From: Rick Mann <email@hidden>)
 >Re: iOS "library" unit test of iOS code? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: iOS "library" unit test of iOS code?
  • Next by Date: Re: Translating KVO-ed property to Swift
  • Previous by thread: Re: iOS "library" unit test of iOS code?
  • Next by thread: Repository of older (outdated) PDF Guides?
  • Index(es):
    • Date
    • Thread