A method for automatic testing for test models based on functional block diagrams

A function block diagram and test model technology, applied in software testing/debugging, etc., can solve problems such as the inability to clearly express the causal diagram model, the inability to extract boundaries in causal diagram modeling, and the inability to generate automated test scripts, etc., so as to improve the level of writing Efficiency, high test efficiency, and the effect of improving quality
CN104991863BActive Publication Date: 2017-11-03ZHUZHOU CSR TIMES ELECTRIC CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUZHOU CSR TIMES ELECTRIC CO LTD
Publication Date
2017-11-03

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for automatically generating test cases based on a function block diagram test model. The steps include: extracting input and output, logical relations and constraint relations in the requirement specification of embedded software, and according to the input and output in the requirement specification of the software , logical relationship and constraint relationship establish a function block diagram test model based on a function block diagram language; establish conversion rules for converting the function block diagram test model into a data combination table; extract basic data from the function block diagram test model, and then Data derivation is performed on the basis of the basic data according to the conversion rules, thereby converting the function block diagram test model into a data combination table; and generating test cases according to the data combination table. The invention has the advantages of high testing efficiency, good quality of test cases, sensitive to timing relationship, sensitive to boundary, sensitive to operation logic, and capable of identifying the state of software and the transfer relationship between states.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a software testing technology for embedded software development, in particular to a method for automatically generating test cases based on a function block diagram test model. Background technique

[0002] Software testing is an important guarantee of software quality. In the field of software testing, the writing of test cases and test scripts has always been an important task of software testing. The quality of test cases and test scripts has an Significant impact, for the same requirements, the quality of test cases and test scripts written by testers of different levels varies greatly, and manual writing of test cases and test scripts is a lot of work and low efficiency.

[0003] Model based testing (Model based testing, referred to as MBT) belongs to a testing method in the field of software testing, which automatically generates test cases and test codes by establishing test scenarios or test models (hereinafter referred...

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