1. BVT(Build Verification Test)

  a. BVT概念

    Build Verification test is a set of tests run on every new build to verify that build is testable before it is released to test team for further testing. These test cases are core functionality test cases that ensure application is stable and can be tested thoroughly. Typically BVT process is automated. If BVT fails that build is again get assigned to developer for fix.

    BVT即版本验证测试,由一组基本的功能测试用例组成,每一次当有新的build生成,我们都要通过先运行这些case, 来保证在生成新的build后系统还是完整的稳定的,不能因为一次的branch合并就导致整个系统奔溃。所以,BVT是要在每次有新的code合并后进行,如果BVT失败了,要重新返回给code的开发者去fix, 直到BVT成功才能将修改过的代码合并到系统中来。所以BVT最好写成自动化,而且最好保证每次BVT的执行时间别太长。这样,可以在空闲时间(比如下班后)自动执行,节省测试时间,提高测试效率。

    BVT又被称为“冒烟测试”(Smoke Testing),同时,BVT也是一种回归测试。

  b. BVT的优缺点

    BVT 的优点是运行时间短,验证了软件的基本功能; 缺点是这种测试的覆盖率很低,只能当作最基本的软件测试。

  c. 冒烟测试(Smoke Testing)的简单介绍

    BVT 测试又被称为“冒烟测试”,而冒烟测试源自硬件测试,当对一个硬件或者硬件组合改动后,直接给设备通电,看看设备是否会冒烟,没冒烟说明待测组件通过了测试。而在软件开发过程中一直就有高内聚,低耦合的说法, 各个功能模块之间的耦合存在,所以一个功能的改动,会影响到其他的功能模块。这就要求开发人员在修复先前测试中发现的bug后,想知道这个bug的修复有没有影响到其他的功能模块,就需要做冒烟测试。

  d. BVT测试用例包含的内容

    1) 业务流的测试,保证正常业务链路的通畅;

    2) 工作流的测试,主要是测试流程流转的是否正常,至于流程步骤的表单内容是否正确则先不关注;

    3) 关键功能的测试,至少要保证系统运转所需的启动数据,以及一些开关控制正常;

    4) 重要的基本功能测试,比如对一些核心业务有影响的一些增删改查等。

    BVT测试的用例必须要随着系统的扩充而扩充,它并不是一成不变的。

    Here are some simple tips to include test cases in your BVT automation suite:

    * Include only critical test cases in BVT;

    * All test cases included in BVT should be stable;

    * All the test cases should have known expected result;

    * Make sure all included critical functionality test cases are sufficient for application test coverage.

  e. BVT 测试的过程

    1) 前提条件是软件的各个单元测试都通过;

    2) Build出最新的版本,拿到最新的版本;

    3) 根据文档要求配置测试环境;

    4) 执行BVT测试用例(手动或者自动);  

    5) BVT测试结束,查看结果,若是成功,则可以交给测试组进行接下来详尽的测试工作;若是失败,则需要报bug,以最高的优先级去修复该bug,然后重新进行BVT测试,直到成功才可进行下面的其他测试。

  f. BVT测试用例的简单案例

    对一个简单的编辑器的BVT测试需要包含的测试用例(基本功能的测试):

    (1)需要测试用例来测试create a new text file;

    (2)需要测试用例来测试writing的功能;

    (3)测试用例来测试copy, paste, cut functionality of text editor;

    (4)测试用例来测试opening, saving , deleting text file. 

参考: http://www.softwaretestinghelp.com/bvt-build-verification-testing-process/   

