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

Interpreter-based test method and system

A test method and test system technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as non-existence, heavy workload, prone to errors in translation work, etc., so that the possibility of errors is small and the error rate is improved. The effect of testing efficiency

Inactive Publication Date: 2018-07-06
BYD CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The translation function of the debugging protocol analysis module is developed by developers, and there is no standard interface. It needs to be modified synchronously with the upgrade of the application under test, and the workload is heavy.
Moreover, the translation work of the debugging protocol analysis module is prone to errors. Once the function is wrong, it will lead to unexpected consequences of remote calls and cannot be debugged normally.

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
  • Interpreter-based test method and system
  • Interpreter-based test method and system
  • Interpreter-based test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar modules or modules having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0030] Figure 4 It is a schematic flowchart of an interpreter-based testing method provided by an embodiment of the present invention. This interpreter-based testing method includes the following steps:

[0031] S101. The test script manager acquires a test script for testing the application program in the target machine.

[0032] Specifically, a test script manager is inst...

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 provides an interpreter-based test method and system. The method comprises the steps that a test script manager obtains a test script used for testing an application in a target machine;the test script is sent to an interpreter embedded in the application; the interpreter performs registration on a global variable, a function pointer and a function call parameter form of the application; and after the registration is finished, the application is tested based on the test script. According to the test method and system, the interpreter is embedded in the application of the targetmachine; the interpreter can perform the registration on the global variable, the function pointer and the function call parameter form of the tested application; synchronous modification does not need to be performed during application upgrade in the test system; bidirectional conversion, between a C / C++ language and an interpretive language, of the application can be realized; and the interpreter only needs to perform conversion once, so that the error possibility is extremely low and the test efficiency is greatly improved.

Description

technical field [0001] The invention relates to the field of system testing, in particular to an interpreter-based testing method and system. Background technique [0002] Some embedded products have the installation conditions of the linux operating system. At this time, a debugging tool (gbd) for remote debugging can be used in the embedded products. figure 1 It is a schematic diagram of an existing gbd-based remote debugging. figure 1 Among them, the gbd debugging technology needs to involve the upper computer and the target computer, wherein, the target computer is the gbd server (server) running on the object under test, and the upper computer contains the local environment and source code of gbd. At this time, the upper computer is directly connected to the target computer through the network or field bus, and the upper computer obtains the symbol list, address offset and other content in the application program on the target computer when compiling through the compil...

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/3684
Inventor 王发平其他发明人请求不公开姓名
Owner BYD 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