第1讲:The nature of Testing--測试的本质
*********声明:本系列课程为Cem Kanner的软件黑盒測试基础的笔记版**************
What's A COMPUTER PROGRAM?
Textbooks often define a "computer program" like this:A program is a set of instructions(指令) for a computer.
That's like defining a house like this:
- A house is a set of construction materials assembled(建筑材料集合) according to house-design
patterns.
I'd rather define it as:
- A house is something built for people to live in.
The second definition focuses on the
Stakeholders(for people) and Purpose(to live in), rather than on its materials.
Stakeholder(项目相关人): Any person affected by(受到……影响): success or failure of a project, or, actions or inactions of a product,or effects of a service.
------------------------------------------------------------------------------------------------------
A DIFFERENT DEFINITION
- A computer program is:
- a communication
- among several humans and computers
- who are distributed over space and time,
- that contains instructions that can be executed by a computer
The point of the program is to provide value to the stakeholders.
-----------------------------------------------------------------------------------------------------
WHAT ARE WE REALLY TESTING FOR?
Quality is value to some person----Jerry Weinberg
Quality is inherently subjective(质量天生就是主观的). Different stakeholders will perceive the same product as having different levels of quality.
Testers look for different things for different stakeholders.
--------------------------------------------------------------------------------------------------------
SOFTWARE ERROR
An attribute(属性,品质) of a software product
- that reduces its value to a favored stakeholder
- increases its value to a disfavored stakeholder
- without a sufficiently large countervailing benefit
An error:
May or may not be a coding error, or a functional error. Design errors are bugs too.
------------------------------------------------------------------------------------------------------------
SOFTWARE TESTING
- is an empirical(经验)
- technical(技术)
- investigation(审查)
- conducted to provide stakeholders with information about the quality of the product or service under test(为项目相关者提供被測产品或服务的质量信息)
We design and run tests in order to gain useful information about the product's quality.
-------------------------------------------------------------------------------------------------------------
TESTING IS ALWAYS A SEARCH FOR INFORMATION----測试的作用
- Find important bugs(找到严重的缺陷)
- Assess the quality of the product(评估产品的质量)
- Help managers assess the progress of the project(帮助管理者评估项目的进度)
- Help managers make release decisions(帮助管理者做出决定是否公布release)
- Block premature product releases(阻止公布草率的release)
- Help predict and control product support costs(预估和控制产品支持的费用)
- Check interoperability with other products(检查和其它产品的协同工作能力)
- Find safe scenarios for use of the product(找出产品使用过程中的安全场景)
- Assess conformance to specifications(评估产品是否和规格说明书一致)
- Certify the product meets a particular standard(确保产品符合通用的标准)
- Ensure the testing process meets accountability standards(确保測试过程满足可度量的标准)
- Minimize the risk of safety-related lawsuits(降低安全相关的诉讼风险)
- Help clients improve product quality & testability(帮助客户提高产品质量和可測性)
- Help clients improve their processes(帮助客户改进他们的过程)
- Evaluate the product for a third party(有第三方评估产品)
第1讲:The nature of Testing--測试的本质的更多相关文章
- 利用Continuous Testing实现Eclipse环境自己主动单元測试
当你Eclipse环境中改动项目中的某个方法时,你可能因为各种原因没有执行单元測试,结果代码提交,悲剧就可能随之而来. 所幸infinitest(http://infinitest.github.io ...
- OpenGL学习脚印:深度測试(depth testing)
写在前面 上一节我们使用AssImp载入了3d模型,效果已经令人激动了.可是绘制效率和场景真实感还存在不足,接下来我们还是要保持耐心,继续学习一些高级主题,等学完后面的高级主题,我们再次来改进我们载入 ...
- testing and SQA_动态白盒測试
一.软件測试技术: 黑盒:在不知道程序内部结构,仅仅知道程序结构的情况下採用的測试技术或策略. 白盒:在知道程序内部结构的情况下採用的測试技术或策略. 两种測试方法从不同的角度出发,反映了软件的不同側 ...
- C语言单元測试
C语言单元測试 对于敏捷开发来说,单元測试不可缺少,对于Java开发来说,JUnit非常好,对于C++开发,也有CPPUnit可供使用,而对于传统的C语言开发,就没有非常好的工具可供使用,能够找到的有 ...
- 谈谈单元測试之(二):測试工具 JUnit 3
前言 上一篇文章<为什么要进行烦人的单元測试?>讨论了一下现阶段软件开发中,程序猿们測试情况的现状.这篇文章中,我打算介绍一下单元測试的工具(插件).而且推荐大家以后在开发中,真正的用上单 ...
- iOS自己主动化測试的那些干货
前言 假设有測试大佬发现内容不正确.欢迎指正,我会及时改动. 大多数的iOS App(没有持续集成)迭代流程是这种 也就是说.測试是公布之前的最后一道关卡.假设bug不能在測试中发现,那么bug 就会 ...
- Android自己主动化測试解决方式
如今,已经有大量的Android自己主动化測试架构或工具可供我们使用,当中包含:Activity Instrumentation, MonkeyRunner, Robotium, 以及Robolect ...
- 玩转Bash脚本:test測试语句
总第1篇test就是測试的意思,经常使用在流程控制语句中作为条件.以下做一下介绍. 关于真值 与其它语言不同,Bash(包含其它Shell)中,是用0表示真,非0表示假的.之所以用0表示成功,而不是1 ...
- Android单元測试之JUnit
随着近期几年測试方面的工作慢慢火热起来.常常看见有招聘測试project师的招聘信息.在Java中有单元測试这么一个JUnit 方式,Android眼下主要编写的语言是Java,所以在Android开 ...
随机推荐
- 【u023】最长上升子序列(sequence)
Time Limit: 1 second Memory Limit: 128 MB [问题描述] 非常经典的问题,拿来给大家练手了. 序列 { 1,2,...,n } 的一个子序列是指序列 { i1, ...
- js如何生成[n,m]的随机数
js如何生成[n,m]的随机数 一.总结 一句话总结:生成随机数就是用的Math的random方法. 1.Math.random()得到的数据的左右开闭情况是怎样的? 左闭又开 所以Math.floo ...
- Java解惑八:很多其它库之谜
本文是依据JAVA解惑这本书,做的笔记. 电子书见:http://download.csdn.net/detail/u010378705/7527721 谜题76 将线程的启动方法start(),写成 ...
- 打开cad文件的几种方法
转自原文 打开cad文件的几种方法 IWorkspaceFactory pWorkspaceFactory; IFeatureWorkspace pFeatureWorkspace; IFeature ...
- Android自定义组件系列【1】——自定义View及ViewGroup
View类是ViewGroup的父类,ViewGroup具有View的所有特性,ViewGroup主要用来充当View的容器,将其中的View作为自己孩子,并对其进行管理,当然孩子也可以是ViewGr ...
- vue相关网站资源收集
因为接了一个使用VUE + ES6 + Webpack的项目,所以在工作之余,也加紧了对这些知识的学习,这里放上遇到的觉得不错的网站链接: 1 vue官网 https://cn.vuejs.org 2 ...
- [React] Break up components into smaller pieces using Functional Components
We are going to ensure our app is structured in a clear way using functional components. Then, we ar ...
- JBoss AS 7之初步了解(The Return Of The King)
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvam9obl9mX2xhdQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQk ...
- 【u027】神秘大三角
Time Limit: 1 second Memory Limit: 128 MB [问题描述] 判断一个点与已知三角形的位置关系. [输入格式] 前三行:每行一个坐标,表示该三角形的三个顶点 第四行 ...
- PatentTips - OpenCL compilation
BACKGROUND The present disclosure relates generally to integrated circuits, such as field programmab ...