> On May 27, 2015, at 3:58 PM, Rick Mann <[email protected]> wrote:
> 
> So, being able to include the unit tests right with the code to be tested 
> would be nice. The downside, of course, is that the test code normally gets 
> linked in with the distributed binary if you do this.

Not if you wrap it in #if DEBUG … #endif.

(Or do you require that the Release/optimized code be tested? Xcode doesn’t 
normally do that unless you modify the test settings in the scheme. And it’s 
problematic because regular NSAsserts in your code will be disabled too, so 
they won’t be part of tests.)

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to