Unlock instant, AI-driven research and patent intelligence for your innovation.

Mock point automatic identification method, device and apparatus

A technology for automatic identification and configuration files, which is applied in the direction of instruments, electrical digital data processing, calculation, etc., can solve the problems of uncertainty, test environment state dependence, etc., and achieve the effect of improving accuracy

Pending Publication Date: 2021-11-16
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, a problem often faced by regression testing is the uncertainty of state dependence in the test environment.

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
  • Mock point automatic identification method, device and apparatus
  • Mock point automatic identification method, device and apparatus
  • Mock point automatic identification method, device and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The embodiments of this specification provide a mock point automatic identification method, device, equipment and storage medium.

[0035] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments of this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0036] figure 1 A schematic flowchart of a mock point automatic identification method provided for one or more embodiments of this specification. This method can be applied to different business fields, for examp...

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 embodiment of the invention discloses a mock point automatic identification method, device and apparatus. According to the scheme, the method comprises the steps of obtaining factor data corresponding to a preset dependency type, wherein the dependency type comprises at least one of system state dependency, internal state dependency and external state dependency; according to the factor data, performing static analysis on the to-be-tested code to determine whether a function of which the output dependency belongs to a dependency type exists in the to-be-tested code; if yes, extracting the function to serve as a mock point, so that the mock point is used for assisting in testing the to-be-tested code after being subjected to mock processing.

Description

technical field [0001] This specification relates to the technical field of software testing, in particular to a mock point automatic identification method, device and equipment. Background technique [0002] With the development of computer and Internet technology, more and more software has been developed, which promotes the convenience of people's life. As an integral part of the software development cycle, regression testing is an important means to ensure software quality. However, a problem often faced by regression testing is the uncertainty of state dependence in the test environment. The uncertainty of state dependence means that the operating result of the system depends on some operating states of the system, and these operating states are different every time it runs. [0003] At present, the more common method is to manually find state-dependent functions in the application under test, and then use the mock test method to use the relevant functions as mock poi...

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
CPCG06F11/3688G06F11/3692
Inventor 刘洁瑞刘江潮狄鹏刘向阳
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD