JPH02136933A - Test data editing system - Google Patents

Test data editing system

Info

Publication number
JPH02136933A
JPH02136933A JP63290797A JP29079788A JPH02136933A JP H02136933 A JPH02136933 A JP H02136933A JP 63290797 A JP63290797 A JP 63290797A JP 29079788 A JP29079788 A JP 29079788A JP H02136933 A JPH02136933 A JP H02136933A
Authority
JP
Japan
Prior art keywords
data
file
section
definition
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63290797A
Other languages
Japanese (ja)
Other versions
JP2692196B2 (en
Inventor
Akiyo Tezaki
明世 手崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=17760620&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH02136933(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63290797A priority Critical patent/JP2692196B2/en
Publication of JPH02136933A publication Critical patent/JPH02136933A/en
Application granted granted Critical
Publication of JP2692196B2 publication Critical patent/JP2692196B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To omit the production of a format conversion program of a record despite the change caused to the format of the record by registering previously the file information on the test data into an external control data base. CONSTITUTION:A file defining part 102 designates the formation of a test data file and the capacity of the file and registers them into an external control data base 117. A file production part 106 allocates a test data register file 115 which registers the test data based on the file defining information registered in the base 117. The execution of this allocation is registered in the base 117. Thus it is possible to easily cope with the change of the format of such data that is hard to undergo the priority check for the data form and its relative items, etc.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はテストデータ編集方式に関し、特にテストデー
タの作成および修正を外付はファイルである管理用デー
タベースの管理の基に編集ルールに従い、ファイルの編
成に関係なくテストデータの編集を行うテストデータ編
集方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a test data editing method, and in particular, the creation and modification of test data is performed in accordance with editing rules based on the management of an external management database, which is a file. The present invention relates to a test data editing method that edits test data regardless of its organization.

(従来の技術) 従来、テストデータの編集は、カードにパンチされたデ
ータにms識別コードをもたせ、その編集識別コードを
解釈してデータ編集を行わせるプログラムを作成し一括
編集を行うか、または、画面エディタによって対話的に
、文字列とみなしたデータをデイスプレィに表示して編
集を行うのが通例であった。
(Prior Art) Conventionally, test data has been edited by assigning an ms identification code to the data punched on a card, creating a program that interprets the editing identification code and editing the data, or performing batch editing. It was customary to use a screen editor to interactively display and edit data regarded as character strings on a display.

以下、第3図と第4図を参照しながら従来のテストデー
タの編集手順を説明する。
Hereinafter, a conventional test data editing procedure will be explained with reference to FIGS. 3 and 4.

第3図には、−括編集を行う手順が示されており、スデ
ッ1301においてデータをカードに作成する。データ
は、編集指示を行うための編集識別:1−ドと、データ
テキストから構成される0次に作成したデータをデータ
ファイルとして作成するために、maミグXフグラム使
って一括的に処理する。ステップ302では、編集デー
タを読み収り、ステップ303において編集識別コード
をチェックして各編集処理に割り振る。ステップ30・
1では、編集に識別コードが新規作成であるとき、テス
トデータファイルに新規レコードとして作成する。ステ
ップ305は編集識別コードが変更であるとき、該当レ
コードをデータテキストで:ηき換える処理を行い、ス
テップ306は、編集識別コードが削除であるとき、該
当レコードを削除する。
FIG. 3 shows a procedure for performing bulk editing, in which data is created on a card in a slider 1301. The data is processed in a batch using the MAMIGX program in order to create the 0th-order created data, which is composed of the edit identification: 1-code for giving editing instructions and the data text, as a data file. In step 302, the editing data is read, and in step 303, the editing identification code is checked and assigned to each editing process. Step 30・
1, when the identification code for editing is new creation, it is created as a new record in the test data file. In step 305, when the edit identification code is change, the corresponding record is replaced with data text by :η, and in step 306, when the edit identification code is deletion, the corresponding record is deleted.

第4図には、対話型で編集を行う処理が示され、ステッ
プ40】でテストデータをデイスプレィ上に表示要求を
行いステップ402で、データを確認した後、ステップ
403において編集コマ〕、・ドを便ってデータを修正
していた。
FIG. 4 shows an interactive editing process, in which the test data is requested to be displayed on the display in step 40, the data is confirmed in step 402, and the editing frames are displayed in step 403. The data was corrected using .

(発明が解決しようとする課題) 上述した従来のテストデータ編集方式を用いてテストデ
ータの編集を行うと、データの種類毎に編集用プログラ
ムを作成する必要がある。汎用性をもたせようとすると
、複雑な編集ルールを設定する必要がある。データの形
式および関連チェック等の正当性チェックを行うことが
難しい、データの書式変更が伴う場合の対応が収りすら
い、編集結果の確証をテストデータを使うプログラムで
行う必要があり即時性に欠ける等の欠点がある。
(Problems to be Solved by the Invention) When editing test data using the conventional test data editing method described above, it is necessary to create an editing program for each type of data. In order to provide versatility, it is necessary to set complicated editing rules. It is difficult to perform validity checks such as data format and related checks, it is difficult to deal with cases where data format changes are required, and it is necessary to confirm editing results with a program that uses test data, which lacks immediacy. There are drawbacks such as.

(課題を解決するための手段) 本発明によるテストデータ編集方式は、データファイル
の形式を定義するファイル定義部と、ファイルを構成す
るレコードの形式を定義するレコード定義部と、レコー
ドを構成するフィールドの形式を定義する項目定義部と
、各フィールドにどのようなデータをらつことができる
かを定義するデータ条件定義部と、全ての定義情報を管
理する管理用データベースと、定義されている情報から
ファ・イルを作成するファイル生成部と、定義されてい
る情報からレコードの各フィールドにデータを入力する
ための画面を作成する画面作成部と、画面から入力され
たデータをチェックし、加工編集するデータ編集部と、
空のデータファイルにデータを登録する新規データ作成
部と、事前に作成されているデータファイルのデータを
画面を使って修正する変更処理部と、定義仕様の情報を
表示する確認部と、定義仕様の変更を行う仕様変更部と
、定義仕様変更に伴いテストデータを自動修正するデー
タ修正部と、前記各部を管理用データベースを基に制御
する制御部を備える。
(Means for Solving the Problem) The test data editing method according to the present invention includes a file definition part that defines the format of a data file, a record definition part that defines the format of records that make up the file, and fields that make up the record. An item definition section that defines the format of the field, a data condition definition section that defines what kind of data can be stored in each field, a management database that manages all definition information, and the defined information. There is a file generation section that creates a file from data, a screen creation section that creates a screen for inputting data into each field of a record from defined information, and a screen creation section that checks and edits the data input from the screen. data editorial department,
A new data creation section that registers data in an empty data file, a change processing section that uses the screen to modify data in a previously created data file, a confirmation section that displays definition specification information, and a definition specification section. The present invention includes a specification change section that changes the definition specifications, a data correction section that automatically corrects test data in accordance with changes in the definition specifications, and a control section that controls each of the above sections based on a management database.

(実施例) 以下、本発明について図面を参照しなから説明する。(Example) The present invention will be described below with reference to the drawings.

第1図は本発明によるテス)・データ編上方式の一実施
例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of the test data compilation method according to the present invention.

本実施例で示ずテストデータ編集方式においては、制御
部101は、ファイル定義部】02と、レコード定義部
103と、項目定義部104と、データ粂件定義部10
5と、ファイル生成部106と、画面作成部107と、
データ編集部108と、新規データ作成部10つと、変
更処理部110と、確認部111と、仕様変更部112
と、データ修正部113に制御を渡す機能をもち、更に
入出力装置114、記憶装置115.116および11
7を備える。
In the test data editing method (not shown in this embodiment), the control unit 101 includes a file definition unit 02, a record definition unit 103, an item definition unit 104, and a data item definition unit 10.
5, a file generation unit 106, a screen creation unit 107,
Data editing section 108, 10 new data creation sections, change processing section 110, confirmation section 111, specification change section 112
It has a function of passing control to the data modification unit 113, and also has an input/output device 114, storage devices 115, 116, and 11
Equipped with 7.

ファイル定義部102は、テストデータファイルのファ
イル編成、ファイルの容量を定義し、管理用データベー
スに登録する。レコード定義部103は、ファイルを構
成するレコードがどのように構成されているかを定義し
、管理用データベースに登録する。項目定義部104は
、レコードを構成する各フィールドがどのような形式に
なっているかを定義し、管理用データベースに登録する
、データ条件定義部105は、各フィールド毎に格納さ
れるデータの形式、例えば、ある範囲内のデータでなけ
ればならないとか、特別な値のデータでなければならな
いとか、数字コードのみ英字コードのみ英数コードのみ
とかの字類チェック等である。また、他のフィールドの
関連によるチェックの指示を定義し、管理用データベー
スに登録する。ファイル生成部106は、テストデータ
を登録するファイルを管理用データベースに登録されて
いるファイル定義情報を基にアロゲートし、アロゲート
を実施したことを管理用データベースに登録する0画面
作成部107は、管理用データベースに登録されている
レコード定義情報と項目定義情報からフィールド単位に
データをデイスプレィから入力できるようにフィールド
編集画面を自動生成し、編集画面表示用ファイルに登録
する。
The file definition unit 102 defines the file organization and file capacity of the test data file, and registers it in the management database. The record definition unit 103 defines how the records that make up the file are structured, and registers it in the management database. The item definition unit 104 defines the format of each field that makes up a record and registers it in the management database. The data condition definition unit 105 defines the format of the data stored for each field. For example, the data must be within a certain range, the data must be a special value, or the class check such as numeric codes only, alphabetic codes only, alphanumeric codes only, etc. In addition, instructions for checking based on relationships with other fields are defined and registered in the management database. The file generation unit 106 allocates a file in which test data is to be registered based on the file definition information registered in the management database, and registers the execution of the arrogation in the management database. A field editing screen is automatically generated so that data can be input field by field from the display from the record definition information and item definition information registered in the database, and is registered in the editing screen display file.

データ編集部108は、フィールド編集画面から入力さ
れた文字データを管理用データベース内に登録されてい
るデータ条件に満たされているかをチェックし、データ
ファイルに格納するためにデータ変換を行う。
The data editing unit 108 checks whether the character data input from the field editing screen satisfies the data conditions registered in the management database, and converts the data in order to store it in a data file.

新規データ作成部109は、アロゲート直後のデータフ
ァイルにデータを登録する。変更処理部110は、事前
にデスI・データが作成されているデータファイル内の
データをフィールド編集画面内に表示し、オペレータが
修正した内容を元のレコードに置き換える。確認部11
1は、管理用データベースに登録されている情報、テス
トデータファイル内のデータの内容をデイスプレィに表
示する。仕様変更部112は、管理用データベースに登
録した各種の定義情報の変更を行う。データ修正部11
3は、管理用データベース内の定義情報が変更されたと
き、関連するテストデータファイルのデータを旧定義情
報と、新定義情報を基に自動的に全てのレコードに対し
てデータ修正を行う、入出力装置114は、キーボード
とデイスプレイ装置を備え適当な回線を介して対話形式
で交信するTSS端末である。記憶装置は、テストデー
タが記憶されているディスク装置115と、フィールド
編集画面を記憶しておくディスク装置116と、ファイ
ル定り情報、レコード定義情報、項目定義情報、データ
条件定義情報等を記憶しておくディスク117がある。
The new data creation unit 109 registers data in the data file immediately after the arrogate. The change processing unit 110 displays data in a data file in which death I data has been created in advance in a field editing screen, and replaces the contents modified by the operator with the original record. Confirmation part 11
1 displays the information registered in the management database and the contents of the data in the test data file on the display. The specification change unit 112 changes various types of definition information registered in the management database. Data correction section 11
3. When the definition information in the management database is changed, the data in the related test data file is automatically corrected for all records based on the old definition information and the new definition information. Output device 114 is a TSS terminal that has a keyboard and display device and communicates interactively over a suitable line. The storage devices include a disk device 115 that stores test data, a disk device 116 that stores field editing screens, and stores file specific information, record definition information, item definition information, data condition definition information, etc. There is a disk 117 to keep.

次に、第2図のフローチャートに基づいて本発明による
装置の動作を説明する。
Next, the operation of the apparatus according to the present invention will be explained based on the flowchart shown in FIG.

まず、ステップ201でオペレータより定義指示を入力
してもらう、ステップ202で指示がファイル定義の時
、ステップ203で新規かを確認し、新規であればステ
ップ204において新規にファイル定義を行い定義情報
を管理用データベースに登録する。変更要求であればス
テップ205で定義済みのファイル・情報を変更し、変
更情報を管理用データベースに登録する。
First, in step 201, the operator inputs a definition instruction, and in step 202, when the instruction is a file definition, in step 203, it is confirmed whether it is new, and if it is new, in step 204, a new file definition is created and the definition information is Register in the management database. If it is a change request, the defined file/information is changed in step 205, and the changed information is registered in the management database.

ステップ202で指示がレコード定義の時、ステップ2
06で新規かを確認し、新規であればステップ207に
おいて新規にレコード定義を行い、定義情報を管理用デ
ータベースに登録する。変更要求であればステップ20
8において定義済みのレコード情報を変更し、変更情報
を管理用データベースに登録する。
When the instruction in step 202 is record definition, step 2
In step 06, it is confirmed whether the record is new, and if it is new, a new record is defined in step 207, and the definition information is registered in the management database. If it is a change request, step 20
In step 8, the defined record information is changed and the changed information is registered in the management database.

ステップ202で指示が項目定義の時、ステップ209
において新規かを確認し、新規であればステップ210
で新規に項目定義を行い、定義情報を管理用データベー
スに登録する。変更要求であればステップ211におい
て定義済みの項目情報を変更し、変更情報を管理用デー
タベースに登録する。
When the instruction in step 202 is item definition, step 209
Check if it is new, and if it is new, step 210
Define a new item and register the definition information in the management database. If it is a change request, the defined item information is changed in step 211, and the changed information is registered in the management database.

ステップ202で指示がデータ条件定義の時、ステップ
212において新規かを確認し、新規であればステップ
213で新規にデータ条件定義の定義情報を管理用デー
タベースに登録する。変更要求であればステップ214
において定義済みのデータ条件情報を変更し、変更情報
を管理用データベースに登録する。
When the instruction is for data condition definition in step 202, it is checked in step 212 whether it is new, and if it is new, the definition information of the data condition definition is newly registered in the management database in step 213. If it is a change request, step 214
Change the predefined data condition information in , and register the changed information in the management database.

ステップ202で指示がファイル生成の時は、ステップ
215でファイルのアロゲートを行い作成情報を管理用
データベースに登録する。ステップ202の判断で指示
が新規作成である時は、ステップ216で管理用データ
ベースよりレコード情報、項目情報を読み取りフィール
ド編集画面を作成して編集画面表示用ファイルに登録す
るとともにステップ217でデイスプレィに表示する。
When the instruction is to create a file in step 202, file allocation is performed in step 215 and creation information is registered in the management database. If the instruction in step 202 is to create a new one, in step 216 record information and item information are read from the management database, a field editing screen is created and registered in the editing screen display file, and it is displayed on the display in step 217. do.

ステップ218でオペレータよりデータの入力がされた
らデータの正当性をチェックし、ステップ219におい
てテストデータファイルにデータ変換を行った後登録す
る。
When data is input by the operator in step 218, the validity of the data is checked, and in step 219 the data is converted into a test data file and then registered.

ステップ202で指示が変更の時は、ステップ220で
編集画面表示用ファイルよりフィールド編集画面を読み
取る。また、テストデータファイルよりデータレコード
を読み取り表示画面内にデータ情報を組み込んでデイス
プレィに表示する。
If the instruction is to change in step 202, the field editing screen is read from the editing screen display file in step 220. It also reads data records from the test data file, incorporates data information into the display screen, and displays it on the display.

ステップ221でオペレータよりデータの修正がされた
らデータの正当性をチェックし、ステップ222でテス
トデータファイルにデータ変換を行った後、読み込んだ
レコードの第1図にレコードをどき戻す。
When the data is corrected by the operator in step 221, the validity of the data is checked, and in step 222, the data is converted to a test data file, and then the record is returned to the read record in FIG.

ステップ202で指示が確認の時は、ステップ223で
管理用データベースに登録されている情報をデイスプレ
ィに表示する。
When the instruction is confirmation in step 202, the information registered in the management database is displayed on the display in step 223.

ステップ202で指示がデータ修正の時は、ステップ2
29で管理用データベースに登録されている定義の旧、
新の情報を基にテストデータファイルの全レコードを新
定義情報で自動変換する。
If the instruction in step 202 is to modify data, step 2
The old definition registered in the management database in 29,
Automatically convert all records of the test data file with new definition information based on the new information.

(発明の効果) 以上説明したように本発明によるテストデータ編集方式
においては、テストデータのファイル情報が外付けの管
理用データベースに登録されるため、レコードの書式変
更が生じてもレコードの書式変換プログラムを作成しな
くてもよい。また、管理用データベースの情報を検索す
ることにより、データファイルの定義情報や、作成され
ているテストデータの種類を確認することができ、作成
したデータの管理や重複したデータの作成が防げる。
(Effects of the Invention) As explained above, in the test data editing method according to the present invention, the file information of the test data is registered in an external management database, so even if the record format is changed, the record format is not changed. No need to create a program. Furthermore, by searching the information in the management database, it is possible to check the definition information of the data file and the type of test data that has been created, making it possible to manage the created data and prevent the creation of duplicate data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるテストデータ編集方式の一実施例
を示す機能構成図、第2図は本実施例によるテストデー
タ編集方式の手段を示す図、第3図は一括編集による従
来方式の手段を示す図、第4図は対話型方式による従来
方式の手段を示す図である。 101・・・制御部、102・・・ファイル定義部、1
03・・・レコード定義部、104・・・項目定義部、
105・・・データ条件定義部、106・・・ファイル
生成部、107・・・画面作成部、108・・・データ
編集部、109・・・新規データ作成部、110・・・
変更処理部、111・・・確認部、112・・・仕様変
更部、113・・・データ修正部、114・・・入出力
部、115・・・テストデータ登録用ファイル、116
・・・編集画面表示用ファイル、117・・・管理用デ
ータベース。
FIG. 1 is a functional configuration diagram showing an embodiment of the test data editing method according to the present invention, FIG. 2 is a diagram showing means of the test data editing method according to the present embodiment, and FIG. 3 is a conventional method using batch editing. FIG. 4 is a diagram showing a conventional method using an interactive method. 101...Control section, 102...File definition section, 1
03...Record definition section, 104...Item definition section,
105... Data condition definition section, 106... File generation section, 107... Screen creation section, 108... Data editing section, 109... New data creation section, 110...
Change processing unit, 111... Confirmation unit, 112... Specification change unit, 113... Data modification unit, 114... Input/output unit, 115... File for test data registration, 116
...Editing screen display file, 117...Management database.

Claims (1)

【特許請求の範囲】[Claims] データファイルの形式を定義するファイル定義部と、フ
ァイルを構成するレコードの形式を定義するレコード定
義部と、レコードを構成するフィールドの形式を定義す
る項目定義部と、各フィールドにどのようなデータをも
つことができるかを定義するデータ条件定義部と、全て
の定義情報を管理する管理用データベースと、定義され
ている情報からファイルを作成するファイル生成部と、
定義されている情報からレコードの各フィールドにデー
タを入力するための画面を作成する画面作成部と、画面
から入力されたデータをチェックし、加工編集するデー
タ編集部と、空のデータファイルにデータを登録する新
規データ作成部と、事前に作成されているデータファイ
ルのデータを画面を使って修正する変更処理部と、定義
仕様の情報を表示する確認部と、定義仕様の変更を行う
仕様変更部と、定義仕様変更に伴いテストデータを自動
修正するデータ修正部と、前記各部を管理用データベー
スを基に制御する制御部を備えたことを特徴とするテス
トデータ編集方式。
A file definition section that defines the format of the data file, a record definition section that defines the format of the records that make up the file, an item definition section that defines the format of the fields that make up the record, and what kind of data should be stored in each field. A data condition definition section that defines what can be held, a management database that manages all definition information, and a file generation section that creates a file from the defined information.
There is a screen creation part that creates a screen for inputting data into each field of a record from the defined information, a data editing part that checks and edits the data input from the screen, and a data editing part that creates a screen for inputting data into each field of a record from the defined information. a new data creation section that registers data files, a change processing section that uses screens to modify data in previously created data files, a confirmation section that displays definition specification information, and a specification change section that changes definition specifications. 1. A test data editing method comprising: a data correction section that automatically corrects test data in accordance with changes in definition specifications; and a control section that controls each of the sections based on a management database.
JP63290797A 1988-11-17 1988-11-17 Test data editing method Expired - Lifetime JP2692196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63290797A JP2692196B2 (en) 1988-11-17 1988-11-17 Test data editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63290797A JP2692196B2 (en) 1988-11-17 1988-11-17 Test data editing method

Publications (2)

Publication Number Publication Date
JPH02136933A true JPH02136933A (en) 1990-05-25
JP2692196B2 JP2692196B2 (en) 1997-12-17

Family

ID=17760620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63290797A Expired - Lifetime JP2692196B2 (en) 1988-11-17 1988-11-17 Test data editing method

Country Status (1)

Country Link
JP (1) JP2692196B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008311093A (en) * 2007-06-15 2008-12-25 Hitachi Industrial Equipment Systems Co Ltd Handle lock device of switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008311093A (en) * 2007-06-15 2008-12-25 Hitachi Industrial Equipment Systems Co Ltd Handle lock device of switch

Also Published As

Publication number Publication date
JP2692196B2 (en) 1997-12-17

Similar Documents

Publication Publication Date Title
US5428791A (en) Configuration mechanism for a computer system having generic user interface and component-specific builder modules
JP3181994B2 (en) How to automatically create job flow specifications
GB2278468A (en) Configuring computer programs.
JPH1097417A (en) Program assembling device and storage medium
JPH02136933A (en) Test data editing system
JPH06131011A (en) Ladder program generation supporting device
JPH04290126A (en) Input/output format customizing method
JP4085599B2 (en) Form output system
CN117608536B (en) Gap data online template customization and supplementary recording system and method thereof
Avram The evolving MARC system: the concept of a data utility
JP3345522B2 (en) Program development support device using data item parts
JPS60200346A (en) Production of program test data
JPH0315223B2 (en)
JPH0830448A (en) Program specification consistency inspecting device
JPS62217320A (en) List compilation processing system
JPH064166A (en) Expiration date setting device for job
JPH09101886A (en) Device for automatically extracting/reusing program component
JPH0281267A (en) Method of screen generation
JP3143909B2 (en) File processing device
JP3337717B2 (en) Database processing device and database processing method
EP0726517A1 (en) A computer aided program generating system
JP2604551B2 (en) File dump output support method
JPH0237466A (en) Information processing system
JP2647044B2 (en) History management method
JP2002015272A (en) Table document creation supporting device