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

Data stream testing method and testing system based on key point guidance

A test method and key point technology, applied in the field of data flow test method and test system based on key point guidance, can solve the problems of long test time and low coverage, and achieve the goal of lowering the threshold of data flow test and increasing the feasibility. Effect

Inactive Publication Date: 2018-02-02
EAST CHINA NORMAL UNIV
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of low coverage rate and long test time in the current data flow test, the present invention improves a data flow test method and system based on key point guidance. This method can automatically generate test cases and save labor costs

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
  • Data stream testing method and testing system based on key point guidance
  • Data stream testing method and testing system based on key point guidance
  • Data stream testing method and testing system based on key point guidance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described in detail in conjunction with the following specific embodiments and accompanying drawings. The process, conditions, experimental methods, etc. for implementing the present invention, except for the content specifically mentioned below, are common knowledge and common knowledge in this field, and the present invention has no special limitation content.

[0043] the following figure 1 Shown is a schematic flow chart of the data flow testing method based on key point guidance in the present invention, such as figure 1 . It includes the following steps:

[0044] Step 1: Obtain the definition-use pair in the program to be tested through a standard data flow analysis method. The definition-use pair means that there is a control flow path always from the definition control flow node of the variable to the use control flow node of the same variable , and there is no redefinition of the variable between the define control flow ...

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 data stream testing method based on key point guidance. The method comprises the following steps that: through a standard data stream analysis method, obtaining a definition-use pair in a program to be tested; according to a control stream analysis method, analyzing key points in the definition-use pair; inputting the definition-use pair and the key point into a symbol actuator; using a path searcher based on the key point to guide a symbol in execution by the symbol actuator; if a symbol execution path covers the definition-use pair, returning a test case corresponding to the symbol execution path, otherwise, continuously executing S4 until the corresponding test case is generated for all definition-use pairs or all symbol execution paths finish being executed, and ending the execution of the symbol actuator; and according to a symbol execution result, carrying out statistics on a coverage rate. The invention also discloses a data stream testing system basedon the key point guidance.

Description

technical field [0001] The invention relates to the field of computer software testing, in particular to a data flow testing method based on key point guidance and a testing system thereof. Background technique [0002] With the development of the Internet, the application of computers in all walks of life has gradually deepened. Computer software not only plays an irreplaceable role in large commercial systems, but also plays an important role in various industrial systems. As the scale of computer software systems continues to grow, large-scale e-commerce, nuclear power, aerospace, orbit control and other fields have put forward higher requirements for the reliability of software systems. According to a survey conducted by the University of Cambridge in 2013, the global annual expenditure on solving software errors is as high as 312 billion U.S. dollars, and each programmer spends 50% of the time on average to find and solve software errors. It can be seen that avoiding ...

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
IPC IPC(8): G06F11/36
CPCG06F11/3676G06F11/3688
Inventor 蒲戈光苏亭张枨宇武轲姚银波周寒茹
Owner EAST CHINA NORMAL UNIV
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