为什么 gh-unit 比 SenTestCase (在 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好的答案是“……这取决于情况。”
这是一篇非常关于决定因素的好文章(以及两者之间的良好比较):
http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/
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/