Method and device for determining test case, storage medium and electronic equipment
A technology of test cases and use cases, which is applied in software testing and computer fields, can solve problems such as unproposed solutions, and achieve the effect of solving low testing efficiency, reducing regression testing workload, and solving heavy testing workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The methods for determining test cases in the prior art are mainly divided into two categories: one is to establish a position relationship table of each row of executable statements in the source code and the associated unique identification information; Corresponding unique identification information, combined with the location relationship table to determine the relationship table between each test case and the corresponding executable statement in the source code; determine the test case corresponding to the updated part of the source code according to the reverse mapping of the relationship table . However, this method does not use deep learning and neural networks to predict whether the code is defective or not, and cannot effectively narrow the scope of associated use cases.
[0026] The other is to obtain the version codes of the iterated version and the pre-iterated version of the program to be tested; according to the difference between the version codes of th...
test Embodiment 1: change , test Embodiment 2: change , and test Embodiment 3
[0075] Optionally, traverse the regression test cases and corresponding call function sets in the above-mentioned collected knowledge base. If the same test cases exist in the above-mentioned call function set and the predicted defective function set, that is, the above-mentioned call function set and the predicted defective function If there is an intersection between the sets, record the use case identification of the above-mentioned same test case in the recommended use case set of predictive defect function. For example, the presentation form of the above-mentioned recommended use case set of predictive defect function can be but not limited to: The change function occurs, regression test case 2: the change function occurs this time, and the regression test case 3: the change function occurs this time....
[0076] Optionally, the keyword in the key-value pair of the above-mentioned predictive defect function recommended use case set is the predictive defect function, and th...
Embodiment 2
[0098] According to an embodiment of the present disclosure, a device embodiment for implementing the above method for determining a test case is also provided, Figure 7 is a schematic structural diagram of a device for determining a test case according to a second embodiment of the present disclosure, such as Figure 7As shown, the above-mentioned device for determining a test case includes: a first acquisition module 700, a second acquisition module 702, and a determination module 704, wherein:
[0099] The above-mentioned first acquisition module 700 is configured to acquire the current digitization index corresponding to the current code change information within a predetermined period of time, wherein the above-mentioned current digitization index is the digitization data of the code source file;
[0100] The above-mentioned second acquisition module 702 is configured to use the above-mentioned current digitization index to predict the code program defect occurring withi...
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