Software Test Summary
Testing can be divided into multiple types based on the software development stage, such as unit testing, integration testing, system testing, and validation testing. The testing process can be divided into white-box testing and black-box testing. What stages are they used? What is the purpose of the test?
1. Purpose
Objective: To discover as many errors as possible in software products with as little time and manpower as possible
Test Case: composed of test data and expected results
How to measure a test case?
No errors found so far
2. Test Procedure
1. Develop a test plan
2. Prepare the test outline
3. Generate Test cases based on the test outline design
4. conduct testing
5. Generate Test report
3. Test principles
4. Test Classification
Unit Testing, integration testing, validation testing, and system testing can be divided based on the testing phase.
The test methods can be divided into static test and dynamic test.
Static: The program is not running on the machine.
Manual testing: personal review, spot check, and review
Computer-aided Static Analysis
Dynamic: error detected by running the program: Black Box, white box
5. Various testing targets
After the programming stage is completed, check whether the module has implemented the functions and algorithms specified in the detailed design manual, this module is tested in terms of module interfaces, local data structures, important execution paths, error handling, and boundary conditions.
Integration Testing: Assembly testing, generally using black box testing
It mainly discovers interface and communication problems between modules.
Divided into non-value-added and Proliferation
Top-down: pile simulation module
Bottom-up: the main module can be tested at last
Validation testing: checks whether the software's functionality and performance are consistent with the requirement, Black Box
A test: The test is performed by the user in the development environment.
B testing: multiple users can perform tests in the actual use environment.
System Test: Non-functional requirements and quality attributes, Black Box
Dynamic analysis can also be divided into black-box and white-box testing. black-box testing is mainly used for functional testing, mainly for integration and validation testing, and also for system testing. White-box testing is also called structure testing, it is mainly used for unit testing, mainly based on the internal logic of the program. It is a code-based test.
The above are commonly used testing methods in different stages of software testing. testing is an important factor that determines whether a software is robust or not.