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
CN102495802AInactive Publication Date: 2012-06-13HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
HUAWEI TECH CO LTD
Publication Date
2012-06-13
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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