Test case automatic generation method for vehicle lamp controller based on state machine

A technology of controller testing and test cases, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as heavy workload and tediousness, and achieve the effects of avoiding omissions, making mistakes less prone to errors, and saving manpower

Pending Publication Date: 2021-01-29
MAGNETI MARELLI AUTOMOTIVE COMPONENTS WUHU
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to this model, the test case of the car light controller is automatically generated by the tool; the state flow chart of the car light controller is abstracted into a state machine model, and all test cases are automatically generated through the tool, which is efficient, saves manpower, and is not easy to make mistakes. And provide an effective basis for the coverage rate of statistical test requirements; solve the defects of heavy and cumbersome workload in this process of the prior art, avoid the omissions that occur during manual operation, and solve the problems that occur in the background technology

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
  • Test case automatic generation method for vehicle lamp controller based on state machine
  • Test case automatic generation method for vehicle lamp controller based on state machine
  • Test case automatic generation method for vehicle lamp controller based on state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to deepen the understanding of the present invention, the present invention will be further described below in conjunction with examples, which are only used to explain the present invention and do not constitute a limitation to the protection scope of the present invention.

[0043] Such as figure 1 As shown, this embodiment provides a method for automatically generating test cases for a vehicle light controller based on a state machine. All states and trigger events of the vehicle light controller are marked with symbols one by one, so that the system of the vehicle light controller The requirement is abstracted into a finite automatic state machine model. According to this model, the test case of the car light controller is automatically generated by the tool, which is efficient, saves manpower, is not easy to make mistakes, and provides an effective basis for the coverage of statistical test requirements;

[0044] Include the following steps:

[0045] Step...

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 aims to provide a test case automatic generation method for a vehicle lamp controller based on a state machine, which comprises the following steps of: marking all states and trigger events of the vehicle lamp controller one by one by using symbols so as to abstract system requirements of the vehicle lamp controller into a finite automatic state machine model; according to the model,automatically generating a test case of the vehicle lamp controller by a tool; abstracting a state flow chart of the vehicle lamp controller into a state machine model, automatically generating all test cases by a tool, the efficiency is high so that manpower is saved, errors are not likely to happen, and an effective basis is provided for statistics of the coverage rate of test requirements; thedefect that in the prior art, the process is large in workload and tedious is overcome, and careless omission during manual operation is avoided.

Description

technical field [0001] The invention relates to the field of automobile lamps, in particular to a method for automatically generating test cases for a lamp controller based on a state machine. Background technique [0002] As the application of automotive lighting software becomes more and more widespread, the importance of whether the functions actually implemented by the software can meet the requirements defined by customers has become more and more prominent. Therefore, system testing has become an indispensable key link to verify the correctness of software functions. The current system test mainly follows the following steps: [0003] In the first step, testers design test cases according to the system requirements of the light controller to cover as many system functions as possible. Test cases are mainly composed of preconditions, test steps and expected results. [0004] The second step is to build a test environment for automotive lighting products, including DC ...

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/3676G06F11/3684G06F11/3688
Inventor 李晓龙
Owner MAGNETI MARELLI AUTOMOTIVE COMPONENTS WUHU
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products