nothing is impossible!一切皆有可能!

The difference between white box testing and black box testing

上一篇 / 下一篇  2007-04-24 17:50:37 / 个人分类:测试经历

这篇内容是我摘的,自己整理了下,打算将其翻译成中文,正好可以方便一些同仁的学习,也可以提高我的英文能力。

concept:从概念上讲

  White box testing is to test control structures of a procedural design;

 白盒测试主要测试程序的控制结构,即内部结构的测试。可以说是结构的测试

  black box testing mainly focus on functional requirements.

  黑盒测试主要集中在功能需求的测试上,可以说是功能测试

function从作用来看

   white can derive test cases to ensure:

  白盒测试通过执行测试用例来确保:

  1.all independent paths are exercised at least once;

  所有的独立路径都至少被执行一次;

  2.all logical decisions are exercised for both trure and false paths;

  所有的逻辑设计都执行正确路径操作和错误路径操作。

  3.all loops are executed at their boundaries and within operational bounds;

  在边界范围和可操作范围内执行所有的循环。

  4.all internal data structures are exercised to ensure validity;

  执行所有的内部数据结构以保证结构的有效合法性;

    black attempts to find :

  黑盒测试主要是为了找出:

   1.incorrect or missing functions;

  错误的和遗漏的功能;

   2.interface errors;

  接口错误;

   3.errors in data structures or external database access;

 发生在数据结构或者外部数据库路径上的错误

   4.performance errors;

  性能错误。


相关阅读:

TAG: 测试经历

 

评分:0

我来说两句

Open Toolbar