Program testing method and device and electronic equipment

A technology for program testing and operating programs, applied in software testing/debugging, file/folder operation, file system, etc.

Pending Publication Date: 2022-07-29
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a program testing method, device and electronic equipment to solve the problem of urgently needing to test programs for file operations

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
  • Program testing method and device and electronic equipment
  • Program testing method and device and electronic equipment
  • Program testing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than 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 efforts shall fall within the protection scope of the present invention.

[0048] At present, when performing file operations, such as file uploading, file backup, etc., corresponding programs are generally used for file operations, such as file uploading using a file uploading program, and file backup using a file backup program.

[0049] After the program performs file operations, file operation errors may occur. For example, when using the file upload program to upload files, some files are lost after upl...

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 program testing method and device and electronic equipment, and can be applied to the financial field or other fields. Obtaining a file operation parameter table, calculating a first file value corresponding to the target file, calling a preset file operation program to enable the preset file operation program to obtain the target file to be subjected to file operation based on the file attribute information of the operated file, and performing preset file operation on the target file according to the target address, obtaining a reference file and a file operation path obtained after the operation of the preset file operation program is completed, calculating a second file value of the reference file, comparing whether the first file value and the second file value are the same or not, if not, outputting first warning information, and if yes, comparing whether the file operation reference path and the file operation path are the same or not, outputting second warning information; and if not, second warning information is output. According to the method, the program is tested in the two aspects of the operation path and the file content, and the effect of testing the program is achieved.

Description

technical field [0001] The present invention relates to the field of program testing, and more particularly, to a program testing method, device and electronic equipment. Background technique [0002] At present, when performing file operations, such as file uploading, file backup, etc., corresponding programs are generally used for file operations, such as file uploading using a file uploading program, and file backup using a file backup program. [0003] After the program performs file operations, file operation errors may occur. For example, when using the file upload program to upload files, some files are lost after uploading. [0004] Therefore, in order to avoid file operation errors in using the program to perform file operation, it is necessary to test the program before using the program, so how to perform the test is a technical problem that those skilled in the art need to solve urgently. SUMMARY OF THE INVENTION [0005] In view of this, the present invention...

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/36G06F16/16
CPCG06F11/3688G06F16/16
Inventor 安嘉一
Owner BANK OF CHINA
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