The difference between unit test/integration test/System test

Source: Internet
Author: User

Unit tests:
Unit testing is a test of the correctness of a software's basic constituent unit (the smallest unit of software design), such as a function, a process (function,procedure), or a method of a class.


Integration testing:
Integration testing is based on unit testing, which assembles all modules into subsystems or systems according to the outline design requirements, verifying that post-assembly functions and the interface between modules are properly tested. Integration testing is also called assembly testing, joint testing, subsystem testing, or component testing.

System test:
System testing is the integration of software systems, as a whole computer system-based elements, and computer hardware, peripherals, some supporting software, data and personnel and other system elements, in the actual use of the environment, the computer system to carry out a series of assembly testing and validation testing work.

Testing phase Test method Test method Assessment Benchmarks corresponding phase
Unit Test White box test Data structure inside the unit, logic control, exception handling, etc. Logical coverage Detailed set
Integration Testing Grey Box test The overall function of the interface between modules and the combination of modules Interface coverage Overview
System Testing Black box test Compliance of the entire system to requirements Test case coverage of requirements Demand

The difference between unit test/integration test/System test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.