Method and device for generating interface robustness test cases

A robustness test and use case technology, applied in the field of interface robustness test case generation, can solve problems, cannot guarantee the effectiveness of interface tests, etc.

Active Publication Date: 2018-08-07
联动优势电子商务有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method relies on the completion of the development code. It is necessary to ensure that the way the code is written meets the requirements, and the premise is that the implementation of the code is assumed to be correct. Otherwise, the automatically generated test cases themselves are problematic, and the effectiveness of the interface test cannot be guaranteed.

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
  • Method and device for generating interface robustness test cases
  • Method and device for generating interface robustness test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . 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.

[0062] Such as figure 1 As shown, the embodiment of the present invention provides a schematic flowchart of a method for generating an interface robustness test case. The process can be executed by a device for generating an interface robustness test case, and the device can be implemented by software. The method steps include:

[0063] Step S101, acquiring definition information of an input interface.

[0064] Specifically, various inte...

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 a method and device for generating an interface robustness test case. The method comprises: obtaining the definition information of the input interface to determine the used robustness test case generation template, and then according to the definition information of the input interface and the determined robustness A test case generation template to determine the fields that need to be input when performing a robustness test on the input interface and one or more of the required attributes, data types, lengths, and value ranges of the data input for the fields that need to be input , and then generate a robustness test for the input interface according to one or more of the determined fields that need to be input and the required attributes, data types, lengths, and value ranges of the data input for the fields that need to be input Set of use cases. The embodiment of the present invention can solve the problems in the prior art that need to rely on the source code developed, and cannot verify whether the source code is consistent with the definition in the interface document, and cannot guarantee the validity of the test.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for generating interface robustness test cases. Background technique [0002] Software testing is the final review of software requirements analysis, design specifications and coding. It is a key step in software quality assurance to check whether the system meets the specified requirements by using manual or automated means. [0003] The robustness test of the interface is to ignore the business difference and check the robustness of the interface, so as to ensure the correct handling of various invalid or abnormal inputs and improve the security and reliability of the system. [0004] The robustness of existing interfaces generally relies on the experience of testers to conduct robustness tests. Testers use the interface design documents to convert the manually written test case documents into test codes and directly call the tested interface. Manua...

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 联动优势电子商务有限公司
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