首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Iphone >

debugging unit test for iphone-在iphone上调试单元测试

2012-09-29 
debugging unit test for iphone-在iphone下调试单元测试1.在xcode菜单Project-New Customer Executable.

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”

热点排行