1.3 Seven Testing Principles

2015-06-23

Principle 1 - Testing shows presence of defects(测试显示存在缺陷)

Testing can show that defects are present, but cannot prove that there are no defects. Testing can reduces the probability of undiscovered defects remaining in software, but even if no defects are found, it is not a proof of correctness.

测试可以显示存在缺陷,但不能证明系统不存在缺陷。测试可以减少软件中存在未被发现缺陷的可能性,但即使测试没有发现任何缺陷,也不能证明软件或系统是完全正确的。

Principle 2 - Exhaustive testing is impossible(穷尽测试是不可行的)

Testing everything (all combination of input and precondition) is not feasible except for trivial cases. Instead of exhaustive testing, risk analysis and priorites should be used to focus testing efferts.

除了小型项目,进行完全(各种输入和前提条件的组合)的测试是不可行的。通过运用风险分析和不同系统功能的测试优先级,来确定测试的关注点,从而替代穷尽测试。

Principle 3 - Early testing(测试尽早介入)

To find defects early, testing activities shall be started as early as possible in the software or system development of life cycle, and should focus on defined objectives.

为了尽早发现缺陷,在软件或系统开发生命周期中,测试活动应该尽可能早的介入,并且应该将关注点放在已经定义的测试目标上。

Principle 4 - Defect clustering(缺陷集群性)

Testing effert shall be focused proportionally to the expected and later observed defect density. A small number of modules usually contains most of the defects discovered during pre-release testing, or is responsible for most of the operational failures

测试工作的分配比例应该与预期的和后期观察到的缺陷分布模块相适应。少数模块通常包含大部分在测试版本中发现的缺陷或失效。

Principle 5 - Pesticide paradox(杀虫剂悖论)

If the same tests are repeat over and over again, eventually the same set of test cases will no longer find new defect. To overcome this "Pesticide paradox", test cases need to be regularly reviewed and revised, and new and different tests need to be written to exercise different part of the software or system to find potentially more defects.

采用同样的测试用例多次重复进行测试,最后将不再能够发现新的缺陷。为了克服这种“杀虫剂悖论”,测试用例需要进行定期评审和修改,同时需要不断增加新的不同的测试用例来测试软件或系统的不同部分,从而发现潜在的更多的缺陷。

Principle 6 - Testing is context dependent(测试活动依赖于测试背景)

Testing is done differently in different contexts. For example, safety-critical software is tested differently from an e-commerce site.

针对不同的测试背景,进行不同的的测试活动。比如,对安全关键的软件进行测试,与对一般的电子商务软件的测试是不一样的。

Principle7 - Absence-of-errors fallacy(不存在缺陷(就是有用系统)的谬论)

Finding and fixing defects does not help if the system built is unusable and does not fulfill the users' need and expectation.

假如系统无法使用,或者系统不能完成客户的需求和期望,发现和修改缺陷是没有任何意义的。

转载于:https://www.cnblogs.com/insane-Mr-Li/p/10818124.html

1.3 Seven Testing Principles相关推荐

  1. TestGoal: Result-Driven Testing

    版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版.作者信息和本声明.否则将追究法律责任. http://blog.csdn.net/topmvp - topmvp Softwar ...

  2. [ZZ]测试阶段及类型(Testing Phases Types)

    测试阶段及类型: Testing Phases http://www.research.umbc.edu/~cseaman/ifsm698/lect0910.ppt http://www.ics.uc ...

  3. Unit Test and Integration Test

    Unit Test and Integration Test Background It is the first time that I try to write an article in Eng ...

  4. 开源Python-单元测试

    python开源系列文章 开源Python-单元测试 开源python-文档撰写 开源python-代码规范与检查 开源python-打包发布 开源python-自动集成 开源python-向tran ...

  5. 关于测试工程师瓶颈和突围的一个思考

    汽车电子领域,测试工作摸爬滚打即将走过5年,跨过了测试发展中的四个重要阶段:一人设计自己测试.一个团队内部进行测试.测试小组专门测试.测试部门独立测试,团队最大到13人之多.如今陷入到事业发展的瓶颈之 ...

  6. CSE 110: Principles of Programming Languages

    CSE 110留学生作业代写.代做PatronList作业.代写Java编程语言作业.代做Java实验设计作业 CSE 110: Principles of Programming Languages ...

  7. Interviewing at Amazon — Leadership Principles Reading Notes

    Reference: Interviewing at Amazon - Leadership Principles 这里面有好多大义凛然的话我们可以去说.基本上句句经典. In summary, wh ...

  8. 机器学习基石05:训练与测试(Training versus Testing)

    上一篇文章介绍了机器学习的可行性.本文将讨论机器学习的核心问题,严格证明为什么机器可以学习. 系列文章 机器学习基石01:机器学习简介 机器学习基石02:感知器算法(Perceptron Algori ...

  9. Handbook of Usability Testing: Howto Plan, Design, and Conduct Effective Tests

    版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版.作者信息和本声明.否则将追究法律责任. http://blog.csdn.net/topmvp - topmvp Is your ...

最新文章

  1. 选择排序——一般选择排序,堆排序
  2. docker安装logstash及logstash配置
  3. 次世代手游美术资源优化干货分享
  4. Apache Lucene 7.0即将发布!
  5. c++二叉树的层序遍历_leetcode 103. 二叉树的锯齿形层序遍历
  6. 开发中常用的linux语句,MySQL开发中常用的查询语句总结
  7. 五分钟彻底学会iptables防火墙--技术流ken
  8. SpringCloud工作笔记071---mysql字符集 utf8 和utf8mb4 的区别_utf8是不能存储emoji表情字符集的
  9. SQL Server审核最佳做法
  10. linux python指令大全,Linux常用指令
  11. Warning: The TensorFlow library wasn't compiled to use SSE,SSE2,SSE3,SSE4.1 instructions
  12. 解决CocosCreator2.3.1使用VideoPlayer加载视频黑屏问题(修改底层代码)
  13. 计算机操作系统的图示,电脑操作系统位数的多种查看方法【图文教程】
  14. ModuleNotFoundError: No module named 'pytz'
  15. Mapabc——地图标注
  16. 传奇源码分析-服务器端(SelGate服务器分析)
  17. 鬼谷八荒逆天改命词条通过C++代码制作
  18. 苹果指责三星收高版税:三星说苹果抄我们的
  19. 一维条形码识别的整个过程原理通俗易懂讲解
  20. Adobe After Effect的 安装 教程

热门文章

  1. 创业板股票提示没有交易权限,怎么开通创业板股票交易权限?
  2. python中cookies怎么用_Python中的Cookie模块如何使用
  3. 注意力水平的测试软件,中国儿童注意力水平测评量表儿童
  4. sql 查询列 进行 拼接 单引号 逗号_xml path excel
  5. uniapp 实现拍照 相册选取选视频和照片
  6. 手机巨头恶战增值服务
  7. VR虚拟现实3D可视化建模汽车3D在线展示
  8. Oriented FAST and Rotated BRIEF
  9. [周五发]bcrypt、二维码美化、window web app收集
  10. 怎么用python画房子_如何用Python画一颗小树?