Testing according to the stage of software development can be divided into many kinds, such as unit test, integration test, System and validation test, etc., the test process can be divided into white box test and black box test. So what are the stages they are used for? What is the purpose of the test?
1. Test purpose
Purpose: As little time and manpower as possible to discover as many errors as possible in software products
Test cases: test data and expected results are composed of
How to measure a test case?
Discover errors that have not been discovered so far
2. Test procedure
1. Develop test plan
2. Preparation of test outline
3, according to test outline design to generate test cases
4, the implementation of testing
5. Generate test Report
3. Test principle
4. Test classification
According to the test stage can be divided into unit test, integration test, confirm test and system test
According to the test method can be divided into static testing and dynamic testing
Static: The program is not running on the machine
Manual testing: Three types of personal review, spot checks and triage
Computer-Aided static analysis
Dynamic: error found by running the program: black box, white box
5. Various tests focus on the target
Unit Test : module testing, generally completed in the programming phase, check whether the module has implemented the detailed design specifications specified in the function and algorithm, focusing on the module interface, local data structure, the important implementation path, error processing, Test the module in terms of boundary conditions
Integration Testing : assembly testing, usually with black box testing
The main problem is to discover the interface and communication problems between modules.
Divided into non-value-added and proliferative
Top-down: Analog pile module
Bottom-up: The main module can be measured at the end
Confirm Test : Check that the functionality and performance of the software are consistent with the requirements, black box
a testing: Tested by the user in the development environment
B testing: Tested by multiple users in a real-life environment
System Testing : Non-functional requirements and quality attributes , black box
Dynamic analysis can also be divided into black box and white box test, black box test is mainly used for functional testing, mainly for integration and validation testing, system testing is also used, white box testing, also known as structural testing, mainly for unit testing, mainly according to the internal logic of the program to carry out testing procedures, is a code-based test.
The above is a common test method in the different stages of software testing, and testing is an important factor for a software to determine whether a software is robust.
Software Test Summary