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

Test case generation method and test method based on function requirements of electric vehicle

A test case generation and test case technology, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as non-standard test case generation, reduce writing workload, realize efficient utilization, The effect of improving test efficiency

Pending Publication Date: 2019-11-12
GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above-mentioned technical problem of non-standard test case generation, the present invention proposes a test case generation method, generation device and test method based on the functional requirements of electric vehicles

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 generation method and test method based on function requirements of electric vehicle
  • Test case generation method and test method based on function requirements of electric vehicle
  • Test case generation method and test method based on function requirements of electric vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings. However, those skilled in the art know that the present invention is not limited to the drawings and the following embodiments.

[0034] According to one aspect of the present invention, the embodiment of the present invention proposes a test case generation method based on the functional requirements of electric vehicles, such as figure 1 shown, including the following steps:

[0035] Step S10 of generating MIL test cases: generating MIL test cases according to one or more test cases in the test case set.

[0036] According to one or more test cases in the test case set, use MIL test tools, such as tools such as TPT, to write MIL test cases. The MIL test cases written correspond to the test cases in the test case set, and...

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 test case generation method and a test method based on function requirements of an electric vehicle. The test case generation method comprises the steps of generating an MILtest case according to one or more test cases in a test case set, identifying test step information in the MIL test case to obtain an associated test case from the MIL test case, and generating an HIL test case according to the obtained associated test case. For the constructed test cases, the same set of test cases can be applied to test links of MIL and HIL function verification, so that the writing workload of the test cases is reduced, efficient utilization of the test cases is realized, and the overall software test efficiency is improved.

Description

technical field [0001] The invention belongs to the technical field of electric vehicle software testing, and in particular relates to a method for generating test cases based on functional requirements of electric vehicles, a generating device and a testing method. Background technique [0002] A test case is a set of test inputs, execution conditions, and expected results compiled for a special purpose, in order to test a program path or verify whether a specific requirement is met. The test case is a scientific organization and induction of the behavior of software testing, with the purpose of transforming the behavior of software testing into a manageable model; at the same time, the test case is also one of the methods to quantify the test. Different types of software, Test cases are different. Therefore, the correctness, efficiency and coverage adequacy of test cases directly reflect the quality of test cases. [0003] In the design and development process of electri...

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/3688G06F11/3676G06F11/3684
Inventor 陈秋利
Owner GUANGZHOU XIAOPENG MOTORS TECH CO LTD
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