Software testing method and apparatus
A test method and test device technology, applied in the computer field, can solve the problems of low test accuracy and achieve the effect of improving test accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] According to an embodiment of the present invention, an embodiment of a software testing method is provided. The above-mentioned software testing method can be applied to, but not limited to, such as figure 1 In the shown network environment, the function information list obtained by the server under test 102 where the software under test is located is sent to the test server 104 through the network, and the test server 104 sets and processes each function under test according to the function address of each function under test. Function, further, during the testing process of the software to be tested, the test server 104 will obtain the number of times each function to be tested is run through the above processing function, that is to say, through the above processing function to accurately monitor the The running times of each function to be tested is used to overcome the problem of missing the function to be tested caused by the timing sampling test in the prior art,...
Embodiment 2
[0097] In the embodiment of the present invention, for a specific application scenario of the software testing device used to implement the above software testing method, reference may be made to the above-mentioned embodiment 1, and details will not be repeated here in the embodiment of the present invention.
[0098] According to an embodiment of the present invention, a software testing device for implementing the above software testing method is also provided, such as Figure 8 As shown, the device includes:
[0099] 1) The first obtaining unit 802 is used to obtain the function information list of the software to be tested, the function information list includes: the function address of the function to be tested in the software to be tested, and the function address of each function to be tested is sent to the setting unit ;
[0100] 2) The setting unit 804 is used to receive the function address of each function to be tested sent by the first acquisition unit, and set a...
Embodiment 3
[0163] According to an embodiment of the present invention, a test server for implementing the test method of the above software is also provided, such as Figure 14 As shown, the server includes:
[0164] 1) The communication interface 1402 is configured to obtain the function information list of the software to be tested from the program database file of the software to be tested, wherein the function information list includes: the function address of the function to be tested in the software to be tested;
[0165] 2) memory 1404, configured to store the acquired program database file of the software to be tested, and a processing function, wherein the processing function is used to count the number of times each function to be tested is run during the test;
[0166] 3) The processor 1406 is configured to obtain the number of times each function to be tested is run through a processing function during the testing process of the software to be tested using the test case.
[...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


