Exclude code in UISpec

8 views
Skip to first unread message

aravindhan p

unread,
May 31, 2011, 5:07:56 AM5/31/11
to UISpec

I am integrating FlurryAPI with my app, and I don't want it to start a
link when I'm running my tests. However, since it's in the
AppDelegate, I suppose it runs whenever I start the application for
Acceptance Testing. I'm using UISpec, and I was wondering:

Is there any way to exclude code from running in UISpec, but still
running in normal target?

David

unread,
May 31, 2011, 11:04:30 AM5/31/11
to uis...@googlegroups.com
Typically #ifdef the code and define the option in build settings for one target or the other.
--
You received this message because you are subscribed to the Google Groups "UISpec" group.
To post to this group, send email to uis...@googlegroups.com.
To unsubscribe from this group, send email to uispec+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/uispec?hl=en.


Reply all
Reply to author
Forward
0 new messages