首页 > 代码库 > 第1讲:The nature of Testing--测试的本质

第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.

--未完待续