Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.单元测试、集成测试、系统测试区别? #14

Open
webVueBlog opened this issue Mar 10, 2020 · 0 comments
Open

14.单元测试、集成测试、系统测试区别? #14

webVueBlog opened this issue Mar 10, 2020 · 0 comments
Labels
测试 测试

Comments

@webVueBlog
Copy link
Member

一、测试方法不同

1、单元测试属于白盒测试范畴。

2、集成测试属于灰盒测试范畴。

3、系统测试属于黑盒测试范畴。

二、考察范围不同

1、单元测试主要测试单元内部的数据结构、逻辑控制、异常处理等。

2、集成测试主要测试模块之间的接口和接口数据传递关系,以及模块组合后的整体功能。

3、系统测试主要测试整个系统相对于需求的符合度。

三、评估基准不同

1、单元测试的评估基准主要是逻辑覆盖率。

2、集成测试的评估基准主要是接口覆盖率。

3、系统测试的评估基准主要是测试用例对需求规格的覆盖率。

  1. Different test methods

  2. Unit test belongs to the category of white box test.

  3. Integration test belongs to the gray box test category.

  4. System test belongs to the black box test category.

Two, the scope of investigation is different

  1. Unit test mainly tests the internal data structure, logical control, exception handling, etc.

  2. Integration test mainly tests the interface and interface data transfer relationship between modules, as well as the overall function after module combination.

  3. System test mainly tests the compliance degree of the whole system relative to requirements.

Three, the evaluation basis is different

  1. The evaluation benchmark of unit tests is mainly logic coverage.

  2. The evaluation benchmark for integration testing is mainly interface coverage.

  3. The evaluation benchmark of system test is mainly the coverage of test cases to requirements specifications.

@webVueBlog webVueBlog added the 测试 测试 label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
测试 测试
Projects
None yet
Development

No branches or pull requests

1 participant