任何成功调试iPhone的单元测试的人? [英] Anyone successful in debugging unit tests for iPhone?
本文介绍了任何成功调试iPhone的单元测试的人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在如何在Cocoa中调试单元测试或 ADC页面在这里。
但是我无法调试到iPhone应用程序目标。我可以启动并运行测试,并在构建过程中运行它们,但我需要的是对某些更复杂的故障进行调试。
解决方案
-x-and-iphone-ghunit /rel =nofollow noreferrer> GHUnit ,它们在正常的应用程序目标中运行,因此调试非常简单。
I found examples on how to debug your unit test in Cocoa or the ADC page here. But I can't get the debugging to work for an iPhone app target. I can get the tests up and running and they are run during the build, but what I need is to debug the tests for some of the more complex failures.
解决方案
You might consider moving your tests to GHUnit, where they run in a normal application target, so debugging is straightforward.
这篇关于任何成功调试iPhone的单元测试的人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文