Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case knowledge base construction method and device, electronic equipment and storage medium

A technology for test cases and construction methods, applied in the computer field, can solve problems such as affecting the accuracy of accurate tests and poor accuracy of bidirectional relationship, and achieve the effect of improving accuracy

Pending Publication Date: 2021-11-26
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a test case knowledge base construction method, device, electronic equipment, and storage medium to solve the problem that the accuracy of the bidirectional association relationship between the existing test cases and codes is not good, which in turn affects the accuracy of precise testing

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 more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test case knowledge base construction method and device, electronic equipment and storage medium
  • Test case knowledge base construction method and device, electronic equipment and storage medium
  • Test case knowledge base construction method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0106] refer to figure 1 , shows a flowchart of steps of a method for constructing a test case knowledge base in an embodiment of the present invention.

[0107] Step 110, for any test case, execute the test case based on the target project, and generate the code coverage data of the test case for the target project, the target project is a project that has been instrumented, and the code The coverage data at least includes the identity of at least on...

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

No PUM Login to View More

Abstract

The invention provides a test case knowledge base construction method and device, electronic equipment and a storage medium. The method comprises the steps of for any test case, executing the test case on the basis of a target project, generating code coverage rate data of the test case for the target project, the target project being a project subjected to instrumentation processing, wherein the code coverage rate data at least comprises an identity label of at least one node in the target project; analyzing the code coverage rate data, obtaining a covered target code module in the target project after the test case is executed, and establishing an association relationship between the target code module and the test case in a test case knowledge base; wherein the identity label of each node is obtained by renaming the node based on the node type of the node before the code coverage rate data is generated.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a test case knowledge base construction method, device, electronic equipment and storage medium. Background technique [0002] In software engineering, testers use test cases to test whether the application software or software system works correctly. Among them, Accurate Test is a general-purpose test and analysis system. Its internal algorithm implementation has nothing to do with specific businesses, and the same set of methods can be used for confirmation of various types of application software. The bottom-level method is to establish the relationship between test cases and codes. Any type of software will have a bidirectional relationship between test cases and codes. Therefore, the application range of precise testing is extensive. [0003] The main purpose of the industry's precise testing practice on the mobile terminal is to support the code coverage analysis of unit...

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
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06N5/02
CPCG06F11/3676G06F11/3684G06N5/02
Inventor 关亚雷
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH 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
PatSnap group products