Statistical error positioning method based on reduction of black-box test case

A test case and statistical error technology, which is applied in the field of software testing and program debugging, and error positioning in program debugging, can solve the problem of taking a long time to collect test information, etc.

Inactive Publication Date: 2016-04-06
CHINA UNIV OF MINING & TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a statistical error location method based on black-box test case reduction, which solves the problem that the current statistical error location method takes a long time to collect test information, and then greatly improves the efficiency and efficiency of the statistical error location method. Ease of use improves the efficiency of program debugging, thereby better ensuring the quality of software

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
  • Statistical error positioning method based on reduction of black-box test case
  • Statistical error positioning method based on reduction of black-box test case
  • Statistical error positioning method based on reduction of black-box test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to better understand the technical content of the present invention, specific implementations and accompanying drawings are described as follows.

[0066] figure 1 It is a flowchart of a statistical error localization method based on black-box test case reduction implemented in the present invention.

[0067] A method for locating statistical errors based on reduction of black-box test cases is characterized by comprising the following steps.

[0068] The construction of S1 test case distance matrix, given a test case set, maps it to a test case string for each test case, and uses the distance measurement method to measure the distance between the test case strings, thereby generating a test case Distance matrix, each position in the matrix records the distance information between two test cases.

[0069] S2 automatically reduces the test case set, sets the test requirements, and uses the greedy algorithm to gradually identify the test cases that are most lik...

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 relates to a statistical error positioning method based on the reduction of a black-box test case. The statistical error positioning method aims at a given test case set and utilizes a distance measurement method to measure difference degrees among test cases so as to construct a test case distance matrix; on the basis, test requirements are set, a greedy algorithm is adopted to carry out test case reduction work so as to generate the test case set which meets the test requirements, and the program overlay information and the program execution result of the test case set are simultaneously collected and reduced so as to construct the test case distance matrix; then, statistical error positioning is carried out to measure an anomaly degree of statement errors in the program; and finally, a software error positioning report is generated. The statistical error positioning method aims to solve the problem that the traditional statistical error positioning method needs to collect test information in a long time, so that the efficiency and the usability of the statistical error positioning method are greatly improved, and the efficiency of program debugging work is improved so as to better guarantee the quality of software.

Description

technical field [0001] The invention belongs to the field of software testing and program debugging, especially the field of error positioning in program debugging, which is used for locating wrong program entities in software and is a method for ensuring software quality and reliability. Background technique [0002] With the continuous development of computer hardware technology and the diversification of application requirements, the scale and complexity of computer software systems continue to increase. At the same time, human society has higher and higher requirements for the development efficiency and product quality of software systems. Software testing and program debugging are the main means to detect and correct software errors and ensure software quality in the industry. to improve the quality and reliability of software products. [0003] Software error localization is an important step in the process of program debugging. According to the survey, the cost of ...

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
Inventor 姜淑娟王兴亚高鹏飞于巧张艳梅鞠小林王荣存
Owner CHINA UNIV OF MINING & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products