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

Program testing system and method

A program and debugging technology, which is applied in the field of software debugging and testing, can solve the problems that it is difficult to convert into effective test cases, the debugging operation is random, and the use cases are difficult to maintain, so as to improve the efficiency of development and debugging, man-machine The interactive mode is humanized and solves the effect of poor maintainability

Active Publication Date: 2009-09-16
深圳市青铜器软件系统有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After the system under test is running, use cases cannot be written and run online, nor can its running results be viewed online to improve test design, which ultimately makes it difficult to convert debugging records into practical test cases
[0008] 2. The debugging operation is very random, and it is difficult to convert it into an effective test case
[0009] Even if there was a technique to record all debug operations as scripts, recording all debug records would be too cumbersome and difficult to maintain use cases
If only local operations are taken, it is easy to lose the correlation before and after the operation
At the same time, debugging is aimed at the code line, because the source code is volatile, which also makes it difficult to maintain the use case
[0010] Moreover, the debugging operation is very casual. If the direct conversion also makes the test script very casual, it will make it difficult to evaluate the work effect.

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
  • Program testing system and method
  • Program testing system and method
  • Program testing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The implementation of the program testing system and method of the present invention will be described in detail below with reference to the accompanying drawings.

[0039] figure 1 A schematic structural diagram of the call redirection module 10 residing in the system under test according to an embodiment of the present invention is shown. This module is used to redirect the function under test when it is called, so that the test-specific function can replace the original function to run. The steering calling module 10 includes three sub-modules, namely the steering configuration sub-module 101, the steering control sub-module 102, and the stub function calling sub-module 103. These three jointly implement an online patching technology, that is: without stopping the machine, Modify the processing of certain functions in the system, and replace the original functions with specific newly defined functions. This function replacement technique is only used for software debug...

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 program testing system and method for improving program testing efficiency. The method includes: configuring the configuration items required for the function under test of the program under test to complete a diversion; identifying the calling function and the called function, controlling the current call of the calling function to turn to a test-specific function; and controlling the submodule according to the turning The current call turns to control and calls the corresponding test-specific function for testing. The present invention also supports a test evaluation method based on function calls and customizable standards. The invention is helpful for software research and development, especially for C language project research and development, greatly improving the commissioning work efficiency, improving the usability of test operation, and contributing to the improvement of test quality.

Description

Technical field [0001] The present invention relates to the field of software debugging and testing, in particular to a program testing system and method capable of implementing white box testing by describing the debugging process in a form. Background technique [0002] In IT product R&D, software debugging and testing take up a lot of working time. Improving the work efficiency of both will directly speed up the progress of product development. Improving the quality of both will also directly improve product quality and reduce R&D risks. A formal description of software debugging and testing operations is a necessary condition for improving efficiency. However, current mainstream white box testing tools generally only implement formal descriptions of test operations, and rarely describe debugging operations as scripts and automatically convert them into test cases for repeated execution. [0003] At present, the main white-box testing tools in this field, such as CodeTest for ...

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): G06F11/36
Inventor 曹修洪
Owner 深圳市青铜器软件系统有限公司
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