先决条件 – 软件测试
1. 健全性测试:
健全性测试是指对修改后的软件进行分析/测试。它是回归测试的一部分,其中回归测试侧重于应用程序的广泛领域,而健全性测试仅侧重于某些功能。它检查产品质量及其对进一步测试的准备情况。
Sanity Testing 在添加/更改某些功能后检查软件产品。此测试通常在收到相当稳定的软件版本后执行。
2. 回归测试:
回归测试是指在代码更改、错误修复、修改、功能更新等之后,对软件产品/系统的所有功能进行深入分析/测试,检查并确认软件产品最近的更改没有不利影响关于软件产品的其他功能。
回归测试是在通过健全性测试检查某些功能后执行的功能的完整测试。此测试在稳定版本上执行。
健全性测试和回归测试的区别:
S.No. | Sanity Testing | Regression Testing |
---|---|---|
01. | Sanity Testing is performed to check the stability of new functionality or code changes in the existing build. | Regression testing is performed to check the stability of all areas impacted by any functionality change or code change. |
02. | Sanity Testing is part of Regression Testing. | Regression Testing is independent testing. |
03. | It is executed before Regression Testing and after Smoke Testing. | It is executed based on the project and availability of resources, manpower and time. |
04. | Sanity Testing is considered as a Surface Level Testing. | Regression Testing is not considered as a Surface Level Testing. |
05. | It examines few functionality of the software. | It examines extended mostly all functionality of the software. |
06. | Sanity Testing does not use scripts. | Regression Testing uses Scripts. |
07 | Sanity Testing is often carried out manually. | Regression Testing is often preferred to continue with automation. |
08 | Performing Sanity Testing increases the product cost/budget cost. | Performing Regression Testing increases the product cost/budget cost. |
09 | Complete test cases are not executed in the product during this Sanity Testing. | Complete test cases are executed in the product during this Regression Testing. |