2. BAT(Build Acceptance Test)

 a. BAT概念

  BAT指“工作版本可接受测试”, 新的工作版本正式测试前进行的一项快速测试过程,目的是保证软件的基本功能和内容的正确和完整性,经过了BAT测试后,就进入了正轨的测试阶段。BVT只验证build版本构建的成功与失败,不需要深入测试后见好的build的功能、性能等,同时只考虑功能的覆盖率;而BAT测试则需要考虑功能性能的测试,以及考虑功能的覆盖率的同时,也要考虑功能的正确性。

  New build is checked mainly for two things:

    * Build validation

    * Build acceptance

  BAT测试是在新版本build成功后,且BVT测试通过之后,进行的一项测试,目的是测试是否要接受这个构建的版本,找出构建版本的主要功能和性能上可能存在的bug。

 b. BAT测试的必要性

  Because BATs represent a subset of important tests from each of the teams, they should also be used to pre-test proposed changes that may have impact that is not localized to a feature team. Running private builds against the BATs prior to check-in provides evidence as to whether the proposed changes are likely to negatively impact tests (and by implication consumers). This pre check-in process is especially valuable for changes where the impact across all features may not be fully understood.

  c. The results of Build Acceptance Tests:

   * Are an initial measure of build health:  low pass rates are correlated with poor build health.

    * Allow consumers to determine if they wish to use a build.

* Indicate if basic functionality is working (for those feature areas that are passing).

* Are used to qualify the build as sufficiently high quality for self-host use (all tests passing).

   * Are a necessary prerequisite for limited external release of the build for preview and casual usage by Partners (e.g. TAP or CTP drops).  (Requires that all tests are passing.)

3. The difference of BVT & BAT 

  在开始系统测试前,我们先要做BVT测试(about 0.5 hour,10%-15% of the total test cases will be executed.),当BVT测试通过以后,才开始做BAT测试(about one night, 80%-85% of the test cases will be executed.)

  Unlike Build Verification Tests (BVTs), the results of BATs are not intended to be all or nothing, but allow the consumer to determine the state of the features of interest.

  BATs run after each official build (after BVTs have passed) and do not “cause” build breaks if one or more of the tests fails.  The run results of the BATs (and BVTs) are used to categorize the build into one of three states:

Self Host:   A build where the BVT and BAT runs have a Pass Count greater than zero and a Fail Count of zero.

Self Test:   A build where the BVT has a Pass Count greater than zero and a Fail Count of 0, but the BAT either has a Pass Count of zero, or a Fail Count greater than zero.

Self Toast: A build where the BVT has a Pass Count of zero or a Fail Count greater than zero.

 BAT测试一般位于BVT测试之后进行,同时,两个测试的侧重点不同,BVT更侧重于build版本功能的完整性,对于功能的覆盖率,正确性及性能等各方面没有很大的要求,而BAT则相反。同时,BAT测试中的case,允许用户自己决定关注点应该更多的放在哪个模块,比如说对于一个金融会计公司,更关注财会模块(Finance,General journal等)功能的完整性和正确性的状态,对于供应链(supply chain)模块不关注,而对于物流公司则相反。

  也有些人说,BAT、BVT 和 Smoke test是一样的。这个还有待商榷。

4. SVT(System Verification Test)

  SVT is the point where the entire package comes together fot the first time, with all components working together to deliver the pojects intended purpose. It's also the point where we move beyond the lower-level, more granular tests of FVT(Function Verification Testing), and into tests that take a more global view of the product or system. SVT is also the land of load and stress. When the code under test eventually finds itself in a real production evironment, heavy loads will be a way of life. That means that with few exceptions, no SVT scenario should be considered complete until it has been run successfully against a backdrop of load/stress.

  注: 平时的工作中经常会做BVT,BAT的测试,但昨天上测试培训课时听到老师讲SVT,虽然个人对SVT的理解还不够,但还是先做个笔记,以后好慢慢积累理解并运用。

SVT的理解可参考: http://m.softwaretestinggenius.com/?page=details&url=system-verification-test-plan-and-its-major-areas-of-concern

参考: http://www.cnblogs.com/haining1993/p/5340348.html

转载于:https://www.cnblogs.com/Bonnieh/p/5818266.html

