-
Notifications
You must be signed in to change notification settings - Fork 10
Description
一、测试方法不同
1、单元测试属于白盒测试范畴。
2、集成测试属于灰盒测试范畴。
3、系统测试属于黑盒测试范畴。
二、考察范围不同
1、单元测试主要测试单元内部的数据结构、逻辑控制、异常处理等。
2、集成测试主要测试模块之间的接口和接口数据传递关系,以及模块组合后的整体功能。
3、系统测试主要测试整个系统相对于需求的符合度。
三、评估基准不同
1、单元测试的评估基准主要是逻辑覆盖率。
2、集成测试的评估基准主要是接口覆盖率。
3、系统测试的评估基准主要是测试用例对需求规格的覆盖率。
-
Different test methods
-
Unit test belongs to the category of white box test.
-
Integration test belongs to the gray box test category.
-
System test belongs to the black box test category.
Two, the scope of investigation is different
-
Unit test mainly tests the internal data structure, logical control, exception handling, etc.
-
Integration test mainly tests the interface and interface data transfer relationship between modules, as well as the overall function after module combination.
-
System test mainly tests the compliance degree of the whole system relative to requirements.
Three, the evaluation basis is different
-
The evaluation benchmark of unit tests is mainly logic coverage.
-
The evaluation benchmark for integration testing is mainly interface coverage.
-
The evaluation benchmark of system test is mainly the coverage of test cases to requirements specifications.
Activity