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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 