Testing device and method

A test script and test interface technology, applied in the field of testing, can solve problems such as low flexibility, increase the complexity of the test process, and inability to perform higher-level tests, and achieve the effect of system testing

Inactive Publication Date: 2008-07-09
ZTE CORP
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This approach to testing is overly reliant on automation tools and requires the app to provide actionable UI elements; it doesn't work well for apps that don't have a UI
Furthermore, the test carried out by the automated tool can only be tested through the limited functional interface provided by the automated tool, and higher-level tests cannot be performed on the internal functional interface that is more concerned about in practical applications ( Such as: conduct a more thorough logic test, etc.)
In addition, the change of the test command will lead to the recompilation of the test code, which will bring too much workload to the test process, thus increasing the complexity of the test process
[0004] Obviously, the current embedded testing method is actually still in the stage of black box testing, which has low flexibility, high complexity, and cannot perform higher-level testing.

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
  • Testing device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technology of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0023] Referring to FIG. 1, FIG. 1 is a diagram of a testing device according to an embodiment of the present invention. In Figure 1, the test management unit, script engine, test script package, and application logic unit are connected in sequence, and these devices can be set and applied to embedded devices. Among them, the script engine includes an engine library capable of parsing scripts, which can support the script engine to interpret the script correctly; the test script package can realize the translation between test commands and interface functions; the application logic unit can execute specific tests Operation; the test script package is a script processing entity generated by the script package unit and capable of identifying the test interface, and exists in communication entities such as the script package unit.

[0024] During spec...

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 a testing device and a method. As a scripting processing entity that can identify a test interface is arranged and a test command is expressed as the form of a test scripting file, the test scripting file is interpreted to obtain the test command when testing, and the scripting processing entity calls a test interface function corresponding to the test command to realize the system test. Apparently, a scripting test mode can provide good encapsulation and testability; and then, as the test interface comprises an internal functional interface which needs testing, the higher level test (for example more thorough logical test, etc. is acted) can be realized, thereby enhancing the test flexibility; in addition, the scripting test mode eliminates the lengthy compilation process, and reduces the test complexity.

Description

technical field [0001] The invention relates to testing technology, in particular to a testing device and method. Background technique [0002] Currently, software testing includes many levels, from the underlying platform-driven testing to the final integration testing. With the widespread development of embedded systems, the functional and performance testing of embedded applications has become a more important issue. Due to the embedded characteristics, some traditional software testing methods may not be suitable for embedded system testing, especially in the later integration testing. [0003] For the integration test, if the control can be realized based on the graphical interface on the computer, the test process is generally realized by the automation tool. This approach to testing relies heavily on automation tools and requires the application to provide interface elements that can be manipulated; for applications without an interface, this method cannot be used n...

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
Inventor 薛尧舜况成禹陈华刘永扬
Owner ZTE CORP
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