黑盒或白盒测试应该成为测试人员的重点吗? [英] Should black box or white box testing be the emphasis for testers?

查看:146
本文介绍了黑盒或白盒测试应该成为测试人员的重点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您要说哪种测试应该成为重点(针对测试人员/质量检查人员),为什么?

Which type of testing would you say should be the emphasis (for testers/QAs), and why?

维基百科的一组快速定义:

A quick set of definitions from wikipedia:

黑匣子测试

  • 从测试对象的外部角度导出测试用例.这些测试可以是功能性的或非功能性的,尽管通常是功能性的.测试设计人员选择有效和无效的输入,然后确定正确的输出.不了解测试对象的内部结构.

白盒测试

  • 使用系统的内部透视图基于内部结构设计测试用例.它需要编程技巧来识别通过软件的所有路径.测试人员选择测试用例输入,以遍历代码的路径并确定适当的输出.在电气硬件测试中,可以探测和测量电路中的每个节点.一个例子是在线测试(ICT).

仅需澄清一点,我意识到两者都很重要,但是通常,它们在dev和QA之间是分开的.

Just to clarify a bit more, I realize that both are important, but, usually, they are separate between dev and QA.

内部知识对测试人员/质量检查人员重要吗?我曾经听到过这样的论点,即带着这些知识进行测试可以使他们更好地测试问题,但是我也听到过这样的论点,即这种知识可以分散功能需求并促进对代码的测试",而不是预期的解决方案.

Is internal knowledge important for the tester/QA? I've heard arguments that testing with this knowledge in mind enables them to better test for problems, but I've also heard arguments that this knowledge can distract from functional needs and promote "testing to the code" rather than to the intended solution.

推荐答案

  • 黑匣子测试应成为测试人员/质量检查人员的重点.
  • 白盒测试应该是开发人员的重点(即单元测试).
  • 回答此问题的其他人似乎将问题解释为更重要的是白盒测试或黑盒测试.我也相信它们都很重要,但是您可能想看看 IEEE文章声称白盒测试更为重要.
    • Black box testing should be the emphasis for testers/QA.
    • White box testing should be the emphasis for developers (i.e. unit tests).
    • The other folks who answered this question seemed to have interpreted the question as Which is more important, white box testing or black box testing. I, too, believe that they are both important but you might want to check out this IEEE article which claims that white box testing is more important.
    • 这篇关于黑盒或白盒测试应该成为测试人员的重点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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