Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Semantic identification and automatic generation method for spacecraft test script

A test script and automatic generation technology, applied in software testing/debugging and other directions, can solve the problems of complex test script syntax, large number of spacecraft test cases, and heavy workload, so as to achieve the effect of convenient establishment and maintenance of test scripts

Active Publication Date: 2012-07-04
BEIJING INST OF SPACECRAFT SYST ENG
View PDF4 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the field of satellite testing, there are already conditions to use scripts for a certain degree of automated testing, but the syntax of test scripts is usually complicated, and it is not convenient for testers who are not familiar with script syntax to directly write scripts
And the number of spacecraft test cases is large, and the workload of directly writing and maintaining test case scripts is very large

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
  • Semantic identification and automatic generation method for spacecraft test script
  • Semantic identification and automatic generation method for spacecraft test script
  • Semantic identification and automatic generation method for spacecraft test script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The spacecraft test script semantic recognition and automatic generation method of the present invention first establishes a tabular module describing the spacecraft test case. The basic structure of the table is as follows, and new columns can be expanded on the basic structure by test case writers.

[0013] Table 1 Basic structure of test case tabular template

[0014]

[0015] Testers directly fill in the step data of each test step in the tabular template according to the test case (such as remote control instruction number, telemetry parameter discrimination condition, test process control type and jump target step number, etc.), without specifying the operation in the template Actions do not depend on the keywords and grammatical format of the scripting language; after filling in the step data in the tabular template, the test case form example formed is as follows.

[0016] Table 2 Test case table example

[0017]

[0018] Secondly, establish a binding rel...

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 semantic identification and automatic generation method for a spacecraft test script, which is applied to the field of automatic test of a spacecraft. The method comprises the following steps: step1: establishing a table module for describing a spacecraft test case, and setting a step data column for each step in the test case; step2: establishing a binding relationship configuring module for describing a test script syntax and the test case table module, describing the binding relationship of corresponding columns in test script syntax elements and the test case table module by using an XML (extensible markup language); and step3: establishing a test script automatic generating engine module based on the test case table module and the binding relationship configuring module, parsing a test case table through the engine, and reading a script syntax binding configuring file of the test case table. According to the invention, a tester can fill in parameters of a test step directly, without the need of mastering the syntax of an underlying script language; all test cases are maintained in a table form; the test business is clear in logic; and the maintenance workload is reduced.

Description

technical field [0001] The invention relates to a method for automatically generating test scripts, which is applied to the field of spacecraft automatic testing. Background technique [0002] In the field of satellite testing, there are already conditions for using scripts to conduct a certain degree of automated testing, but the syntax of test scripts is usually relatively complicated, and it is not convenient for testers who are not familiar with scripting syntax to write scripts directly. Moreover, the number of spacecraft test cases is large, and the workload of directly writing and maintaining test case scripts is very large. Contents of the invention [0003] The invention provides a method for semantic recognition and automatic generation of spacecraft test scripts. Testers can directly fill in the parameters of the test steps without mastering the grammar of the underlying script language. All test cases are maintained in the form of tables, and the test business ...

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/36
Inventor 吕伟闫金栋张海祥
Owner BEIJING INST OF SPACECRAFT SYST ENG
Features
  • Generate Ideas
  • 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