Unlock instant, AI-driven research and patent intelligence for your innovation.

Vehicle controller test case script generation method and device

A vehicle controller and test case technology, which is applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as error-prone, test case script formats are diverse, and test case scripts are complicated to write, so as to improve the generation efficiency effect

Active Publication Date: 2021-03-16
DONGFENG MOTOR CORP HUBEI
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the same test action will appear repeatedly in different positions in the test case, there are a lot of repeated codes in the written test case script, which makes the writing of the test case script complicated and error-prone
At the same time, the ability and habits of different testers to write scripts are quite different, which makes the formats of test case scripts diverse and not efficient and unified

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
  • Vehicle controller test case script generation method and device
  • Vehicle controller test case script generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on The embodiments of the present invention and all other embodiments obtained by persons of ordinary skill in the art belong to the protection scope of the embodiments of the present invention.

[0071] see figure 1 , figure 1 A flow chart of a method for generating a vehicle controller test case script provided by an embodiment of the present invention includes steps 11 to 14.

[0072] Step 11, build a test action text library according to the action value of the control function signal of the vehicle controller.

[0073] Specifically, the vehicle controller can be a body controller (BCM, Body Control Module), an electronic control unit (ECU, Elec...

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 technical field of vehicle controller testing, in particular to a vehicle controller test case script generation method and device. The method comprises the following steps: constructing a test action text library according to an action value of a control function signal of a vehicle controller; loading a test action text library, creating and packaging basic action functions according to basic action items of action classification of the control function signals, and constructing a test action function library; calling a test action text library, associating the function classification of the control function signal with a corresponding test action, and constructing a test case text library; and according to the test action sequence of the test case text library, calling a test action function library to generate a test case script of the vehicle controller. According to the invention, the script code of the vehicle controller test case can be automatically generated according to the control function of the vehicle controller, the format of the test case script is standardized, the script generation efficiency is improved, and the vehicle controller test case script is efficiently and uniformly obtained.

Description

technical field [0001] The invention relates to the technical field of vehicle controller testing, in particular to a method and device for generating a vehicle controller test case script. Background technique [0002] At present, in order to improve the test efficiency, major OEMs have introduced various automated test equipment to conduct automated tests on vehicle controllers. Before testing, a lot of test case scripting work is required. Since the same test action will appear repeatedly in different positions in the test case, there are a lot of repeated codes in the written test case script, which makes the writing of the test case script complicated and error-prone. At the same time, the ability and habits of different testers to write scripts are quite different, which makes the formats of test case scripts diverse and not efficient and unified. [0003] Therefore, how to efficiently and uniformly obtain the vehicle controller test case script is a technical proble...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688Y02P90/02
Inventor 叶婷鲁盼郑韩麟马增辉蒋从文
Owner DONGFENG MOTOR CORP HUBEI