unit test in xcode

来源:互联网 发布:林肯律师剧情解析知乎 编辑:程序博客网 时间:2024/05/05 05:27

Unit Test in OS Quick Start

http://www.raywenderlich.com/3716/unit-testing-in-xcode-4-quick-start-guide

http://blog.csdn.net/kesalin/article/details/7097566


2种选择

* xcode内置的OCUnit + SenTest

* 用开源的 GHUnit + OCMock


很多人说GHUnit + OCMockOCUnit强大但下面这篇文章写了OCUnit已经改善,所以我还是想先用内置的,毕竟集成得好点。


GHUnit vs. OCUnit

http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/




ebook

http://www.amazon.com/Test-Driven-iOS-Development-Developers-Library/dp/0321774183

原创粉丝点击