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

A method and device for regression testing based on finite state machine

A finite state machine and regression testing technology, which is applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as not considering the change of the state recognizer and being unable to apply the finite state machine

Active Publication Date: 2021-03-19
NANJING UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a regression test method and device based on a finite state machine. state machine problem

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 and device for regression testing based on finite state machine
  • A method and device for regression testing based on finite state machine
  • A method and device for regression testing based on finite state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to make the object, technical solution and advantages of the present invention clearer, the present invention 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 the present invention, not to limit the present invention.

[0081] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", The orientation or positional relationship indicated by "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have Certain orientations, constructed and operative in certain orientations, therefore are not 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 relates to the field of system testing, in particular to a regression testing method and device based on a finite-state machine, and the method comprises the following steps: inputting an old model, an original testing suite and a new model of a to-be-tested system, the old model, the new model M'and the testing suite comprising a coverage set and a state recognizer; comparing the old model with the new model, and analyzing the change of the model to obtain a model change result; analyzing the change of the test suite according to the model change result to obtain a test suite change result; according to the change result of the test suite, combining the changed test suite to generate a new test suite; performing regression testing. Changes of the coverage set and the state recognizer in the test suite are considered respectively, so that a new test suite is generated, complete regeneration is avoided, test cases can be selectively executed, test execution expenditure isreduced, and finite-state machine regression test efficiency is greatly improved.

Description

technical field [0001] The invention relates to the field of system testing, in particular to a regression testing method and device based on a finite state machine. Background technique [0002] Software systems need to evolve continuously to meet ever-changing needs. System specifications and implementations are changed to fix bugs, improve functionality, add new functionality, or remove existing functionality. Every time a software system is modified, regression testing is required to ensure that the original, changed and newly added parts have correct behavior. [0003] Model-based testing is an important branch of the test automation method, which is used to model the system specification in a formal expression language, and then automatically generate test cases and their expected output from it, so as to reduce the cost of testing and the risk of errors. Finite state machine (FSM) is one of the important models. The test method based on FSM has been widely used in ...

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/368G06F11/3684G06F11/3688
Inventor 聂长海鲁耀远
Owner NANJING 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