Sanity Testing 和 Smoke Testing的区别
Sanity Testing 和 Smoke Testing的区别
Sanity testing 和Smoke Testing是两个非常容易混淆的测试类型。
Smoke Testing(冒烟测试)
Smoke Testing(冒烟测试)是在软件构建(build)后进行的一种测试,用来确定程序的关键功能是否正常工作。在软件构建上执行任何详细的功能或回归测试之前执行。目的是拒绝一个严重损坏的应用程序,这样测试团队就不会浪费时间安装和测试软件应用程序。
在冒烟测试中,测试用例选择覆盖系统最重要的功能或组件。其目的不是执行详尽的测试,而是验证系统的关键功能是否正常工作。例如,典型的Smoke Testing(冒烟测试)是验证应用程序是否成功启动,检查GUI是否响应…等。
Sanity Testing
Sanity Testing 是在接收到软件构建(Build)后进行的一种测试,在代码或功能上做了细微的更改,以确定缺陷已被修复,并且不会因这些更改而引入进一步的问题。目标是确定所建议的功能大致如预期的那样工作。如果Sanity Testing失败,那么构建(Build)将被拒绝,以节省进行更严格测试所需的时间和成本。
这两者咋一看,看起来都差不多。其实,两者之间还是有很多的不同,首先测试的目的就不同。一些关键的区别参照下面的表格:
Smoke Testing | Sanity Testing |
The objective of this testing is to verify the "stability" of the system in order to proceed with more rigorous testing | The objective of the testing is to verify the "rationality" of the system in order to proceed with more rigorous testing |
Smoke Testing is performed to ascertain that the critical functionalities of the program is working fine | Sanity Testing is done to check the new functionality/bugs have been fixed |
This testing is performed by the developers or testers | Sanity testing is usually performed by testers |
Smoke testing is usually documented or scripted | Sanity testing is usually not documented and is unscripted |
Smoke testing is a subset of Acceptance testing | Sanity testing is a subset of Regression Testing |
Smoke testing exercises the entire system from end to end | Sanity testing exercises only the particular component of the entire system |
Smoke testing is like General Health Check Up | Sanity Testing is like specialized health check up |
- Sanity Testing和Smoke Testing都是避免浪费时间和精力的方法,可以快速确定应用程序是否有缺陷,不值得进行任何严格的测试。
- Sanity testing 也称为测试人员验收测试。
- 对特定构建(Build)执行的Smoke testing也称为Build验证测试。
- 最佳的实践之一是在软件项目中进行每日构建(daily build)和 Smoke testing。
- Sanity Testing和Smoke Testing可以手动执行,也可以使用自动化工具。当使用自动化工具时,测试通常由生成构建本身的同一进程启动。
- 根据测试的需要,您可能需要在软件构建中执行Sanity Testing和Smoke Testing。在这种情况下,您将首先执行Smoke Testing,然后继续进行Sanity Testing。在工业中,为了加快测试的执行,通常将Sanity Testing的测试用例与Smoke Testing的测试用例结合起来。因此,这些术语经常混淆,可以互换使用,这是很常见的。
Sanity Testing 和 Smoke Testing的区别相关推荐
- Smoke testing,Sanity testing and Regression testing
本篇文章将简单系统地介绍冒烟测试(Smoke testing).可用性测试(Sanity testing)及回归测试(Regression testing),并对三种测试进行对比. 文章目录 一. 冒 ...
- golang 的testing.T 和 testing.M 的区别
testing.T 是普通测试包 : func TestUser(t *testing.T){fmt.Println("main 测试")t.Run("开始测试第一个子测 ...
- 软件测试中常用的术语
Ad Hoc Testing--随机测试 测试人员通过随机的尝试系统的功能,试图使系统中断. Acceptance Testing--可接受性测试 一般由用户/客户进行的确认是否可以接受一个产品的验证 ...
- Testing Types - 读书笔记
看到 Wikipedia 上面有一篇对于软件测试的综述,挺有总结性,做下读书笔记. Wikipedia 的这篇文章,可以通过下面的 URL 访问: http://en.wikipedia.org/wi ...
- 冒烟测试(smoke test)、可用性测试(sanity test)和回归测试(regression test)
在测试领域,冒烟测试(smoke test).可用性测试(sanity test)和回归测试(regression test)彼此之间很相似,范围也有重叠,所以比较容易混淆:都是在需求变更或问题修改后 ...
- Acceptance testing
最近在做auto deployment.auto deployment完成后需要运行测试来保证安装完成无误,程序正常工作. 在Agile中,此时应运行acceptance testing. 这里先赞一 ...
- 我的测试生活感悟2 - Art Of Unit Testing
今天把<Art Of Unit Testing>的前四个章节读完了,作者以自己的亲身经历,使用简洁清晰的语言,为我们展现了单元测试的艺术. 怎么定义一个好的测试案例呢?好的测试案例应该是在 ...
- 组合测试术语:Pairwise/All-Pairs、OATS(Orthogonal Array Testing Strategy)
组合测试 组合测试(Combinatorial Test)是一种黑盒测试用例生成方法,主要针对多输入参数组合场景. 目前业界较流行的两种组合测试方法,一种是Pairwise/All-Pairs,即配对 ...
- [ZZ]测试阶段及类型(Testing Phases Types)
测试阶段及类型: Testing Phases http://www.research.umbc.edu/~cseaman/ifsm698/lect0910.ppt http://www.ics.uc ...
最新文章
- lol游戏挂机软件_LOL出手整治,大量玩家被封10年,代练屡禁不止的原因找到了...
- 如何用消息系统避免分布式事务?
- js自动判断浏览器类型跳转到手机版
- 利用一个样本估计类别数据分布,9行代码提高少样本学习泛化能力
- Codis安装与部署
- 烧脑又过瘾!关于c²= b² + a²,你不知道的N个事实
- smart700iev3 程序下载设置_分享一款Aira2下载工具
- sbt创建web项目
- Lingo 11安装教程
- 真核有参转录组测序标准分析
- mysql数据库的基本管理
- 破解win7开机密码
- 图片,视频,文件等非结构化数据存储建议
- 8、C语言printf函数与scanf函数
- 百度云服务器BCC购买
- C++ 编程练习——猴子吃桃问题
- 计算机输入d为啥返回桌面,电脑进入游戏怎么返回桌面
- 【第二十四题】逻辑闭环(北理工/北京理工大学/程序设计方法与实践/小学期 )
- 【英语天天读】优秀的标准
- 阿飞阿飞,你要保重身体啊!
热门文章
- java怎么写桌面日历_基于java的桌面日历系统的设计与实现毕业设计论文最终版.doc...
- CSP-J 2022年8月第一轮模拟赛 1
- html 磨砂 原理,使用HTML和CSS设计磨砂玻璃效果
- 小学计算机小蘑菇教案,小学美术:《画蘑菇》教学设计
- 计算机开机最快设置,如何让电脑启动速度变快
- 机器人中的坐标转换关系(个人记录学习)
- 上财计算机专业全国排名,2021软科财经类大学排名,上海财经遥遥领先,东财仅排第六...
- 我有一哥们,老牛逼了……
- 讨论JAVA和QT之争
- python设备分组(部门分组等)功能设计