ios单元测试工程建立
returnValue, @"Should have returned the expected string."); } @end
编译运行,点击 Run,效果如下图。
3
至此,iOS下的OCUnit,GHUnit,OCMock单元测试介绍就到此结束了。当然还有其他一些测试框架,比如google出品的 GTM。 参考资料:
OCMock: http://www.77cn.com.cn/
Unit Testing in Xcode 4- use OCUnit and SenTest instead of GHUnit GHUnit Reference: http://www.77cn.com.cn/gh-unit/ 转自:飘飘白云
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库ios单元测试工程建立(14)在线全文阅读。
相关推荐: