Interface testing method and device

An interface testing and testing device technology, applied in the testing field, can solve problems such as low testing efficiency and achieve the effect of improving testing efficiency

Inactive Publication Date: 2011-06-15
HUAWEI TECH CO LTD
View PDF5 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the prior art, users need to use the methods provided by the JUNIT framework to write test codes, and the test efficiency is low

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 testing method and device
  • Interface testing method and device
  • Interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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 creative efforts fall within the protection scope of the present invention.

[0042] refer to figure 1 , an embodiment of the present invention provides an interface testing device, including: an interface scanning unit 101, a data definition unit 102, a test case encapsulation unit 105, a use case execution unit 201 and a report generation unit 202,

[0043] An interface scanning unit 101, configured to scan the object un...

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 testing method and device. The interface testing device comprises an interface scanning unit, a data defining unit, a test case packaging unit, a case executing unit and a report generating unit, wherein the interface scanning unit is used for scanning an object to be tested according to an interface parameter appointed by a user; the data defining unit is used for analyzing a scanning unit of the interface scanning unit to the object to be tested, showing the structure of an interface parameter type and obtaining configuration information of the basic object type appointed by the user, wherein the interface parameter type comprises basic object types; the test case packaging unit is used for obtaining a case element selected by the user, obtaining test data corresponding to the basic object types by using the configuration information of the basic object types in the case element obtained by the data defining unit, and packaging a test case by using the case element and the test data corresponding to the basic object types; the cast executing unit is used for running the test case; and the report generating unit is used for generating a test case according to the run result of the test case. By using the technical scheme provided by the embodiment of the invention, the testing efficiency can be increased.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to an interface testing method and device. Background technique [0002] Integration testing is to assemble all modules into a system according to the design requirements on the basis of unit testing, and to test the assembled system. Practice has shown that although some modules can work independently, it does not guarantee that they can work normally when connected, so integration testing is very necessary. [0003] In software unit testing and integration testing, it is usually necessary to test the software interface, because only by ensuring the stability of the software interface can the stability of the system be guaranteed, so interface testing is called an important part of software testing. [0004] At present, there are some test frameworks in the industry, such as JUNIT, which provide common methods in the process of writing interface tests, such as result comparison, u...

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 HUAWEI 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