Componentized test case generation method
A test case and component-based technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as unfavorable test management, uneven test case quality, and difficulty in automating test scripts. the effect of easy storage and management
Active Publication Date: 2020-08-21
SICHUAN XW BANK CO LTD
View PDF9 Cites 0 Cited by
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
However, due to the ambiguity of natural language, the readability and effectiveness of test cases are often affected and determined by the language level of the author, resulting in uneven quality of test cases, which is not conducive to test execution and test management.
In addition, natural language test cases are difficult to be fully understood by machines. Therefore, in the application of automated testing, such test cases are often difficult to convert into automated test scripts, and automated testing and automated free testing cannot be easily realized.
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View moreImage
Smart Image Click on the blue labels to locate them in the text.
Smart ImageViewing Examples
Examples
Experimental program
Comparison scheme
Effect test
Embodiment
[0045] Further illustrate the present invention by extracting 2 test cases in existing test cases:
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More PUM
Login to View More
Abstract
The invention relates to a method for generating a modularized test case. The method comprises the following steps: A, respectively extracting all entity elements and action elements involved in all historical text test cases to form a corresponding entity element set and action element set, and setting corresponding semantic tags for all the elements, wherein the entity element set comprises a public entity element set and a specific entity element set; B, establishing a public entity element hierarchy tree according to inclusion relations among entities, and classifying the specific entity elements into the public entity element level tree to serve as child nodes or newly building a specific entity element level tree according to whether the specific entity elements can be classified into the public entity element level tree or not; C, establishing a relationship sequence according to the time sequence relationship among the elements; and D, processing an input text into a corresponding relationship sequence and the test case. The test case can be automatically generated according to the existing data, the semantic ambiguity problem of the test case is solved, and the generated test case is single in semantics and free of ambiguity.
Description
technical field [0001] The invention relates to a method for generating computer software test cases, in particular to a method for generating componentized test cases. Background technique [0002] When testing computer software, the current industry common practice is that testers use natural language to write test cases. However, due to the ambiguity of natural language, the readability and effectiveness of test cases are often affected and determined by the language level of the author, resulting in uneven quality of test cases, which is not conducive to test execution and test management. . In addition, natural language test cases are difficult to be fully understood by machines. Therefore, in the application of automated testing, such test cases are often difficult to convert into automated test scripts, and automated testing and automated free testing cannot be easily realized. [0003] In addition, the test case generation technology used in the industry is usually...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More Application Information
Patent Timeline
Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 熊阳
Owner SICHUAN XW BANK CO LTD
Who we serve
- R&D Engineer
- R&D Manager
- IP Professional
Why Patsnap Eureka
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More 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