延迟设备中的 OCUnit 执行 - xcode
我可以使用一些示例代码在 XCode 4 中运行 OCUnit。
但是,我想修改它,以便测试比启动时运行得晚一些。
例如,我希望我的闪屏完成,然后进行测试。
这可能吗?
I am am able to run OCUnit in XCode 4 with the some sample code.
But, I would like to modify it so that the tests run a little later than at startup.
For example, I would like my splash screen to finish, and test after that.
Is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我听起来更像是在进行功能测试或集成测试,而不是真正的单元测试。
然而,GorillaLogic 也有一个名为 FoneMonkey 的免费软件,它可能会帮助您实现您所追求的目标。 At will 允许您运行单元测试等,包括基于 UI 状态的延迟。
I sounds more like you're doing a functional or integration test that a true unit test.
However there is a free too called FoneMonkey by GorillaLogic that might help you to achieve what you're after. At will allow you to run unit tests, etc. including delays based on the state of your UI.