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

Automatic test tool and automatic test method for Simulink model

A technology of automated testing and modeling, applied in software testing/debugging and other directions, can solve the problem of inability to test the narrow scope of application, and achieve the effect of improving testing convenience, repairing software vulnerabilities, and wide application scope

Pending Publication Date: 2022-07-29
重庆长安新能源汽车科技有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a kind of automation testing tool and automation testing method facing Simulink model, the technical problem solved: the existing testing technology facing Simulink model can't realize the test of different requirements or the scope of application is narrow

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 test tool and automatic test method for Simulink model
  • Automatic test tool and automatic test method for Simulink model
  • Automatic test tool and automatic test method for Simulink model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention will be further described below in conjunction with the accompanying drawings.

[0054] like figure 2 As shown, this tool is an automated testing tool developed based on matlab, matlab is the abbreviation of matrixlaboratory, matlab is mainly used to process entire matrices and arrays, while most other programming languages ​​process values ​​one by one, matrix refers to the linear algebra that is usually used for The two-dimensional array of operations, matlab is a commercial mathematical software produced by mathworks company in the United States. It is used for algorithm development, data visualization, data analysis and numerical computing. Advanced technical computing language and interactive environment, mainly including matlab and Simulink. Matlabu has a rich algorithm toolbox, so it is suitable for engineering calculation, control design, signal processing and communication, graphics processing, signal detection, financial modeling design ...

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 a Simulink model-oriented automatic test tool and method, and the tool comprises a first setting module which is used for setting the comparison precision of a simulation step length and a test result; the third selection module is used for selecting an MIL simulation mode or an SIL simulation mode; the fourth selection module is used for selecting to execute a single test case or multiple test cases; the calculation module is used for calculating the coverage degree of the test; the second setting module is used for setting only comparison of expected time point data or comparison of each simulation step length; the automatic testing module is used for executing automatic testing on the to-be-tested Simulink model based on the test case; the generation module is used for generating a test result based on the current test case; according to the method, the to-be-tested model and the test case can be rapidly loaded by a tester, then one-key automatic testing is completed, the tool is provided with personalized configuration, a user can select required configuration on a front-end interface according to own needs, then personalized testing is carried out, and the application range is wide.

Description

technical field [0001] The invention belongs to the technical field of software testing, and in particular relates to an automatic testing tool and an automatic testing method oriented to a Simulink model. Background technique [0002] Due to the rapid development of new energy vehicle battery management technology, the complexity of software is getting higher and higher. In the process of software development and software iteration, the requirements change frequently, and the workload of software testing is increasing. In automotive electronics and related projects developed based on Simulink models, when the software is modified as the requirements change, the software unit model needs to be tested. Traditional unit testing requires testers to manually perform one by one according to the model and detailed software design documents. Test, the test efficiency is relatively low, the time consuming is long, and there are many repetitive operations. At the same time, there are...

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/3688G06F11/3692G06F11/3664
Inventor 秦良艳朱骞杨旭喻成
Owner 重庆长安新能源汽车科技有限公司
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