Supercharge Your Innovation With Domain-Expert AI Agents!

Test method and device

A test method and test instance technology, applied in the computer field, can solve problems such as time-consuming maintenance and frequent changes in interface interdependencies, and achieve the effect of improving test efficiency, shielding inter-service dependencies and method parameter differences

Pending Publication Date: 2021-09-07
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After the test is completed, the metadata configuration used for this test is discarded, and the interfaces between multiple systems and multiple applications have frequent changes in interdependence, resulting in the need to reconfirm the usability and accuracy during iterative updates, which takes a lot of time maintenance time

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0049] figure 1 It is a schematic diagram of the main flow of the testing method of the embodiment of the present invention. This test method can be used in unit tests. Unit testing (unit testingb) refers to the inspection and verification of the smallest testable unit in the software. For the meaning of the unit in the unit test, generally speaking, the specific meanin...

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 test method and device, and relates to the technical field of computers. The method comprises the following steps: obtaining a configuration descriptor depended by a remote service based on a ByteBuddy toolkit; sending the configuration descriptor to a metadata configuration center so as to create a remote service client in the metadata configuration center; receiving registration success information, and generating proxy service of the remote service; and intercepting a test method for calling a remote service, obtaining incoming parameter data of the test method, sending the incoming parameter data to a client of the remote service through an agency service of the remote service, and generalizing and calling the remote service through the client of the remote service to test the remote service. According to the implementation mode, method dependence can be intercepted and injected under the condition that a user does not perceive, Hook logic code instrumentation is provided in a non-intrusive mode, configuration information is written into the metadata configuration center in advance, automatic registration and reuse of configuration are achieved, and the testing efficiency of research and development personnel is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a testing method and device. Background technique [0002] During the R&D process of a large-scale project, if the R&D personnel need to debug the business process unit, they need to deploy the project to the test server, initialize the unit test environment locally, and call the service interface verification logic of the test server. This kind of unit test deployment process is relatively complicated, and there are many service dependencies that cannot be quickly injected. At the same time, large-scale projects are slow to start. In order to run a unit test, it is often necessary to write complex service injection configurations, and the instantiation process of these complex service injection configurations will increase. Project startup time affects unit testing efficiency and project delivery speed. [0003] In addition, during the test process, for scenarios that require...

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/36H04L29/08
CPCG06F11/3664G06F11/3684G06F11/3688H04L67/10
Inventor 程啸
Owner BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More