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

Method and system for testing drive software

A technology that drives software and testing methods, applied in the direction of software testing/debugging, etc., can solve problems such as failure to consider test work reuse, insufficient automated testing support, missing test points, etc., to achieve test design reuse, automated testing, The effect of improving test efficiency

Inactive Publication Date: 2006-10-04
HUAWEI TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] At present, when testers conduct test design and implementation, they basically discuss the matter as it stands without considering the reuse of test work. The completed deliverables, including test projects, test cases, test scripts, and test codes, can only be used in a certain driver of the product. It is basically not reusable on the driver modules of other products that perform the same functions; resulting in most of the achievements not being inherited by related products and related modules; or even if they can be partially reused, more work needs to be invested for adaptability Revise
[0008] Since the problem of test design reuse is rarely considered, testers only test a certain module of a certain product, and do not have experience in reusing related products and related modules
Moreover, limited by the tester's test level and test technology accumulation, the completeness of the test design is poor and the consideration is not comprehensive, and test points are often missed
[0009] In addition, when testers design and implement tests, they are very random and the process is difficult to constrain
[0010] To sum up, the existing testing work has the defects of low reusability of driving software test design, poor test completeness, incompleteness, and poor process standardization.
[0011] In the prior art, for the test of the driver software, it basically adopts the mode of test command to complete, and the TCL (Tool Command Language, Terminal Control Language) interpreter is not embedded in the application program. The shortcoming of this mode is that the test The process is solidified in the execution of the command, it is not easy to expand, and the degree of support for automated testing is not enough

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 system for testing drive software
  • Method and system for testing drive software
  • Method and system for testing drive software

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 210

[0039] see figure 2 , the part or level of the test piece included in the test system of the present invention is: test case 210, used for the description of the test process, including preset conditions, test steps and expected results, cannot be executed; test script 220, described with script language The test case 210 completes the interpretation and execution of the entire test process, and interfaces the extended command script with the extended function; the test code-extended function 230 completes the execution of the extended command script, is called by the script, and calls the interface encapsulation function 240; the test code-interface encapsulation The function 240 encapsulates the driver software interface into a standard interface, and calls the tested driver software interface function.

[0040] Among them, the test case 210 , the test script 220 and the test code-extension function 230 belong to the standardization layer 201 , and the test code-interface e...

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 disclosed testing method for drive software comprises: generating the test case on background to describe the testing process; generating test script on background to describe the case including the extended command script to send to the single board; using the latter to analyze the script to obtain and execute corresponding extended function. Wherein, the said extended function includes an interface packaging function.

Description

technical field [0001] The invention relates to a testing technology of driving software, in particular to a testing method and a testing system of driving software. Background technique [0002] As we all know, the driver software provides the driving function of the physical device, and shields the implementation details of the device driver from the upper layer. At present, the upward operation interface of the driver software has not yet formed a unified interface among various products. For example, MD 5500 products and ESR products use similar FLASH chips and basically use the same functions, but the interfaces of the driver software are very different, and the number of parameters and parameter positions of the interfaces are different. [0003] When implementing the test design of the driver software, because the functions completed by the object to be tested are basically fixed (such as sending data, receiving data, configuration, verification, loopback, etc.), it ...

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 HUAWEI 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