Automatic test method and device

A technology for automatic testing and testing, which is applied in software testing/debugging, error detection/correction, instruments, etc. It can solve the problems that affect the efficiency of software testing and spend a lot of time, and achieve the effect of improving efficiency and high efficiency

Active Publication Date: 2018-08-21
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the prior art that developers need to spend a lot of time designing test cases and affect the efficiency of software testing, the embodiment of the present invention provides an automatic testing method and device

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
  • Automatic test method and device
  • Automatic test method and device
  • Automatic test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0031] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0032] For the convenience of understanding, the nouns involved in the embodiments of the present invention are explained below:

[0033] Input object description information: used to describe the respective input specifications of each input object in the function point to be tested, wherein the input specification indicates the respective legal ...

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 an automatic test method and device, and belongs to the field of software test. The method comprises the following steps of: obtaining input object description information of ato-be-tested function point and at least one preset verification rule, wherein the input object description information is used for indicating a legal input condition corresponding to each input object, and the preset verification rule is used for verifying practical execution results of test cases; constructing at least one test case according to the input object description information, whereineach test case comprises each input object; obtaining a practical execution result obtained after the to-be-tested function point executes each test case; and verifying the practical execution resultaccording to a preset verification rule so as to obtain a test result corresponding to each test case. According to the method, the test cases are automatically generated according to the input object description information of the to-be-tested function point; and compared with the method of manually designing test cases by developers, the method is higher in efficiency and more comprehensive, sothat the software test efficiency is improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of software testing, in particular to an automatic testing method and device. Background technique [0002] Software testing is an important link in the software development process. Developers test the software by designing test cases, so as to find defects in the software and repair the defects. [0003] In the process of software testing, developers need to manually design test cases, and determine the expected execution results of the test cases according to the business logic of the software; when the software executes the test cases and outputs the actual execution results, the developers compare the actual execution results of the output with the expected results. Whether the execution results are consistent, and if the two are inconsistent, it is determined that the test case has failed the test, so as to find the defects in the software. [0004] However, for the testing of large-sc...

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/3684G06F11/3688
Inventor 徐天华郑礼雄王德宝钱春海
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products