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

A Method of Generating Test Data for Software Reliability

A test data and reliability technology, applied in the field of software reliability test data generation, can solve the problems of low error rate of software reliability test cases, failure to transmit software failure information effectively, serious repetition of test cases, etc.

Active Publication Date: 2021-08-31
CHINA AERO POLYTECH ESTAB
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are many defects in the implementation process of this test method, mainly including the following aspects: 1) The accuracy of the operation profile is not high: when the software is running, the execution logic is often unpredictable, the usage scenarios are complex and changeable, the data interaction is frequent, It is very difficult to accurately describe the software usage and its probability information for complex features such as difficult to measure operating rules; It was not used in the software reliability testing process, resulting in early software failure information not being effectively transmitted to the testing stage. Targeted testing was not carried out for software failure modes in the software reliability testing, resulting in information loss, leading to software reliability testing The error rate of use cases is low, and the ability to find software defects is weak; 3) The repetition of test cases is serious: the test cases are obtained by random sampling of software inputs, and the software inputs that are frequently used in practice are tested in the software reliability test. The proportion of use cases is high, resulting in serious duplication of test cases
Therefore, the method of generating and executing software reliability test cases based on the operation profile has the above defects, resulting in poor applicability and applicability, and it is difficult to be widely used in the development of equipment 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
  • A Method of Generating Test Data for Software Reliability
  • A Method of Generating Test Data for Software Reliability
  • A Method of Generating Test Data for Software Reliability

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0049] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0050] figure 1 A flowchart showing the method for generating test data for software reliability of the present application. The subject of execution of the flow of the method for generating test data for software reliability may be any electronic device with certain data p...

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 present invention provides a method for generating test data for software reliability. The method includes: a software failure mode analysis step, a software space analysis step, a mapping step and a test data generation step. According to the software failure mode obtained in the early stage of the development stage, the invention analyzes the space of the software, determines the input variables, output variables, the value space of the variables, the value rules and constraints of the variables in the value space, and then The failure mode is mapped to the software space, and finally, based on the mapping function between the failure mode and the software space, test data is generated according to possible input and output values ​​of the software during use. The invention utilizes early information in the development stage, thereby improving the ability of test cases to expose defects and reducing the repetition of test cases.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method for generating test data for software reliability. Background technique [0002] At present, the mainstream technology is the method of generating and executing software reliability test cases based on the operation profile. There are many defects in the implementation process of this test method, mainly including the following aspects: 1) The accuracy of the operation profile is not high: when the software is running, the execution logic is often unpredictable, the usage scenarios are complex and changeable, the data interaction is frequent, It is very difficult to accurately describe the software usage and its probability information for complex features such as difficult to measure operating rules; It was not used in the software reliability testing process, resulting in early software failure information not being effectively transmitted to the te...

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/3684
Inventor 封二强郑军
Owner CHINA AERO POLYTECH ESTAB
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