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

A processing method and device for generating an optimal test coverage path for a test object

A technology of test coverage and test objects, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as low efficiency, unreasonable test coverage paths, and inexhaustible test behaviors

Active Publication Date: 2022-04-22
BEIJING QIANXIN TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the testing behavior is inexhaustible. The testing problem is an efficiency problem. Mathematically, it is "how to choose the shortest and fastest test coverage path in order to find enough problems"
Existing technologies usually test the test object based on the experience of the tester, not only the test coverage path is not reasonable enough, but also the efficiency is relatively low

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
  • A processing method and device for generating an optimal test coverage path for a test object
  • A processing method and device for generating an optimal test coverage path for a test object
  • A processing method and device for generating an optimal test coverage path for a test object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0038] figure 1 A schematic flowchart of a processing method for generating an optimal test coverage path for a test object according to an embodiment of the present invention, as shown in figure 1 As shown, a processing method for generating an optimal test coverage path for a test object provided in an embodiment of the present invention includ...

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

An embodiment of the present invention provides a processing method and device for generating an optimal test coverage path for a test object. The method includes: acquiring N random individuals as ancestor individuals; initializing each ancestor individual according to the test results of the test object Scoring, according to the initial scoring results to obtain the target individuals that need to be retained in the first generation; construct N next-generation individuals containing the target individuals; and calculate the scoring results of the next-generation individuals, and repeat the execution until N next-generation individuals Until the comparison results between the score results corresponding to the individual and the score results corresponding to the adjacent N previous generation individuals meet the preset conditions; the preset judgment table corresponding to the Mth generation individuals when the preset conditions are determined to be satisfied is: The target preset decision table generates the optimal test coverage path for all user behavior nodes. The apparatus performs the method described above. The method and device provided by the embodiments of the present invention can quickly and reasonably generate the next user behavior node.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of software testing, and in particular to a processing method and device for generating an optimal test coverage path for a test object. Background technique [0002] With the development of software technology, the complexity of software is getting higher and higher, and consequently, software testing is also facing serious problems. [0003] Testers need to understand the logic of each function point from multiple perspectives (including overall and detailed use), so as to be able to find problems and judge which possible user behaviors the problem is most likely to appear in, which is the primary goal of software testing . However, the testing behavior is inexhaustible. The testing problem is an efficiency problem. Mathematically, it is "how to select the shortest and fastest test coverage path in order to find enough problems". The existing technology usually tests the test object...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3676
Inventor 梁一
Owner BEIJING QIANXIN TECH
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