UI级别测试和API级别测试有什么区别? [英] What's difference between UI level testing and API level testing?

查看:90
本文介绍了UI级别测试和API级别测试有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在采访一些公司时遇到了这个问题.我认为我不能很好地回答这个问题.但是,根据我的理解:

I got this question while interviewing some companies. I don't think I answer the question well. However, based on my understanding:

UI级别测试更多地涉及最终用户将看到的内容,并且最好用于验收测试.

The UI level testing is more about the what end user will see and would be better to use for acceptance testing.

API级别测试非常适合性能测试,因为它更容易模拟多个用户同时访问资源.而且,更容易发现问题所在.

The API level test is good for performance testing, since it's easier to simulate multiple users to access the resource at the same time. And, it's easier to look at where the problem will be.

任何人都可以给我更多详细信息吗?而我们什么时候应该选择使用哪种类型的测试呢?非常感谢.

Can anyone give me more detail about that? And when should we choose to use which type of testing?? Thanks a lot.

推荐答案

让我给您几个附加的关键字,而不是冗长的解释,在哪里可以找到Internet上写的卷.对于UI测试,还可以查看FUNCTIONAL和EXPLORATORY测试.对于API,还请查看UNIT和AUTOMATED测试.

Instead of going into a long explanation, where you can find volumes written on the Internet, let me give you a couple of additional keywords. For UI testing, also look at FUNCTIONAL and EXPLORATORY testing. For API, also look at UNIT and AUTOMATED testing.

我发现此资源很有用 http://www.stickyminds.com/testandevaluation.asp?Function=FEATUREDETAIL&ObjectId=17275

选择一位老板会为您晋升的人.

Pick the one your boss will give you a promotion for.

这篇关于UI级别测试和API级别测试有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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