Program testing method and program testing device

A technology for program testing and script configuration, applied in software testing/debugging and other directions, it can solve the problems of low reusability of test scripts, waste of resources, and spending a lot of time learning, so as to reduce the technical requirements of test development and improve the degree of reusability. Effect

Inactive Publication Date: 2014-03-12
SHENZHEN SHI JI GUANG SU INFORMATION TECH
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. The technical requirements for writing test scripts are too high: whenever new test objects or test technologies and test scripts are involved, each relevant test developer needs to spend a lot of time on a new round of learning
[0007] 2. The reuse rate of test scripts is low: when the test platform is updated, the original test case scripts can only be discarded, and new types of test script files need to be rewritten
For example, the pyunit script of the Python platform was originally used to perform automated testing. When it is updated to Robot Framework, the original pyunit script can only be discarded, and the Robot test script is rewritten, which is a waste of resources.
[0008] 3. The maintainability of the test script is low: due to the large number of people participating in the test development, there is no unified coding style, it is difficult to read and maintain the test script

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to further explain the technical means and effects that the present invention adopts for realizing the intended invention purpose, the specific implementation, structure, and features of the program testing method and program testing device proposed according to the present invention will be described below in conjunction with the accompanying drawings and preferred embodiments. And its effect, detailed description is as follows.

[0018] The present invention mainly provides a program testing method and a program testing device, which can complete the testing and development work of various testing techniques and test scripts through simple parameter filling.

[0019] Example of program testing method

[0020] figure 1 It is a flowchart of a program testing method disclosed by the present invention. Such as figure 1 Shown, program testing method of the present invention comprises:

[0021] Step 101: load the script configuration file;

[0022] Step 102: A...

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 relates to a program testing method. The program testing method comprises the steps of loading a script configuration file; analyzing the script configuration file to obtain script configuration information; loading a use case configuration file according to the script configuration information; analyzing the use case configuration file to obtain use case configuration information; generating a use case file of a corresponding type according to the use case configuration information and a selected format; and setting up an execution environment for the use case file. According to the program testing method, the testing development work of various kinds of testing technology and testing scripts can be finished by simply writing parameters, the testing development technical requirement is lowered, and the reusable degree and the maintainability of the testing scripts in the testing development process are improved. In addition, the invention provides a program testing device.

Description

technical field [0001] The invention relates to the field of software testing and development, in particular to a program testing method and a program testing device. Background technique [0002] In the existing test development work, the test developers generally investigate the relevant automated testing technology according to the type of test object; after the automated testing technology is determined, each test developer needs to spend time learning and mastering the technology; finally, Design test cases and write test case scripts according to the requirements of test technology. [0003] In the current test development work, the writing of automated test cases is the most time-consuming and costly work. Moreover, the test development work requires a certain technical foundation, because the test development process in only one environment (such as Python environment) involves different test objects (such as web front-end pages, client applications, etc.), multiple...

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 SHENZHEN SHI JI GUANG SU INFORMATION TECH
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