Xcode中逻辑测试与应用测试的区别? [英] Difference between Logic Test and Application Test in Xcode?

查看:145
本文介绍了Xcode中逻辑测试与应用测试的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode中创建新的目标c单元测试用例时,它会要求您在逻辑测试和应用程序测试之间进行选择。有什么区别?

In Xcode when you create a new objective c unit test case, it asks you to choose between "Logic" test and "Application" test. What's the difference?

推荐答案

逻辑测试部分用于做白盒测试;它允许您在更细粒度的水平上进行测试。

The Logic Test part is for doing White Box testing; it allows you to test things at a more granular level.

应用程序测试更像是黑盒测试,您可以检查与UI控件的交互以及应用程序的UI是否为您提供了预期的结果/行为。

Application Test is more like Black Box testing where you check that interactions with UI controls and the UI of your application is giving you the expected results/behavior.

这篇关于Xcode中逻辑测试与应用测试的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