Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Basic concepts of unit testing, integration testing and system testing

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Unit testing focuses on testing each program unit implemented in the source code to check whether each program module has correctly achieved the specified function. Integration testing assembles the tested modules and mainly tests the construction of the software architecture related to the design. System testing brings the confirmed software into the actual running environment and combines it with other system components for testing.

Unit testing (Unit Testing)

Unit testing, also known as module testing, is a testing work for testing the correctness of the smallest unit ─ program module designed by the software. Its purpose is to find all kinds of errors that may exist in each module. Unit testing needs to design test cases from the internal structure of the program. Multiple modules can be tested independently in parallel.

Integration testing (Integrated Testing)

Usually, on the basis of unit testing, all modules need to be assembled into a system according to the design requirements. The questions to be considered at this point are:

-whether the data passing through the module interface will be lost when the modules are connected

-whether the function of one module will adversely affect the function of another module

-can each sub-function be combined to achieve the expected parent function?

-whether there is a problem with the global data structure

-whether the accumulated error of a single module will be magnified to an unacceptable extent.

At the same time of the unit test, the integration test can be carried out to find and eliminate the possible problems in the module connection, and finally form the required software system. The integration testing of the subsystem is especially called component testing, and its work is to find out the inconsistency between the integrated subsystem and the system requirement specification.

System testing (System Testing)

System testing, as an element of the whole computer-based system, combines the validated software with other system elements such as computer hardware, peripherals, some supporting software, data and personnel, and carries out a series of assembly tests and validation tests on the computer system in the actual operating environment. The purpose of system testing is to find out that the definition of software and system is inconsistent or contradictory by comparing with the definition of system requirements.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report