JP2692196B2 - Test data editing method - Google Patents

Test data editing method

Info

Publication number
JP2692196B2
JP2692196B2 JP63290797A JP29079788A JP2692196B2 JP 2692196 B2 JP2692196 B2 JP 2692196B2 JP 63290797 A JP63290797 A JP 63290797A JP 29079788 A JP29079788 A JP 29079788A JP 2692196 B2 JP2692196 B2 JP 2692196B2
Authority
JP
Japan
Prior art keywords
data
file
definition
information
unit
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.)
Expired - Lifetime
Application number
JP63290797A
Other languages
Japanese (ja)
Other versions
JPH02136933A (en
Inventor
明世 手▲崎▼
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=JP2692196(B2) "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

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

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はテストデータ編集方式に関し、特にテストデ
ータの作成および修正を外付けファイルである管理用デ
ータベースの管理の基に編集ルールに従い、ファイルの
編成に関係なくテストデータの編集を行うテストデータ
編集方式に関するものである。
Description: TECHNICAL FIELD The present invention relates to a test data editing method, and particularly to test data creation and modification according to an editing rule based on the management of an external management database. The present invention relates to a test data editing method for editing test data regardless of organization.

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

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

第3図には、一括編集を行う手順が示されており、ス
テップ301においてデータをカードに作成する。データ
は、編集指示を行うための編集識別コードと、データテ
キストから構成される。次に作成したデータをデータフ
ァイルとして作成するために、編集プログラムを使って
一括的に処理する。ステップ302では、編集データを読
み取り、ステップ303において編集識別コードをチェッ
クして各編集処理に割り振る。ステップ304では、編集
識別コードが新規作成であるとき、テストデータファイ
ルに新規レコードとして作成する。ステップ305は編集
識別コードが変更であるとき、該当レコードをデータテ
キストで置き換える処理を行い、ステップ306は、編集
識別コードが削除であるとき、該当レコードを削除す
る。
FIG. 3 shows a procedure for performing batch editing. In step 301, data is created on the card. The data is composed of an edit identification code for giving an edit instruction and a data text. Next, in order to create the created data as a data file, it is collectively processed using an editing program. In step 302, the edit data is read, and in step 303, the edit identification code is checked and assigned to each edit process. In step 304, when the edit identification code is new creation, it is created as a new record in the test data file. Step 305 replaces the record with data text when the edit identification code is changed, and step 306 deletes the record when the edit identification code is deleted.

第4図には、対話型で編集を行う処理が示され、ステ
ップ401でテストデータをディスプレイ上に表示要求を
行いステップ402で、データを確認した後、ステップ403
において編集コマンドを使ってデータを修正していた。
FIG. 4 shows an interactive editing process. In step 401, test data is requested to be displayed on the display, and in step 402, after confirming the data, step 403 is performed.
I used the edit command to modify the data.

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

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

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

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

本実施例で示すテストデータ編集方式においては、制
御部101は、ファイル定義部102と、レコード定義部103
と、項目定義部104と、データ条件定義部105と、ファイ
ル生成部106と、画面作成部107と、データ編集部108
と、新規データ作成部109と、変更処理部110と、確認部
111と、仕様変更部112と、データ修正部113に制御を渡
す機能をもち、更に入出力装置114、記憶装置115、116
および117を備える。
In the test data editing method shown in this embodiment, the control unit 101 includes a file definition unit 102 and a record definition unit 103.
An item definition unit 104, a data condition definition unit 105, a file generation unit 106, a screen creation unit 107, and a data editing unit 108.
, A new data creation unit 109, a change processing unit 110, and a confirmation unit
111, a specification changing unit 112, and a function for passing control to the data correction unit 113, and further includes an input / output device 114 and storage devices 115, 116.
And 117.

ファイル定義部102は、テストデータファイルのファ
イル編集、ファイルの容量を定義し、管理用データベー
スに登録する。レコード定義部103は、ファイルを構成
するレコードがどのように構成されているかを定義し、
管理用データベースに登録する。項目定義部104は、レ
コードを構成する各フィールドがどのような形式になっ
ているかを定義し、管理用データベースに登録する。デ
ータ条件定義部105は、各フィールド毎に格納されるデ
ータの形式、例えば、ある範囲内のデータでなければな
らないとか、特別な値のデータでなければならないと
か、数字コードのみ英字コードのみ英数コードのみとか
の字類チェック等である。また、他のフィールドの関連
によるチェックの指示を定義し、管理用データベースに
登録する。ファイル生成部106は、テストデータに登録
するファイルを管理用データベースに登録されているフ
ァイル定義情報を基にアロケートし、アロケートを実施
したことを管理用データベースに登録する。画面作成部
107は、管理用データベースに登録されているレコード
定義情報と項目定義情報からフィールド単位にデータを
ディスプレイから入力できるようにフィールド編集画面
を自動生成し、編集画面表示用ファイルに登録する。デ
ータ編集部108は、フィールド編集画面から入力された
文字データを管理用データベース内に登録されているデ
ータ条件に満たされているかをチェックし、データファ
イルに格納するためにデータ変換を行う。
The file definition unit 102 edits the test data file, defines the file size, and registers the file in the management database. The record definition unit 103 defines how the records that make up the file are organized,
Register in the management database. The item definition unit 104 defines the format of each field forming the record and registers it in the management database. The data condition definition unit 105 has a format of data stored in each field, for example, data within a certain range, data with a special value, numeric code only, alphabet code only Check the class such as only the code. In addition, check instructions related to other fields are defined and registered in the management database. The file generation unit 106 allocates the file to be registered in the test data based on the file definition information registered in the management database, and registers the allocation execution in the management database. Screen creation section
Reference numeral 107 automatically generates a field edit screen so that data can be input from the display in units of fields from the record definition information and item definition information registered in the management database, and registers it in the edit screen display file. The data editing unit 108 checks whether the character data input from the field editing screen is satisfied with the data condition registered in the management database, and performs data conversion for storing in the data file.

新規データ作成部109は、アロケート直後のデータフ
ァイルにデータを登録する。変更処理部110は、事前に
テストデータが作成されているデータファイル内のデー
タをフィールド編集画面内に表示し、オペレータが修正
した内容を元のレコードに置き換える。確認部111は、
管理用データベースに登録されている情報、テストデー
タファイル内のデータの内容をディスプレイに表示す
る。仕様変更部112は、管理用データベースに登録した
各種の定義情報の変更を行う。データ修正部113は、管
理用データベース内の定義情報が変更されたとき、関連
するテストデータファイルのデータを旧定義情報と、新
定義情報を基に自動的に全てのレコードに対してデータ
修正を行う。入出力装置114は、キーボードとディスプ
レイ装置を備え適当な回線を介して対話形式で交信する
TSS端末である。記憶装置は、テストデータが記憶され
ているディスク装置115と、フィールド編集画面を記憶
しておくディスク装置116と、ファイル定義情報、レコ
ード定義情報、項目定義情報、データ条件定義情報等を
記憶しておくディスク117がある。
The new data creation unit 109 registers data in the data file immediately after allocation. The change processing unit 110 displays the data in the data file in which the test data is created in advance in the field edit screen, and replaces the content corrected by the operator with the original record. The confirmation unit 111 is
Display the information registered in the management database and the data contents in the test data file on the display. The specification changing unit 112 changes various definition information registered in the management database. When the definition information in the management database is changed, the data correction unit 113 automatically corrects the data in the related test data file for all records based on the old definition information and the new definition information. To do. The input / output device 114 includes a keyboard and a display device, and interactively communicates via an appropriate line.
It is a TSS terminal. The storage device stores a disk device 115 in which test data is stored, a disk device 116 in which a field edit screen is stored, and file definition information, record definition information, item definition information, data condition definition information, etc. There is a disk 117 to put.

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

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

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

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

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

ステップ202で指示がファイル生成の時は、ステップ2
15でファイルのアロケートを行い作成情報を管理用デー
タベースに登録する。ステップ202の判断で指示が新規
作成である時は、ステップ216で管理用データベースよ
りレコード情報、項目情報を読み取りフィールド編集画
面を作成して編集画面表示用ファイルに登録するととも
にステップ217でディスプレイに表示する。ステップ218
でオペレータよりデータの入力がされたらデータの正当
性をチェックし、ステップ219においてテストデータフ
ァイルにデータ変更を行った後登録する。
If the instruction is file generation in step 202, step 2
Allocate the file in 15 and register the created information in the management database. If it is determined in step 202 that the instruction is new creation, in step 216, record information and item information are read from the management database, a field edit screen is created, registered in the edit screen display file, and displayed in the display in step 217. To do. Step 218
When the operator inputs data, the validity of the data is checked, and in step 219, the test data file is changed and then registered.

ステップ202で指示が変更の時は、ステップ220で編集
画面表示用ファイルよりフィールド編集画面を読み取
る。また、テストデータファイルよりデータレコードを
読み取り表示画面内にデータ情報を組み込んでディスプ
レイに表示する。ステップ221でオペレータよりデータ
の修正がされたらデータの正当性をチェックし、ステッ
プ222でテストデータファイルにデータ変換を行った
後、読み込んだレコードの第1図にレコードを書き戻
す。
When the instruction is changed in step 202, the field edit screen is read from the edit screen display file in step 220. Also, the data record is read from the test data file and the data information is incorporated into the display screen and displayed on the display. When the operator corrects the data in step 221, the validity of the data is checked, and in step 222, the data is converted into the test data file, and then the record is written back to FIG. 1 of the read record.

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

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

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

【図面の簡単な説明】[Brief description of the drawings]

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

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データファイルの形式を定義するファイル
定義部と、ファイルを構成するレコードの形式を定義す
るレコード定義部と、レコードを構成するフィールドの
形式を定義する項目定義部と、各フィールドにどのよう
なデータをもつことができるかを定義するデータ条件定
義部と、全ての定義情報を管理する管理用データベース
と、定義されている情報からファイルを作成するファイ
ル生成部と、定義されている情報からレコードの各フィ
ールドにデータを入力するための画面を作成する画面作
成部と、画面から入力されたデータをチェックし、加工
編集するデータ編集部と、空のデータファイルにデータ
を登録する新規データ作成部と、事前に作成されている
データファイルのデータを画面を使って修正する変更処
理部と、定義仕様の情報を表示する確認部と、定義仕様
の変更を行う仕様変更部と、定義仕様変更に伴いテスト
データを自動修正するデータ修正部と、前記各部を管理
用データベースを基に制御する制御部を備えたことを特
徴とするテストデータ編集方式。
1. A file definition section that defines the format of a 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 each field A data condition definition part that defines what kind of data can be stored, a management database that manages all definition information, and a file creation part that creates a file from the defined information are defined. A screen creation part that creates a screen for entering data from the information into each field of the record, a data editing part that checks the data entered from the screen, processes and edits it, and registers the data in an empty data file New Data creation part, change processing part that modifies the data of the data file created in advance using the screen, and definition specifications A confirmation unit that displays information, a specification change unit that changes definition specifications, a data correction unit that automatically corrects test data when the definition specifications are changed, and a control unit that controls each unit based on a management database A test data editing method characterized by that.
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 JPH02136933A (en) 1990-05-25
JP2692196B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4945336B2 (en) * 2007-06-15 2012-06-06 株式会社日立産機システム Switch lock device of switch

Also Published As

Publication number Publication date
JPH02136933A (en) 1990-05-25

Similar Documents

Publication Publication Date Title
US20030204637A1 (en) Method and apparatus for generating compilable application programs
JPH0640302B2 (en) Schematic / source program automatic generation method
JPH0776958B2 (en) Document shaping device
EP1171832A2 (en) Interface for an enterprise resource planning program
US9098263B2 (en) Database application assembly and preparation
EP0056886A1 (en) Data processing system with an interactive display
JP2692196B2 (en) Test data editing method
JPH1097417A (en) Program assembling device and storage medium
JPH02247720A (en) Various languages display system
US8839097B2 (en) System and method for information encapsulation for providing multiple deliverable formats from one information source
JPH0588863A (en) Program development supporting system
JP3070701B2 (en) Program control method for interactive system
JPH0551455B2 (en)
CN117608536B (en) Gap data online template customization and supplementary recording system and method thereof
JPS60200346A (en) Production of program test data
JP3290778B2 (en) Trouble analysis support device
JP2757367B2 (en) Character processor
JP3305858B2 (en) Automatic figure creation device and automatic figure creation method
JPS62217320A (en) List compilation processing system
JP2647044B2 (en) History management method
JPH04344932A (en) Distributed programming method
JPH06139061A (en) Program specification inverse preparing method
JPH02159620A (en) Output device for program processing outline specification
JPH0242561A (en) Extracting system for document logical structure
JPH04165563A (en) Document preparing device