Testing笔记整理 II

来源:互联网 发布:ubuntu查看配置 编辑:程序博客网 时间:2024/05/21 09:55

1.Smoke testing(冒烟测试)

冒烟测试对象是每一个新编译的需要正式测试的软件版本,目的是确认软件基本功能正常,可以进行后续的正式测试工作。冒烟测试的执行者是版本编译人员。
当添加了新的组件和集成现有的代码时,可以用冒烟测试。它确保的内部版本不是坏掉的。该产品在其现有的状态烟雾每日测试。它只是确保版本不是坏了,准备进行进一步的测试。一旦工程师认证冒烟测试是成功的,测试团队可以进入行动进一步深入测试。
  在一般软件公司,软件在编写过程中,内部需要编译多个版本(Builds),但是只有有限的几个版本需要执行正式测试(根据项目开发计划),这些需要执行的中间测试版本,在刚刚编译出来后,软件编译人员需要进行基本性能确认测试,例如是否可以正确安装/卸载,主要功能是否实现,是否存在严重死机或数据严重丢失等Bug。如果通过了该测试,则可以根据正式测试文档进行正式测试。否则,就需要重新编译版本,再次执行版本可接收确认测试,直到成功。

Typical characteristics of Smoke Testing:   
     * It exercises the entire system from end-to-end. 
     * It is not exhaustive but should be capable of exposing major problems. 
    * It ensures that the major functionality is working and the build is stable enough for further testing thoroughly.  
Advantages of Smoke Testing:   
     * Reduced Integration Risk : Since smoke testing is carried out the integration problems are uncovered at a much earlier stage than late in the cycle.   
     * Finds Major Problems: A good designed smoke test can increase the probability of finding a major problem when a software is built early in the cycle. Thus you catch bugs earlier in the cycle.   
     * Can save time and cost – If a major problem is detected at the stage when the software is ready built, it can save huge time and cost if the same error was discovered late in the cycle.


Reference:http://baike.baidu.com/view/120001.htm 

2.Shakedown testing

初步测试。

3.sanity test(可用性测试)

健全测试是一个粗略的(粗略的)测试时,进行一个粗略的测试足以证明应用程序是否正常规格(规格)。这种级别的测试是回归测试的一个子集。它通常包括了一组基本的GUI功能的核心测试证明连接的数据库,应用服务器,打印机等。
回归覆盖面大,却并不深入,不探究较复杂的功能错误,主要在于使用层面的完整上,验证系统是否满足规格说明。
  1.是一种简单的测试,测得比较全,但是都比较粗略,会检测或者验证某些特定的错误,但不会测试所有可能的错误,并不是窄而深,而是全而浅,具体可参考wiki百科。
  2.主要是用于时间较紧的粗步的回归测试或者全球化测试本地化测试等。通性)的数据库,应用服务器,打印机等。
  3.是一种粗略的测试,它是回归测试的一个子集。
  4 用来验证系统是否满足规格说明。

软件测试通过的标准是缺陷密度达到客户的要求。缺陷密度=缺陷数量/代码行或功能点的数量