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

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 test coverage, it solves the problem of a large number of traditional interface test cases and a large occupation cost. The specific technical solutions are as follows:

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

Embodiment Construction

[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not 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.

[0068] See figure 1 and figure 2 , figure 1 shows a flow chart of a method for generating an interface test case provided by an embodiment of the present application, figure 2 A schematic diagram of the interface test case generation process is shown.

[0069] This method is used to generate test cases that can test the interface functi...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products