Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for prompting bugs in software testing

A software testing and testing environment technology, applied in software testing/debugging, hardware monitoring, etc., can solve problems that cannot be given, cannot satisfy users or testers at the same time, and achieve the goal of improving user experience, testing and bug repair efficiency Effect

Inactive Publication Date: 2012-02-08
ADVANCED NEW TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by this application is to provide a Bug prompt method in software testing, to solve the problem that in the prior art, corresponding Bug prompts cannot be given according to the different objects of the software operation, resulting in the inability to satisfy users or testers at the same time. individual needs

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
  • A method and device for prompting bugs in software testing
  • A method and device for prompting bugs in software testing
  • A method and device for prompting bugs in software testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0144] Corresponding to the method provided in Embodiment 1 of a bug prompting method in a software test of the present application, see Figure 5 , the present application also provides Embodiment 1 of a Bug prompting device in software testing. In this embodiment, the device may include:

[0145] Preservation module 501, for when Bug occurs in the thread of current operation, the information of described Bug is preserved in the thread variable;

[0146] A judging module 502, configured to judge whether the current operating environment is a testing environment;

[0147] A display module 503, configured to display the specific content of the indication information when the result of the judgment module is yes;

[0148] The prompt module 504 is configured to directly prompt the user with an error message when the result of the judgment module is negative.

[0149] In this embodiment, the indication information may include the location information and error type of the Bug; t...

Embodiment 2

[0150] Corresponding to the method provided in Embodiment 2 of the bug prompt method in a software test of the present application, see Figure 6 , the present application also provides a preferred embodiment 2 of a Bug prompting device in software testing. In this embodiment, the device may specifically include:

[0151] Creating module 601, used to create a thread variable for storing the indication information of Bug;

[0152] Preservation module 602, for when Bug occurs in the thread of current operation, the information of described Bug is preserved in the thread variable;

[0153] Add submodule 603, for adding the judgment parameter of test environment in the Web.xml file of Web application, and described judgment parameter comprises parameter name and corresponding parameter value;

[0154] Judging submodule 604, configured to judge whether the value of the parameter name is consistent with the corresponding parameter value;

[0155] A display module 605, configured t...

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 present application provides a bug prompting method and device in software testing. The method includes: when a bug occurs in a currently running thread, saving the indication information of the bug in a thread variable; judging whether the current running environment is a test environment, If yes, analyze the indication information of the bug, and display the analysis result of the analysis process; if not, directly prompt the user with an error message. Different from the prior art, in the embodiment of the present application, it is possible to first determine whether the current operating environment is a test environment, that is, according to different objects of the software product, the prompting methods when a bug occurs can be divided into two types, which can be displayed. Bug analysis results, which is beneficial for developers to directly fix bugs according to the analysis results, and can also display friendly error prompts to users, which improves the user experience and satisfies the needs of ordinary users and professionals. different needs.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and device for prompting bugs in software testing. Background technique [0002] Software testing is an important part of the software development process. It is used to confirm whether the quality or performance of a program meets some requirements put forward before the development. It is the final analysis of software requirements, design specifications and coding before the software is put into operation. Review is a key step in software quality assurance. Software testing can detect various bugs in software products. Bugs are used to refer to potential anomalies or errors that will occur during runtime in a software program. [0003] In the process of existing software testing, when a bug occurs in the currently running program, no matter whether the current software is running in a test environment or a non-test environment, even if the software product is used for...

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 Patents(China)
IPC IPC(8): G06F11/36G06F11/32
Inventor 黄承志
Owner ADVANCED NEW TECH CO LTD