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

Intelligent test case generation method based on historical demand data mining and medium

A technology of test cases and demand data, applied in the direction of specific mathematical models, electrical digital data processing, software testing/debugging, etc., can solve problems such as low accuracy, low validity and usability of generated results, and slow processing speed

Pending Publication Date: 2020-01-24
SICHUAN XW BANK CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the problems of the above research, the purpose of the present invention is to provide a method and medium for intelligently generating test cases based on historical demand data mining, so as to solve the problem of machine learning related to natural language processing based on machine learning and not using linear sequences in the prior art. Algorithms are used to generate test cases, resulting in low effectiveness and usability of test case generation results, that is, low prediction accuracy and slow processing speed.

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
  • Intelligent test case generation method based on historical demand data mining and medium
  • Intelligent test case generation method based on historical demand data mining and medium
  • Intelligent test case generation method based on historical demand data mining and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0163]There is an existing product requirements document, which requires the official website to provide a registration page so that visitors can register as users. On the registration page, the visitor is required to enter three pieces of information: user name, password, and confirmation password. After the visitor submits the registration, it will prompt the visitor to register successfully or fail.

[0164] There are about 50 test cases corresponding to this historical requirement document, some examples are as follows:

[0165] (1) The visitor enters the registration page, enters the information and submits it, and the information is correct and has not been registered. Expectation: The page prompts "Successful registration!".

[0166] (2) The visitor enters the registration page, enters information and submits, and the user name already exists. Expectation: The page prompts "Registration failed: the user is already registered".

[0167] (3) Visitors enter the registra...

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 intelligent test case generation method based on historical demand data mining and a medium, belongs to the field of computer software development and software testing, andsolves the problems of low effectiveness and availability of test cases generated in the prior art. The method comprises the following steps: processing an obtained historical demand document to obtain a demand sub-item sequence, and meanwhile, processing a test case corresponding to the obtained historical demand document to obtain a test case sequence; establishing a hidden Markov model for predicting the test case based on the test case sequence of the demand subitem sequence; based on the training set and the test set, adopting a supervised learning mode hidden Markov model to obtain a prediction model with optimal parameters; and inputting the demand subitem sequence of the to-be-predicted demand document and the prediction model of the optimal parameter into a Viterbi algorithm, solving and outputting an optimal test case sequence, and searching a final test case based on the output and mapping relationship. The method is used for generating the test case.

Description

technical field [0001] The invention discloses a method and medium for intelligently generating test cases based on historical demand data mining, which are used for generating test cases and belong to the field of computer software development and software testing. Background technique [0002] At present, the main idea of ​​testers designing test cases is formed in the process of product requirements analysis. Based on the analysis and research of requirements analysis documents, testers focus on the business implementation logic and system implementation logic, combined with their own experience and skills, to dig out the focus and key points of the test work, form test ideas, and finally convert the test ideas into test case output. [0003] The above process is all done manually by the testers, and the experience and skills of the testers are very important. Different testers design different test cases for the same requirement, resulting in uneven design quality of 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
IPC IPC(8): G06F11/36G06N7/00
CPCG06F11/3684G06F11/3688G06N7/01
Inventor 熊阳
Owner SICHUAN XW BANK CO LTD
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