Automated test method

An automated test and a technology to be tested, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as heavy test cases

Active Publication Date: 2018-09-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of automated testing, the most important part is the automatic generation of test cases, and the increase in software scale makes the manual design of test cases extremely heavy and the number is too small, which makes it impossible to test as many logical branches of the program as possible.

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
  • Automated test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0067] Please refer to figure 1 , figure 1 It is a flowchart of an automated testing method provided by an embodiment of the present invention.

[0068] A kind of automated test method that the embodiment of the present invention provides, is used for the test of the software based on C / C++ language, comprises:

[0069] S11: Obtain the logic call hierarchy diagram and parameter constraint information of the function interface of the source program of the sof...

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 automated test method. The method is used for a test of software based on a C/C++ language, and includes: obtaining a logic call hierarchy relationship graph and parameter constraint information of function interfaces of a source program of the to-be-tested software; obtaining configuration information of the parameter constraint information; generating a test case tableaccording to the logic call hierarchy relationship graph, the parameter constraint information and the configuration information; and carrying out the software test according to the test case table to obtain a corresponding test report and a logic branch coverage file of test data. Test cases are automatically generated through obtaining the logic call hierarchy relationship graph and the parameter constraint information of the function interfaces of the source program of the to-be-tested software and the configuration information input by a user, the software test is carried out through thetest cases to obtain the test report for user analysis, an effect of automatically generating the test cases according to demand of the user is realized, overheads of designing the test cases are reduced, test efficiency is improved, development costs are saved, a development cycle is shortened, and software quality is guaranteed.

Description

technical field [0001] The present invention relates to the technical field of automated testing, and more specifically relates to an automated testing method. Background technique [0002] As an indispensable and important link in software engineering, software testing plays an increasingly important role in ensuring the correctness, integrity, security and software quality of software. Software testing is not only to find errors in software products, but also to prevent accidents during actual operation, and it is also a frequent, trivial and labor-intensive task. [0003] For a long time, the test cases of software testing are generally designed manually by testers, and then input the program to run and compare whether the execution results are consistent with the expected results, so the designed test cases are highly targeted. With the increasing complexity of software, formalized and systematic software testing methods make the limitations of traditional manual testin...

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 ZHENGZHOU YUNHAI INFORMATION TECH 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