Check patentability & draft patents in minutes with Patsnap Eureka AI!

Automatic generation method of testing cases for user data coverage rate

A test case, user-oriented technology, applied in the field of data processing, can solve problems such as affecting user experience and inability to consider user usage, and achieve the effect of improving efficiency and pertinence

Active Publication Date: 2018-04-24
ZHEJIANG UNIV
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the frequency of use of each code block is not the same. If the testing effort is evenly distributed to each code block, it is difficult to concentrate on finding vulnerabilities in the code blocks commonly used by users in the software.
When the user uses the software, the most frequently used part, if there is a program loophole,

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
  • Automatic generation method of testing cases for user data coverage rate
  • Automatic generation method of testing cases for user data coverage rate
  • Automatic generation method of testing cases for user data coverage rate

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0032] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] In this embodiment, a machine learning algorithm is used to propose a method for automatically analyzing the data of the product actually used by the user to generate a test case to improve the efficiency of the test process.

[0034] figure 1 It is a flowchart of a method for automatically generating test cases oriented to user data coverage provided by an embodiment of the present invention. see figure 1 , the method provided in this embodiment includes the following steps:

[0035] S101. Obtain user usage data of a certain software product to form a data set D origin , and clean the dataset D origin get data set D clean .

[0036] In this step, cleaning the data set D origin get data set D clean The specific process is:

[0037] Judge t...

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 an automatic generation method of testing cases for a user data coverage rate. The method comprises the steps that 1, user application data of a software product is acquired toform a data set Dorigin, and the data set Dorigin is cleaned to obtain a data set Dclean; 2, a machine learning method is adopted for processing the data set Dclean, and a testing case set TC is obtained; 3, the software product is tested by using the testing case set TC, existing bugs are repaired, testing is repeated till no severe bug exists, and the repaired software product is applied again;4 the user application data of the software product which is applied again is recorded to form a data set Dadd, the data set Dadd and the data set Dorigin are merged, and a data set Dorigin' which isused for the next round of testing is obtained. The automatic generation method of the testing cases for the user data coverage rate can improve the efficiency of the testing process.

Description

technical field [0001] The invention belongs to the field of data processing, and in particular relates to a method for automatically generating test cases oriented to user data coverage. Background technique [0002] Testing is an essential link in the software development process. It is a way of measuring software quality to determine whether the actual running results of the software are consistent with expectations. A test case is a key element in a test procedure. Test cases are used as the input of the program to be tested to observe the performance and results of the program, thereby discovering errors and defects in the program. [0003] The generation of test cases has long relied on the experience and professionalism of software testers and is done manually. Recently, automatic test case generation algorithms have gradually gained the attention of many researchers and produced a lot of results. The test case automatic generation algorithm starts from the structu...

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/3684
Inventor 温盈盈尹建伟吴朝晖邓水光李莹
Owner ZHEJIANG UNIV
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