Method and device for selecting regression test case
A regression test and test case collection technology, applied in the field of computer applications, can solve problems such as inaccurate regression test cases, high labor costs, and low selection efficiency, and achieve the effects of saving labor costs, improving efficiency, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] figure 1 The flow chart of the method for selecting the regression test case provided by Embodiment 1 of the present invention, in this embodiment, the selection of the regression test case is automatically realized on the basis of the tested object code library and the test case library, such as figure 1 As shown, the method specifically includes the following steps:
[0042] Step 101: Analyzing the reverse call relationship of the code of the object under test, and establishing an influence surface model tree.
[0043] This step mainly adopts code static analysis technology to obtain the code structure by scanning the code to identify keywords, and then establishes the model tree of the impact surface of the code modification through the reverse analysis algorithm. The nodes in the influence surface model tree are functions, and the connections between nodes are The reverse call relationship (ie dependency relationship) between functions.
[0044] When obtaining the...
Embodiment 2
[0065] Figure 5 The device structure diagram of the selection regression test case provided for the second embodiment of the present invention, such as Figure 5 As shown, the device includes: an information capture unit 500 , a reverse analysis unit 510 , a code comparison unit 520 , a pollution calculation unit 530 and a use case selection unit 540 .
[0066] The information capturing unit 500 is used to obtain the code of the object under test and the code of the historical version.
[0067] The historical version code here refers to the baseline version code of the code of the object under test before modification. The information capture unit 500 can trigger the execution of the acquisition operation after receiving the version information input by the user, or monitor the changes of the version management tool SVN. Trigger the fetch operation to be performed.
[0068] The reverse analysis unit 510 is used to analyze the reverse call relationship of the code of the obj...
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