第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开 ...
随机推荐
- PHP解决约瑟夫环问题
PHP解决约瑟夫环问题 一.总结 二.PHP解决约瑟夫环问题 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围.从编号为k的人开始报数,数到 ...
- 初识Visual Studio Code 一.使用Visual Studio Code 开发C# 控制台程序
原文:初识Visual Studio Code 一.使用Visual Studio Code 开发C# 控制台程序 1. 安装.NET Core 安装包下载地址:https://www.microso ...
- 小白学开发(iOS)OC_ 使用继承来扩充类(2015-08-07)
// // main.m // 使用继承来扩充类 // // Created by admin on 15/8/12. // Copyright (c) 2015年 admin. All ri ...
- 用Eclipse替代Keil&IAR来开发ARM应用(升级版)
Eclipse GNU ARM Plugin 2014/7/16 作者 kiya 几个月前写了一篇<),想自己丰衣足食的参考我的上一篇文章,以及GNU ARM的官网. 用Eclipse替代Kei ...
- angular自定义管道
原文地址 https://www.jianshu.com/p/5140a91959ca 对自定义管道的认识 管道的定义中体现了几个关键点: 1.管道是一个带有“管道元数据(pipe metadata) ...
- 【47.40%】【codeforces 743B】Chloe and the sequence
time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard ou ...
- USB 3.0规范中译本 第4章 超高速数据流模型
本文为CoryXie原创译文,转载及有任何问题请联系cory.xie#gmail.com. 本章展示数据和信息如何在超高速上通过的一种高层次的描述.请阅读协议层一章关于低层次协议的细节.本章提供设备架 ...
- Django项目开发实例之我的博客
1.开发环境 2.创建virtualenv 3.安装相关包 Django Pillow 4.创建项目 添加应用: 5.设置静态文件和模板 6.运行测试 参考(http://www.cnblogs.co ...
- Android Notification如何显示表情?
遇到这种分析用什么实现的,肯定要祭出大杀器Android Device Monitor(AS在Tools->Android)打开之后,选中连接的设备,然后点击小手机图标,即可导出UI层次图.咱们 ...
- php 获取提交来源,判断从哪里提交的
echo $_SERVER['HTTP_REFERER'];这个获取上个页面的url例如获得的是 $url = http://www.weisuyun.com/nihao.html其他页面提交过来的不 ...