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: 2007-04-18
深圳市青铜器软件系统有限公司
View PDF0 Cites 25 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] FIG. 1 shows a schematic structural diagram of a call diversion module 10 residing in a system under test according to an embodiment of the present invention. This module is used to redirect the call of the function under test when it is called, so that the test-specific function can replace the original function to run. Call steering module 10 includes three submodules, i.e. steering configuration submodule 101, steering control submodule 102 and stub function calling submodule 103, these three jointly realize a kind of online patch technology, that is: in the case of non-stop, Modify the processing of some functions in the system, and replace the original functions with specific newly defined functions. This function replacement technique is only used for software debugging in the present inventio...

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 supplies program test system and method used to increase program testing efficiency. The method includes the following steps: positioning tested function of the tested program to finish once turning required configuration item; identifying main invoking function and invoked function; controlling the current invoking of the main invoking function to turn to testing special function; invoking corresponding testing special function to test according to the current invoking turning control of the turning control sub-module. The invention also support testing evaluating form based on function invoking, customizable standard. The invention is helpful to software developing especially for C language, can greatly increase line up working efficiency, testing operation usability, and test quality.

Description

technical field [0001] The invention relates to the field of software debugging and testing, in particular to a program testing system and method capable of realizing white-box testing by formally describing the debugging process. Background technique [0002] In IT product development, software debugging and testing take up a lot of working time. Improving the work efficiency of these two will directly speed up the progress of product development, and improving the work quality of these two will also directly improve product quality and reduce research and development risks. Formal description of software debugging and testing operations is a necessary condition for improving efficiency. However, the 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 testin...

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 深圳市青铜器软件系统有限公司
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