Software testing phase

Software testing is divided into five phases: unit testing, integration testing, system testing, acceptance testing, regression testing.

A unit test
unit testing: testing module unit test, also known, is the program code is directed to the smallest test module unit. Object detecting means of software modules correct.
Test Method: static tests, dynamic tests
stage unit tests:

Interface test module
for testing the data of the test module. I-mode call to the measured parameters of the number of module inputs, and the order attributes match.

Local data test
local data structure in order to ensure data integrity during program execution, correct, local data structure of the module is often the root cause of the error is temporarily stored in the module.

Path testing
of modules is important the execution path for testing

Error Handling Measurement
fairly complete module can meet the design requirements of the error condition, and appropriate error handling is provided, so that in the event of system error, the error can redo procedures arrangements to ensure correctness logic.

Boundary condition testing
software often fail in convenient, boundary condition test is a basic test, functional testing is the focus behind the system under test.

Second, integration testing
integration testing: integration testing, also known as assembly and testing, is to assemble the various modules of software products, the purpose is to test whether the software interface correctness, and the overall function after assembly performance.

Test Method: nonincreasing type integrated process, integrated process by formula (Integrated bottom up, top-down integration, integrated combination) and other methods were tested using black-box testing based, supplemented white box test method test.

In the integrated test, we focused on the following:

  1.    把各个模块连接起来时,穿越模块接口的数据据是否会丢失。  
    
  2.    各个了模块组合起来,能否达到预期要求的功能。
    
  3.    一个模块的功能是否会对另一个模块的功能产生不利影响。 
    
  4.    全局数据据结构是否有问题。 
    
  5.    单个模块的误差积累起来是否会被放大,从而达到不可接受的程序。
    

Third, the system test
System test: System testing is already well integrated system be thoroughly tested to verify the correctness and performance of software systems to meet their specific requirements.
Test Method: black box

To solve the problem:
individual components but the source code meets the specification development
if the interface problem
as a whole functions for errors
interface meets the design specifications
if the performance to meet customer needs

System testing phase:
  the main testing system in general has focused system test phase. Depending on the system, the type of testing carried out a lot.
  
Functional testing:
  functional testing is a product of each function to verify, to check whether meet demand.

Performance Testing:
  Performance testing is to test the system performance analog variety of normal, abnormal and peak load conditions through automated testing tools.

Security testing:
  ability to prevent safety tests inspection system for the illegal invasion.

Compatibility test:
  compatibility test is to test whether the system is functioning properly under different hardware and software environments

Unload the test installation:
install uninstall test is to test whether the system can be normal installation uninstall different software and hardware environments.

Fourth, the acceptance test
acceptance testing: Acceptance testing is the final test of a software deployment operation, the purpose of the test is to ensure that the acceptance test the software ready to purchase display software system to meet the needs of its users to the software.
Acceptance testing phase:
functional test to confirm
the safety and reliability testing
usability testing
scalability test
compatibility test
resource utilization test
user acceptance documentation

Guess you like

Origin blog.csdn.net/weixin_43285503/article/details/90065990