Test case determination method and device, electronic equipment and storage medium
A test case and determination method technology, applied in software testing/debugging, error detection/correction, electrical digital data processing, etc., can solve the problems of high manual screening cost, high execution cost, incomplete coverage, etc., and achieve easy display and storage , solve the effect of high labor cost and reduce selection error
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 It is a flowchart of a method for determining a test case provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically and accurately selecting a regression test case. The method can be executed by a test case determination device, which can be controlled by software and / or hardware, and generally can be integrated in electronic equipment. The electronic device may be a terminal device or a server device or the like. The embodiment of the present invention does not limit the type of the electronic device executing the method for determining the test case. Correspondingly, such as figure 1 As shown, the method includes the following operations:
[0037] S110. Obtain test case associated data.
[0038]Wherein, the data associated with the test case may be data associated with the test case meeting the test requirement, and is used to determine the test case meeting the test requirement. Test case associat...
Embodiment 2
[0054] figure 2 It is a flowchart of a test case determination method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, an initial spanning tree model is generated based on historical test cases. And generate a specific optional implementation of the spanning tree model to be matched according to the data to be tested. Correspondingly, such as figure 2 As shown, the method includes the following operations:
[0055] S210. Obtain test case associated data.
[0056] In an optional embodiment of the present invention, obtaining test case associated data may include: obtaining historical execution data of historical test cases; determining execution time data and execution complexity data of historical test cases according to historical execution data; Data and execution complexity data determine use case weights.
[0057] Wherein, the historical execution data may be data refle...
Embodiment 3
[0101] Figure 10 is a schematic diagram of a test case determination device provided in Embodiment 3 of the present invention, such as Figure 10 As shown, the device includes: a data acquisition module 310, a tree model generation module 320, a first data determination module 330 and a second data determination module 340, wherein:
[0102] A data acquisition module 310, configured to acquire test case associated data; wherein, the test case associated data includes historical test cases, data to be tested, and use case weights;
[0103] Tree model generation module 320, for generating initial spanning tree model according to history test case, and generating to be matched spanning tree model according to data to be tested;
[0104] The first data determination module 330 is used to determine the intersection test case data of the initial spanning tree model and the spanning tree model to be matched;
[0105] The second data determining module 340 is configured to determin...
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