Supercharge Your Innovation With Domain-Expert AI Agents!

Test case generation method based on network application comprehensive importance

A technology for generating test cases and synthesizing importance, applied in software testing/debugging, etc., can solve problems such as validity limitations, inaccurate evaluation of node importance, ignoring the topology characteristics of dynamic execution process of network applications, etc. Evaluate the effect of accurate and effective improvement

Pending Publication Date: 2022-07-29
BEIJING UNIV OF CHEM TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, some research considers the text content of page nodes and the in-out degree of topological structure from the static and local perspectives to find important nodes in network applications, but this method ignores the dynamic execution process of the entire network application and the overall topology. characteristics, resulting in inaccurate evaluation of node importance
At the same time, only based on the importance of nodes to guide the generation of test case sets, its effectiveness also has great limitations

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 generation method based on network application comprehensive importance
  • Test case generation method based on network application comprehensive importance
  • Test case generation method based on network application comprehensive importance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0009] The present invention proposes a method for generating test cases based on the comprehensive importance of network applications, so as to solve the problem of how to test network applications when the test resources are insufficient. The network application is abstracted into the EFSM model, and the comprehensive importance value that reflects the importance of the page nodes is designed by analyzing the network application in many aspects. Test case generation guidelines. The specific implementation process of the present invention can be divided into the following three stages:

[0010] The first stage: Calculate the comprehensive importance value.

[0011] Step 1: Calculation of each influencing factor

[0012] ①Betweenness centrality (BC): Calculated by the number of shortest paths between other nodes passing through the node in the network structure.

[0013] ②Code coverage (Code coverage, CC): It is obtained by the sum of the back-end code coverage lines corres...

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 discloses a test case generation method based on network application comprehensive importance, and belongs to the field of network application testing. Under the condition that the test cost is limited, an effective method for evaluating the importance degree of page nodes of network applications and preferentially testing the page nodes is provided, and the network applications are comprehensively analyzed from the static, dynamic, local and global angles; and the influence factors of the network application are explored, and the final node importance is calculated by combining a multi-attribute decision-making method. Meanwhile, in order to better test the effectiveness of a case set, the diversity concept is introduced by increasing the attention of new coverage migration in the calculation process, and a test case generation method combining node importance and generation diversity is provided. Compared with the prior art, the method has the advantages that the important nodes are evaluated more accurately, the obtained test case set can test the important nodes preferentially on the premise that the quality of the test case set is guaranteed, and the method has high application value.

Description

technical field [0001] The invention relates to the field of network application testing, and is a method for effectively testing network applications under the condition of limited testing cost. Background technique [0002] Software testing is an important means of checking the correctness of web applications. It performs corresponding operations on the network application under test according to certain rules, and exposes errors in the software by observing whether the software behavior is consistent with the expected results. However, the cost of software testing is high, and the detailed testing depends on a lot of manpower and material resources. Therefore, how to effectively test network applications under the condition of limited testing costs has gradually become a research hotspot. [0003] It is an effective method to evaluate the importance of each page node of the web application and to test the important nodes first. There are also many research results on i...

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/36
CPCG06F11/3676G06F11/3684G06F11/3688
Inventor 郭俊霞刘丽王微微李征赵瑞莲
Owner BEIJING UNIV OF CHEM TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More