一、软件测试的基本概念

1、测试用例的定义

① fault :A static defect in the software

② failure:External, incorrect behavior with respect to the requirementsor other description of the expected behavior

③ error:An incorrect internal state that is the manifestation of somefault


2、PIE model

Three things usually happen in order to reveal theexistence of a fault:

1. executes the code where the fault has an impact(“execution")

2. changes the data state of the computation (“infection”)

3. propagates this erroneous state to an output(“propagation").

3、测试=V+V

   Verification 验证

   Validation 确认

Validation: The process of evaluating software at the endof software development  to ensurecompliance with intended usage

Verification: The process of determining whether theproducts of a given phase of the software development process fulfill therequirements established during the previous phase

4、测试和调试的区别

目标:检查错误;解决错误

任务:设计测试用例;程序(代码)

结果:失效;代码正确

角色:测试人员;开发人员

过程:设计、执行测试用例;定位和修复


5、软件测试的定义:发现缺陷,是否符合预期要求

   软件测试的作用:改变质量

   成功的测试:预期输出失败的测试


6、测试分类:

a)代码是否可见:白盒 黑盒 (灰盒)

b)是否需要执行软件:动态(测代码、发现错误) 静态(检查文档,定位错误)

c)是否人工干预:手工 自动化

d)按测试阶段分类: 单元测试(类或方法)、集成测试(接口、参数返回值)、系统测试(硬件、网络、外设)、验收测试(α测试(开发人员为主)、β测试(用户为主))


7、白盒、黑盒定义、区别

8、静态、动态定义、区别

9、单元、集成定义、区别


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值