debugging unit test for iphone-在iphone下调试单元测试
1.在xcode菜单Project->New Customer Executable..
取名如“otest",Path填”Developer/user/bin/otest”
2.右键Executables下新建的otest,选择“Get Info”,在Arguments下
加参数
-SenTest self
UnitTests.octest
UnitTests.octest为单元测试的bundle
再加环境变量
3.debug时选择otest,右键“Start otest With BreakPoint”