为什么gh-unit优于SenTestCase(在Xcode4中)? [英] why gh-unit is better than SenTestCase ( in Xcode4 )?
问题描述
这篇文章Xcode 4中的单元测试讨论单元测试,让我知道gh unit的最佳解决方案,但我知道xcode4只提供了SenTestCase,所以在这里提问,了解更多选择gh-unit的原因?现在xcode4提供原生单元测试框架,你认为现在是最好的选择吗?
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?
推荐答案
最好的答案是。 ..这取决于。
The best answer is "...well it depends."
这是一个非常关于决定因素的好帖子(以及两者之间的良好比较) ):
http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/
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/
这篇关于为什么gh-unit优于SenTestCase(在Xcode4中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!