Interface test case generation method and device

A use case and interface technology, which is applied in the field of interface test case generation methods and devices, can solve the problems of high occupation cost and large number of interface test cases, etc.

Pending Publication Date: 2020-07-24
BEIJING INST OF INFORMATION TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the object of the present invention is to provide a method and device for generating interface test cases. On the premise of ensuring effective

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
  • Interface test case generation method and device
  • Interface test case generation method and device
  • Interface test case generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0067] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0068] See figure 1 with figure 2 , figure 1 Shows a flowchart of a method for generating interface test cases provided by an embodiment of the present application, figure 2 Shows a schematic diagram of the interface test case generation process.

[0069] This method is used to generate test cases that can test interface functions, su...

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 provides an interface test case generation method and device, and the method employs different combination strategies for different parameter input domains, employs an orthogonal array method for the normal test data to generate a pairwise-covered normal test case set, and achieves the verification of the normality of a to-be-tested interface to the maximum degree through employing fewer resources. A single-coverage abnormal test case set is generated by adopting a basic selection method for abnormal test data, so that an abnormal source can be determined, and sharp increase of the number of test cases can be avoided. According to the scheme, good test coverage is obtained, the test overhead is greatly reduced, and the interface test efficiency is effectively improved.

Description

technical field [0001] The invention belongs to the technical field of software testing, in particular to a method and device for generating interface test cases. Background technique [0002] Interface testing is to test the interface requirements in the software requirements specification one by one, and it can find the problems of functionality, fault tolerance and interoperability in the software. It is a basic test type often used in software testing. . Interface testing generally requires testing of normal, abnormal, and boundary values ​​in accordance with the interface protocol. [0003] The interface protocol generally describes the composition of the data frame, such as frame header, length, 1...N valid data, checksum and other fields, and will specify the data type, value range and constraint relationship between fields for each field to define. In the process of interface testing, testers need to take multiple values ​​such as normal, abnormal, and boundary fo...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3676Y02D10/00
Inventor 孙佩刚高传平刘海涛刘红雨周旋
Owner BEIJING INST OF INFORMATION TECH
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