How to run OCTest from the command line, not Xcode

Xcode 3.1.2 using OCTest built-in testing.

I am getting a failure while performing unit tests. I want to run some additional environment variables (e.g. MallocCheckHeapStart, MallocCheckHeapEach).

I start with this and cannot figure out how to run the OCTest tests of my application from the command line. Or, conversely, to convince Xcode to set some additional environment variables when running unit tests.

+3
source share
2 answers

This is a very useful post about debugging OCUnit tests.

http://chanson.livejournal.com/120740.html

+4
source

" " " ". , . , ( , ) . . . , "". .

"" : ", " ( ) ", ". + , .

0

Source: https://habr.com/ru/post/1711819/


All Articles