Asynchronous testing method based on dynamic pile pitching-pile eliminating technology

A technique of asynchronous testing and dynamic instrumentation, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as inability to perform comparison operations, low efficiency, and inability to guarantee operational safety, so as to avoid abnormalities and confusion Effect

Active Publication Date: 2022-03-11
叶嵩
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current simple stub technology cannot guarantee the security of the operation, nor can it perform complex comparison operations
Therefore, many tests can only print the results by inserting piles separately, and manually check the correctness of the results, and the efficiency is still very low.

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
  • Asynchronous testing method based on dynamic pile pitching-pile eliminating technology
  • Asynchronous testing method based on dynamic pile pitching-pile eliminating technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific implementation methods.

[0088] A kind of asynchronous test method based on dynamic pile insertion-pin pile technology of the present invention comprises the following steps:

[0089] Step 1: Call the stub processing routine through the test manager. During the program loading and running phase, modify the code at the specified address on the compiled binary machine code according to the configuration information of the stub point in the configuration file, and save the original code ;Change the content of the address to point to the stub code injected into the memory by the stub processing routine, and associate the stub code with the test program specified by the configuration information; the stub code runs in the process where the software under test resides.

[0090] Step 2: The software under test is executed at the address of the instrumenta...

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 discloses an asynchronous testing method based on a dynamic instrumentation-pin technology, which comprises the following steps of: adopting a dynamic test case and a dynamic test expectation technology, comparing a program operation result with an expectation to judge the consistency in an execution process, and dynamically generating a script to form a new test case; dynamically generating control characteristics and data characteristics of the tested program by using the generated use case, and generating input parameters and expected values in a targeted manner; the parameters and expectations are difficult to accurately estimate before a program, and follow-up testing is carried out through a dynamic test case. According to the method, the performance loss and the abnormal condition of the tested software are reduced, the test process delay is avoided, and the test flexibility is improved.

Description

technical field [0001] The invention belongs to the technical field of software testing, and in particular relates to an asynchronous testing method based on dynamic stake insertion-pin stake technology. Background technique [0002] In the existing testing technology, in order to obtain the intermediate state of the software, the instrumentation technology is usually used. That is to embed the test module inside the program execution code, or embed the program jump code so as to go to the specified test program. [0003] There are two types of stake insertion methods: [0004] a) Static instrumentation [0005] The stub code is inserted into the program using the compilation process. There are two implementation methods: inserting source code into source code and then compiling it into binary code, which is called source code instrumentation; embedding binary code by compiler during compilation, called binary instrumentation. [0006] b) Dynamic instrumentation [0007...

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
CPCG06F11/3636G06F11/3644G06F11/366
Inventor 叶嵩邹思颖
Owner 叶嵩
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