Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating interface robustness test case

A technology for test case generation and robustness testing, which is applied in the field of interface robustness test case generation, and can solve problems such as the inability to guarantee the validity of interface tests and problems

Active Publication Date: 2015-03-11
联动优势电子商务有限公司
View PDF3 Cites 12 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 case
  • Method and device for generating interface robustness test case

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 a device for generating an interface robustness test case. The method comprises the following steps: acquiring definition information of an input interface to determine a used robustness test case generation template; then determining fields required to be input during robustness testing of the input interface and one or more of a required attribute, a data type, length and value range input aiming at the fields required to be input according to the definition information of the input interface and the determined robustness test case generation template; later generating a robustness test case set for the input interface according to the determined fields required to be input and one or more of the required attribute, the data type, the length and the value range input aiming at the data input by the fields required to be input. Through the embodiment of the invention, the problem that the existing technology requires to depend on a source code of development and the consistency of the source code and the definition in an interface document cannot be verified so as not to guarantee the effectiveness of testing is solved.

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 赵军阳淦婷邹国平
Owner 联动优势电子商务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products