测试只是指在软件工程中进行的一项活动,目的是检查实际结果是否与预期结果相符,并确保和确认软件系统不存在缺陷,即软件系统是无缺陷的。可以执行多种类型的软件测试。其中两个是用于检查系统性能或功能的功能测试方法和用于检查技术规范实现的实现测试方法。
1. 功能测试方法:
功能测试方法基本上是一个过程,用于在任何其他系统或用户或客户直接执行所有功能时验证系统是否按预期执行。在这种情况下,系统会根据所有功能要求或规范进行测试。它基本上是一种 QA(质量保证)技术或流程。它也是一种黑盒测试。
2. 实现测试方法:
在实现测试方法中,测试是通过简单地连接两个或更多逻辑上相互关联的模块来完成的。它基本上是集成测试的子测试技术,用于通过测试每个集成部件将每个测试模块集成到系统中。
功能测试和实现测试方法之间的区别:
Functional Testing Approach | Implementational Testing Approach |
---|---|
In Functional testing approach, overall functionality of system is checked without knowing implementational details. | In Implementational testing approach, internal structure is being known to tester who is going to test software. |
Only Testers are allowed to perform Functional Testing. | Only Software Developers are allowed to perform Implementational Testing. |
Implementation Knowledge is not required to carry out functional testing. | Implementation Knowledge is required to carry out implementational testing. |
Black Box Testing can be done without knowledge or understanding of programming techniques. | White Box Testing can be done with help of knowledge or understanding of programming techniques. |
This testing approach is applicable to higher levels of testing. | This testing approach is applicable to lower levels of testing like Unit testing, Integration testing. |
This testing approach is based on Requirement Specifications documents. | This testing approach is based on Detail Design documents. |