Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run OCTest from command-line, not XCode

XCode 3.1.2 using built-in OCTest unit testing.

I'm getting a crash when unit tests run. I want to run w/ a few extra environment variables (MallocCheckHeapStart, MallocCheckHeapEach, for example).

I'm a beginner with this and can't figure out how to run my app's OCTest unit tests from the command-line. Or alternatively, to convince XCode to set a few extra environment variables when it launches the unit tests.

like image 578
John M Avatar asked Mar 13 '26 11:03

John M


1 Answers

This is a very useful post about debugging OCUnit tests.

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

like image 68
kperryua Avatar answered Mar 16 '26 01:03

kperryua



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!