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

Method and device for testing software system, and computer system

A software system and technology for testing software, applied in the computer field, can solve problems such as failure of task execution, high cost, and difficulty in determining the cause of errors

Inactive Publication Date: 2012-06-13
HUAWEI TECH CO LTD
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For this case, in the subsequent running process, when the execution path of the code refers to these incorrect internal state values, it will cause the task to fail to execute, which may eventually cause the software system to run incorrectly.
But at this time, it has been a long time since the internal state value has an error, so it is difficult to determine the cause of the error
[0005] Therefore, the traditional black-box integration or system testing methods are not easy to find the internal state problems of the software system; or it takes a long time to test and pay a high cost to find these internal state problems, and such problems are easy Comes into the market with the official version of the software product, making it more difficult to determine the cause of the error

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 device for testing software system, and computer system
  • Method and device for testing software system, and computer system
  • Method and device for testing software system, and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0022] figure 1 A schematic flowchart of a method 100 for testing a software system according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method 100 includes:

[0023] S110. Establish a debugging channel with the software system based on the debugging mechanism of the programming language adopted by the software system;

[0024] S120, acquiring a debugging instruction input and a corresponding debugging instruction...

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 a method and a device for testing a software system, and a computer system. The method comprises the following steps of: establishing a debugging channel with the software system based on a programming language adopted by the software system by using a debugging mechanism; acquiring debugging instruction input for testing a flow branch and a state in the software system and corresponding debugging instruction output; transmitting the debugging instruction input to the software system, and receiving an internal state information returned by the software system according to the debugging instruction input; and comparing the internal state information with the debugging instruction output to determine whether the software system is accurately operated or not. The device comprises an establishment module, an acquisition module, a transmission module, a receiving module and a determination module. According to the method, the device and the computer system in the embodiment of the invention, the internal state of the software system can be automatically tested in an operation process, and a white-box test in the software system can be realized with extremely low cost.

Description

technical field [0001] The invention relates to the computer field, in particular to a method and device for testing software systems in the computer field. Background technique [0002] When the software system under development can be integrated and run, daily automated integration or system testing is an important means to ensure that the subsequent development will not cause the previous development logic to be changed by mistake. Automated integration or system testing can be divided into black-box testing and white-box testing. At present, most of the automated integration or system testing technologies in the industry are black-box testing. [0003] The existing black-box automated integration or system testing principle is usually to provide test input for the software system under test, and to detect whether the test output returned by the software system according to the test input is within the expected range. The test output is, for example, The return value or ...

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