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

Automatic test script automatic generation method based on feature table

A technology for automatically generating and testing scripts, which is applied in software testing/debugging, error detection/correction, and special data processing applications, etc. It can solve the problem of non-standard manual writing of test scripts, repetitive labor of manual writing of test scripts, and inability to be fast and accurate issues such as land transplantation, to achieve the effects of reducing development and maintenance time, improving test efficiency, and strong reusability

Pending Publication Date: 2022-01-14
BEIJING INST OF CONTROL ENG
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the face of relatively independent functions and highly repetitive test steps, such as component fault diagnosis, the method of manually writing test scripts also has defects:
[0004] (1) Manually written test scripts are not standardized and have poor versatility, and cannot be quickly and accurately transplanted to other models;
[0005] (2) There is duplication of labor in manually writing test scripts, and the workload is huge
[0006] At present, there is no relevant design to automatically generate test scripts from standardized input, which can greatly reduce the development and maintenance time of test scripts, improve efficiency, and have good versatility

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
  • Automatic test script automatic generation method based on feature table
  • Automatic test script automatic generation method based on feature table
  • Automatic test script automatic generation method based on feature table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further elaborated below in conjunction with embodiment.

[0024] The invention provides a method for automatically generating test scripts based on feature tables, which realizes the automatic generation of test cases with relatively independent requirements and high repeatability of test steps, greatly reduces the workload of writing test case scripts by hand, and improves test efficiency , has the advantages of strong reusability and simple operation.

[0025] Test script automatic generation method, such as figure 1 As shown, it specifically includes the following steps:

[0026] Step 1. Establish the dynamic test characteristic quantity T of the star sensor and gyroscope 1 , T 2 ,...,T n , n is the number of feature quantities, n is a positive integer greater than 1; any dynamic test feature quantity T i The types include gyro angular velocity increment setting and star sensitive quaternion setting.

[0027] For the gyro angular ...

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 test script automatic generation method based on a feature table, and belongs to the technical field of automatic testing. The method comprises the following steps: step 1, establishing dynamic test characteristic quantities T1, T2,..., Tn of a star sensor and a gyroscope, n being the number of the characteristic quantities and being a positive integer greater than 1; 2, determining each type in each dynamic test characteristic quantity Ti and actual test data corresponding to each set content according to requirements; establishing a feature table with dynamic test feature quantities T1, T2,..., Tn as headers; step 3, reading each test data in the feature table, and completing automatic generation of the test script. According to the method, automatic generation of the test case with relatively independent demand functions and high test step repeatability is realized, the workload of purely manually writing the test case script is greatly reduced, the test efficiency is improved, and the method has the advantages of high reusability and simplicity in operation.

Description

technical field [0001] The invention belongs to the technical field of automatic testing, and relates to a method for automatically generating test scripts based on feature tables. Background technique [0002] Testing is an important stage to ensure software quality and plays a key role in the quality of software products. In recent years, there are more and more spaceborne software development tasks, the development cycle of onboard software is getting shorter and shorter, and the time occupied by the testing process is also continuously compressed. In order to adapt to the ever-accelerating pace of spaceborne software development, the methods and techniques of software testing are also constantly improving. At first, manual testing was the most widely used traditional testing method, but for repetitive testing items, it will increase the workload of testers, which is time-consuming, laborious and inefficient. In order to solve this problem, automatic test system develop...

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/36G06F16/13
CPCG06F11/3684G06F16/134
Inventor 黎藜曹志威董晓刚冀红霞万丽景齐天翼吴宗哲柴志陈尧
Owner BEIJING INST OF CONTROL ENG