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

Iterative learning model behavior similarity test case generation method and apparatus

A test case generation and iterative learning technology, applied in the field of test case screening strategies, can solve problems such as unrealistic testing methods, and achieve the effect of saving test costs and improving efficiency

Active Publication Date: 2016-09-21
NANJING UNIV
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the current system under test that considers complex network environment factors, its huge test case space makes it very unrealistic for us to traverse all test cases for testing. Then, how to select part of the test purposefully in a test case space Use cases can achieve or approach the effect of traversing all test cases, which has become an urgent problem to be solved

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention will be described in further detail below.

[0058] Step 1, which is the function realized by the aforementioned module 1, obtains the system state model of the system to be tested, and then constructs a system state machine diagram according to the system state model. Step 1 is the system initialization step of the present invention. In this embodiment, the system state model is provided by the provider of the system under test, and is further expressed through the description method of the state machine in the UML standard. If the system under test needs to consider the impact of the network environment, it is necessary to expand the system state model provided by the provider of the system under test. At this time, the expanded system state model is the system state model obtained by the present invention. It should be noted that the "acquisition" in "obtaining the system state model of the system to be tested" means that the "system state mode...

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 iterative learning model behavior similarity test case generation method and apparatus. The method comprises the steps of firstly constructing a system state machine diagram according to a system state model; secondly generating a new test case set according to the system state machine diagram, an existing test case set and corresponding test results of the existing test case set; thirdly executing the generated test cases and recording the test results; fourthly updating the test results into the system state machine diagram and updating the existing test case set; and finally repeating the processes until a stop condition is met. According to the method and apparatus, the quality of the test cases generated during each iteration is improved through a historical information-based heuristic rule to reduce the frequency of exploration in a test case space so as to improve the efficiency of a test process.

Description

technical field [0001] The invention relates to a test case screening strategy in a computer-based model testing method. Background technique [0002] Model-based testing, Model-based Testing, is a method that can fully or partially use models to automatically generate test cases. [0003] To apply this method, first of all, it is necessary to model the software system to be tested, and express the target behavior, target environment and other target objects of the system to be tested using a model (generally using the UML standard to generate a model), and then based on the model, use Model-specified system specifications combine model elements to generate actual test cases. In this way, the abstraction of the system under test is used, which is only a one-sided representation of the behaviors that people are interested in in the system; the test cases obtained in this way are at the same level as the model abstraction, and are functional to the system under test. Test ca...

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/3684G06F11/3688
Inventor 张天潘敏学季瑞骅
Owner NANJING 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