Integrated test case minimum set analysis method and system based on thermodynamic diagram and terminal
A technology of test case sets and test cases, which is applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as high complexity in the calculation process, a large number, unfavorable test cases, etc., to achieve strong operability, Good application effect, easy to understand effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Embodiment 1: The minimum set analysis method of integrated test cases based on heat map, such as figure 1 As shown, it is specifically implemented by the following steps.
[0043] Step 1. According to the specific conditions of the program to be tested, the basic test case set of the integration test phase is obtained.
[0044] Assume that the program to be tested includes 5 functions, namely F1-F5; its basic test case set contains 4 test cases, respectively T1-T4.
[0045] Step 2, execute all the test cases in the basic test case set, record the execution time of each test case, the execution times of each function and the execution time of each time, and calculate the total time.
[0046] Set the number of execution times and the total execution time of the test case as figure 2 As shown, the time unit is seconds.
[0047] Step 3, according to the execution times of each test case call function, get the function coverage heat map of the basic test case set; at th...
test Embodiment T5
[0050] From image 3 the function coverage summary plane heatmap for the last column on the right, and Figure 5 In the three-dimensional summary heat diagram of , it can be seen that the heat value of function F5 is 0, indicating that this is a function that has not been covered by the basic test case set; for this reason, we construct a new test case T5, and the execution results of this test case are as follows: Figure 6 Shown in the T5 column; at this time, the plane heat map and summary heat map of the entire test case set are as follows Figure 7 It can be seen from the figure that the test case set including T5 can cover all functions, so T1-T5 constitute a complete test case set.
[0051] Step 5, repeat step 4 until a complete set of test cases that can cover all functions is formed; at this time, in the corresponding function coverage summary heat map, the heat values of all functions are greater than 0.
[0052] Step 6, according to the execution time and covere...
Embodiment 2
[0061] Embodiment 2: An integrated test case minimum set analysis system based on a heat map, such as Figure 9 As shown, it includes basic acquisition module, heat map establishment module, complete acquisition module and minimum set analysis module.
[0062] Among them, the basic acquisition module is used to acquire the basic test case set of the program under test in the integration testing phase. The heat map building module is used to execute multiple test cases in the basic test case set, and build a corresponding function coverage heat map according to the execution information of the function to which the test case calls. The complete acquisition module is used to superimpose the heat values in multiple function coverage heat maps to obtain a total heat map until the total heat map shows that all functions are covered, and complete the test cases corresponding to the function coverage heat maps that participate in the superposition Set of test cases. The minimum s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com