This post "Unit Testing in Xcode 4" talks about unit test, let me know the best solution "gh unit" , but I know that xcode4 just provides SenTestCase , so question here to know more reasons why you choose gh-unit ? And now xcode4 provide native unit testing framework, do you think that is the best choice now?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The best answer is "...well it depends."
Here is a very good post on what the determining factors are (as well a a good comparison between the two): http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/