先决条件–软件测试
1.烟雾测试:
冒烟测试是指对新开发的软件版本执行的初始测试。通过这种软件测试,可以清楚地看出,软件产品的核心功能可以完美地运行而没有任何问题。如果软件无法通过冒烟测试,则将其视为损坏的版本,并转发给开发人员。
在对软件进行任何功能测试之前,必须先进行一些测试。此冒烟测试是在软件开发生命周期(SDLC)的初始开发阶段进行的。冒烟测试也称为“表面级别测试”,因为它在实际过程测试之前进行,并且不执行深度测试,只是验证核心功能是否正常工作。冒烟测试不仅被称为表面层测试,还被称为“构建验证测试”,因为它可以验证软件的初始构建。
例子 –
想想公交车票预订站点,在此烟雾测试示例中,测试人员将确保站点登录函数,更改密码,预订座位,取消座位,预订通知功能等正常运行。
2.回归测试:
回归测试是指对软件进行深入的检查,以确保最近的代码更改不会对现有功能造成不利影响。意味着它是在漏洞修复或需求变更之后对软件变更进行的验证。完成针对更改的需求的健全性测试后,将执行回归测试以了解所有受影响的功能。
因此,回归测试主要在任何错误修复,代码修改,需求变更,缺陷修复或任何新模块开发之后进行。进行此操作是为了进行软件更改后的影响分析。
例子 –
如果我们以上述相同的示例为例,则回归测试示例不仅包括使公交车票预订站点正常工作的基本功能,还使我们能够测试座位预订的更复杂的用例,例如旅行地点,预订促销代码,国际税等等。
烟雾测试和回归测试之间的区别:
S.No. | Smoke Testing | Regression Testing |
---|---|---|
01. | Smoke Testing is the Surface Level Testing to verify stability of system. | Regression Testing is the Deep Level Testing to verify the rationality of system. |
02. | Smoke Test is always followed by Regression Test. | Regression Test is always carried out throughout the testing phase. |
03. | Test Cases of Smoke Test is a part of Regression Testing and covers only the core functionalities. | Regression testing is obtained from functional specification or Software Requirement Specification (SRS). |
04. | Smoke tests are performed by the developers. | Regression tests are performed by the professional testers. |
05. | Smoke tests are performed quickly to confirm whether to accept or reject the build. | Regression tests are not accountable for accepting or rejecting a software build for further testing procedures. |
07. | Cost of Smoke testing is low. | Cost of Regression testing is little bit high. |
08. | This testing isd ocumented or scripted. | This testing is not documented or scripted. |
09. | It is also know as Build Verification Testing. | It is not known by any other name. |
10. | Requirement of time and manpower is less than Regression Testing. | Requirement of time and manpower is less more than Smoke Testing. |