BVT BAT SVT相关推荐

  1. BVT BAT (版本验证测试和版本验收测试)

    BVT & BAT 版权声明:本文为博主原创文章,未经博主允许不得转载. 一.BVT: (Build Verification Test ) BVT的概念: BVT(版本验证测试)是在所有开发 ...

  2. IBM测试分类-AVT,BVT,CVT,FVT,GVT,TVT,SVT,PVT

    名词解释 AVT,accessibility test,确保那些视觉有缺陷,或者听觉有缺陷的人,可以跟正常人一样使用这个系统,这个是基于美国政府的要求.AVT的测试工具主要是JAWS,ScreenRe ...

  3. Excel+bat批量更改文件名

    操作环境:Windows10 软件版本:Office2019 1.Win+R -> cmd中进入要改名文件夹 例如进入C盘根文件夹输入C: 2.生成文件名Excel表: 特定后缀文件 dir / ...

  4. Jenkins配置MSBuild实现自动部署(MSBuild+SVN/Subversion+FTP+BAT)

    所要用到的主要插件: [MSBuild Plugin] 具体操作: 1.配置MSBuild的版本 [系统管理]->[Global Tool Configuration]->[MSBuild ...

  5. 计算机代码坑人小程序bat,批处理写的关机小程序--bat

    将以下内容复制到一个文本文档中,把文件的后缀名修改成bat,即可运行本程序. @echo off color 17 title --by windone :windone cls echo %date ...

  6. 如何用bat文件快速计算项目代码行数

    在项目文件夹根目录新建一个txt文档,把下面的代码复制到txt文档里面,然后txt的后缀名改为bat,双击这个文件即可 REM 放到项目根目录双击获取代码总行数.bat @echo off for / ...

  7. bat+sqlcmd 批量执行脚本

    Hello,此BAT脚本能够帮助开发者将某目录下全部SQL脚本按文件名称依次在指定数据库中批量执行. 不用忍受powershell invoke-sqlcmd 的笨重.在指执行时多一种选择. bat文 ...

  8. Windows下批处理文件(.bat)的使用

    批处理(Batch),就是进行批量的处理,英文译文BATCH,批处理文件后缀BAT就取的前三个字母,通常被认为是一种简化的脚本语言,它应用于DOS和Windows系统中.批处理文件是扩展名为.bat或 ...

  9. bat curl 返回值_bat curl 发送http请求 监控网站

    标签:bat @echo off color 1f title 正在监控 www.0579ld.com.cn echo 正在监控 www.0579ld.com.cn(23.247.53.3).. :a ...

最新文章

  1. 51CTO完成B轮融资,围绕1400万社区用户的IT学习平台要怎么做?
  2. GDCM:gdcm::SequenceOfFragments的测试程序
  3. java类结构工具_java类层次结构图工具
  4. 【开源项目】QT OPENGL 与 shader 绘制展示视频代码实例 OPenGL直接显示YUV数据
  5. .net开源框架开源类库(整理)
  6. python索引例子_Python实现带下标索引的遍历操作示例
  7. Kaggle 美女小姐姐自述:我是怎么成为竞赛中 Top 0.3% 的?
  8. MySQL Batch 与 Transaction
  9. .NET-MVC站点部署到windows server2008r2服务器404错误
  10. Debian下Oracle10g的安装
  11. TASKCTL调度服务平台节点管理
  12. 本学期关于Android学习的总结
  13. 关键字查询 import keyword
  14. 视频帧凸包检测 结果存入数据库
  15. IE8 使用 Oracle ERP
  16. 【单片机笔记】基于STM32的8通道的开源无线遥控器手柄
  17. 什么是 Adobe AIR
  18. 通过ip查看主机名和MAC地址的cmd命令
  19. ue4 VR 运动控制器(左右手柄)
  20. linux设备驱动归纳总结(九):1.platform设备驱动

热门文章

  1. FMD辉芒微原厂FT61F135-TRB SOP20 ADC/PWM型单片机MCU
  2. 常用电表的准确度等级
  3. JavaScript 事件(下)
  4. 性能测试:个人和公司性能测试成长阶段
  5. 欢太客服24小时在线服务,高效响应用户需求
  6. MUI开发记录——我的考勤
  7. [LayUI]下拉框二级联动
  8. DataWhale集成学习(中)——Task09提升(Boosting)方法和Adaboost
  9. C++笔记之结构体内对vector初始化,一般初始化,和类内私有vector类型成员变量初始化
  10. Marty Cagan带你走进产品新时代