Is it possible to have a macro defined in the target parameters (testing) or in the test .pch file so that it is transmitted to the entire application?
Or is there any macro that is already available for verification (from the code) if we run the test?
eg:
#if TEST=1 // do something #else // do something else #endif
The reason I want this is to skip some code, claims, etc. during testing (without the need to change #define in the main .pch application every time I run tests).
Thanks.
source share