I am writing unit tests for an app for iPhone using objective c. I want to use some variable only when compiling for test case for example
#ifdef UNIT_TESTING
@synthesize requestFinished, networkAvailable;//etc
#endif
now where should I define UNIT_TESTING that when I compile for unit tests it should enter this code block.... otherwise should go past it....