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

A software testing method and system

A software testing method and software testing technology, applied in the field of communication, can solve problems such as inability to verify defect resolution, inability to test out defects, etc., and achieve the effect of improving the ability to find problems

Active Publication Date: 2016-05-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The monkey test currently applied is basically based on randomness test, and more complex tests are generally used, because complex tests will find more loopholes than simple tests
[0004] During the research and practice of the prior art, the inventor of the present invention found that, in the existing monkey testing method, when a defect is found in the tested software, the defect cannot be tested in the same way again
In addition, when it is found that the defect has been resolved, it is impossible to verify whether the defect is actually resolved

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 software testing method and system
  • A software testing method and system
  • A software testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment will be described from the perspective of a software testing system.

[0027] A software testing method, comprising: obtaining all controls in a test object, obtaining test cases from a basic test case library and / or an advanced test case library, using the test cases to test these controls, and recording the test process; if found If there is a defect in the test object, record the number of times the defect is found; move the test case into the corresponding advanced test case library according to the number of times the defect is found, wherein the order of the advanced test case library is proportional to the execution probability of the test case .

[0028] Such as figure 1 As shown, the specific process can be as follows:

[0029] 101. Obtain all controls in the test object;

[0030] Wherein, the test object may specifically be various software, such as client software, etc.; the controls may include button controls, static link controls, checkb...

Embodiment 2

[0052] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0053] In this embodiment, it will be explained by taking the order of the advanced test case library as "3" as an example, that is, the advanced test case library includes the advanced 1 test case library, the advanced 2 test case library and the advanced 3 test case library. Test case library. It should be understood that the order of the advanced test case library can also be other values, such as 4, 5, 6, ... or N, etc., where N can be customized by the test strategy, if the order For other numerical values, its implementation is also similar to this, and will not be repeated here.

[0054] Such as figure 2 As shown, a software testing method, the specific process can be as follows:

[0055] 201. The software testing system obtains all controls in the test object;

[0056] Wherein, the test object may specifically be various software, such as cl...

Embodiment 3

[0072] In order to better implement the above method, the embodiment of the present invention also provides a software testing system, such as image 3 As shown, the software testing system includes a control acquisition unit 301, a test case acquisition unit 302, a test unit 303, a recording unit 304 and a processing unit 305;

[0073] A control obtaining unit 301, configured to obtain all controls in the test object;

[0074] Wherein, the test object may specifically be various software, such as client software, etc.; the controls may include button controls, static link controls, checkbox controls, and / or list controls, etc., which will not be listed here.

[0075] A test case obtaining unit 302, configured to obtain test cases from the basic test case library and / or the advanced test case library;

[0076] Among them, the test cases in the basic test case library and the advanced test case library are test cases that were automatically saved during software testing before...

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 embodiment of the invention discloses a software testing method and system. When the technical scheme provided by the invention is adopted to test the controls of a test object, the test process is recorded; when the fact that the test object is defective is discovered, the number of defect discovery times is recorded; the test case is moved into the corresponding advanced test case library according to the number of defect discovery times, wherein the order of the advanced test case library is directly proportional to the execution probability of the test case, so that the value of the test case can be reflected to a certain extent and a user can select a high-valve test case for testing to improve the ability of finding problems during the testing. Moreover, as the test process is recorded, an ability of regression verification on software defects is provided.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a software testing method and system. Background technique [0002] With the rapid development of Internet technology, there are more and more applications of various software. Every software has more or less loopholes (bugs). In order to further improve and optimize these software and improve the stability of software applications, these loopholes need to be found and resolved. [0003] Software testing is just a solution proposed for this problem. It can use testing tools to test the function and performance of software according to the test plan, and analyze and evaluate the problems that may arise in the test plan. Existing software testing methods include many forms, and monkey testing (MonkeyTest), that is, funny testing, is one of them. In the monkey test, the tester can perform various weird operation modes to test the stability of the software. The monkey testi...

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/36
Inventor 徐志广李叶
Owner TENCENT TECH (SHENZHEN) CO LTD