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

Testing method and testing device

A testing method and a technology to be tested, which are applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as high software maintenance costs, and achieve the effects of increasing costs, saving human resources, and reducing costs

Inactive Publication Date: 2017-06-27
BEIJING QUNAR SOFTWARE TECH
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a testing method and a testing device to at least solve the technical problem in the prior art that the software maintenance cost is high due to the need to write test cases for testing codes

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
  • Testing method and testing device
  • Testing method and testing device
  • Testing method and testing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] According to an embodiment of the present invention, an embodiment of a testing method is provided.

[0024] figure 1 is a flow chart of a test method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0025] Step S102, acquiring at least one request message, where the request message is used to test the program.

[0026] In the solution defined in the above step S102, the above-mentioned program includes the program to be tested and the program of the stable version that has been tested corresponding to the program to be tested, and the above-mentioned request message can be obtained through a protocol request, for example, it can be obtained through an HTTP protocol request Construct a request message. Specifically, the task scheduling platform that executes the task of testing software can obtain requests from daily system logs, and obtain request messages according to the obtained requests. ...

Embodiment 2

[0071] According to an embodiment of the present invention, an embodiment of a test device is provided, wherein the method in Embodiment 1 above can be run in the device provided in this embodiment.

[0072] Figure 9 is a test device according to an embodiment of the present invention, such as Figure 9 As shown, the device includes: an acquisition module 901 , a sending module 903 and a comparison module 905 .

[0073] The acquiring module 901 is configured to acquire at least one request message, where the request message is used to test the program.

[0074] In the acquisition module 901, the program includes a program to be tested and a program of a stable version that has been tested corresponding to the program to be tested, and the request message can be obtained through a protocol request, for example, a request can be constructed through an HTTP protocol request information. Specifically, the task scheduling platform that executes the task of testing software can ...

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 testing method and a testing device. The method comprises the following steps that: obtaining at least one request message, wherein the request message is used for testing a program; sending the at least one request message to a version to be tested of the program to obtain a first testing result, and sending the at least one request message to the stable version of the program to obtain a second testing result, wherein the program of the stable version is a program which can feed back a correct result to the request message; and comparing the first testing result with the second testing result to obtain a comparison result, wherein the comparison result is used for determining the functional stability of the version to be tested. By use of the method, the technical problem that software maintenance cost is greatly increased since a testing case needs to be compiled when codes are tested in the prior art is solved.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a testing method and a testing device. Background technique [0002] In the process of software testing, the modification of software code often affects the whole body. Especially in the process of rapid iteration, it is not only necessary to test the correctness of new functions, but also to ensure that the original functions are not affected. But at present, when testing software, it is necessary to write test cases and pre-set the returned results. This existing method needs to write a large number of test cases, which consumes a lot of human resources, and if the preset result changes, the previous test cases need to be modified in time, thus increasing the cost of maintaining the software. [0003] Aiming at the problem in the above prior art that test cases need to be written when testing codes, thereby increasing the cost of maintaining software, no effective solution has ...

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/3676G06F11/3684G06F11/3688
Inventor 周亮王瑶瑶胡乐范留杰于青竹张晶晶
Owner BEIJING QUNAR SOFTWARE TECH
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