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

Method and device for generating test report

A technology of test reports and test steps, applied in the field of automation, can solve the problems of analysis errors, cumbersome test result analysis process, etc., to achieve the effect of ensuring accuracy and convenient data analysis

Active Publication Date: 2015-12-23
BEIJING JINGWEI HIRAIN TECH CO INC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, when using the method in the prior art to analyze the test results, it is necessary to find valid data in the .xml file and the useless data in the .asc file and to switch between the two files frequently, which makes the test result analysis process more cumbersome and easy. In case of a parse error

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
  • Method and device for generating test report
  • Method and device for generating test report
  • Method and device for generating test report

Examples

Experimental program
Comparison scheme
Effect test

no. 2 example

[0083] Such as figure 2 As shown, the present invention provides a second embodiment of a method for generating a test report, including:

[0084] Step S201: Obtain all timestamps in the .asc file to form a first timestamp set, acquire all timestamps in the .xml file to form a second timestamp set;

[0085] Step S202: Obtain the intersection of the time stamps of the first time stamp set and the second time stamp set;

[0086] Step S203: Obtain the first valid data corresponding to each timestamp in the timestamp intersection in the .asc file;

[0087] Step S204: Obtain the second valid data corresponding to each timestamp in the timestamp intersection in the .xml file;

[0088] Step S205: storing the time stamp intersection, the first valid data and the second valid data in a preset file in a preset format.

[0089] Step S206: Obtain the first timestamp complement of the timestamp intersection in the first timestamp set;

[0090] In the .asc file, in addition to the time...

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 discloses a generation method and a generation device of a test report. According to the generation method and the generation device of the test report, a first timestamp collection of a .asc file and a second timestamp collection of a .xml file are firstly obtained, and intersection of timestamps of the .asc file and the .xml file is obtained; then first effective data corresponding to the intersection of the timestamps is obtained in the .asc file, second effective data corresponding to the intersection of the timestamps is obtained in the .xml file , the intersection of the timestamps, the first effective data and the second effective data are stored in a pre-set file according to a pre-set form, and the test report is formed. Due to the facts that the effective data of the two files are included in the test report, and only effective data which are needed when a test result is analyzed are included in the test report and useless data are not needed, the test report which is obtained through the generation method and the generation device is not needed to be switched in the two files, effective data are not needed to be extracted in a great amount of useless data, the fact that data analysis is carried out through the test report is enabled to be achieved conveniently, and accuracy of the test result is guaranteed.

Description

technical field [0001] The invention relates to the field of automation, in particular to a method and device for generating a test report. Background technique [0002] At present, in order to ensure the factory level of the electronic control unit ECU (Electronic Control Unit), it is necessary to test the ECU in order to check whether the ECU supports various services. During the test, two kinds of software Diva and Canoe are usually used. The test process is to write the program through Diva, and then execute the program in the Canoe environment. After the two kinds of software are tested, the corresponding test result files are generated respectively: Diva generates a suffix of . xml file, the .xml file contains four parts of valid data: timestamp, test step name, test step result and test step description; Canoe generates a file with the suffix .asc, and the .asc file includes the test step name, sending or receiving data and the time stamp of sending or receiving data...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 孙梦薇马婕
Owner BEIJING JINGWEI HIRAIN TECH CO INC