Method and device for generating test case, testing method and testing equipment
A technology for generating test cases and test cases, applied in the field of test case generation devices and test script clients, it can solve problems such as inconsistency, increase writing time, and inability to achieve test effects, and achieves enhanced effectiveness, reduced threshold and complexity. performance, and the effect of shortening the writing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0076] refer to image 3 , provides a flow chart of the steps of a method for generating test cases provided in Embodiment 2 of the present application, which may specifically include the following steps:
[0077] Step 301, generate a message template according to the data structure of the message defined in the interface document of the code to be tested;
[0078] Step 302, list the configuration of message and message in the excel form according to the design of test case;
[0079] Among them, the above-mentioned steps of listing the message and the configuration of the message in the excel table according to the design of the test case may specifically include:
[0080] Substep 321, according to the design of described test case, list each described message that sub-process comprises in excel form, and define the combination mode between each described sub-process in excel form, to combine several by the mode of splicing The sub-processes are spliced into a complete tes...
Embodiment 3
[0091] The method for generating the test case of the present embodiment is described above figure 1 On the basis of the illustrated embodiments, the following optional technical solutions may be further included.
[0092] Specifically, the above-mentioned method of this embodiment may also include: according to the enumeration type and macro definition in the above-mentioned interface document, storing the corresponding relationship between the enumeration type, the macro definition and the value in a dictionary;
[0093] Then, the above-mentioned step of filling in the content of the above-mentioned message in the copy of the above-mentioned message template may specifically include: filling in the content of the above-mentioned message by using the enumerated types and macro definitions in the above-mentioned dictionary.
[0094] In this embodiment, the dictionary can be used to store the correspondence between macro definitions and values. In this way, when writing test ca...
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