Can I whitelose my own customized statement for test cases in Objective-C?
If you are testing integration, or a test that involves interaction between several different components, then I understand that it is certain that some behavior has occurred or not - as the behavior is hidden in the main code or has not been recorded.
To write a solution code that is to record the behavior or to display the internal state in the test unit and to surround such blocks of code You can add preprocessor macros in the build settings of the app target (not the test target) for debug mode. This may be a potential source of confusion, though. #ifdef .
Comments
Post a Comment