JP2646304B2 - Computer program test verification method - Google Patents

Computer program test verification method

Info

Publication number
JP2646304B2
JP2646304B2 JP3305557A JP30555791A JP2646304B2 JP 2646304 B2 JP2646304 B2 JP 2646304B2 JP 3305557 A JP3305557 A JP 3305557A JP 30555791 A JP30555791 A JP 30555791A JP 2646304 B2 JP2646304 B2 JP 2646304B2
Authority
JP
Japan
Prior art keywords
file
item
name
update
data
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
JP3305557A
Other languages
Japanese (ja)
Other versions
JPH05120065A (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.)
SHINNITSUTETSU JOHO TSUSHIN SHISUTEMU KK
Nippon Steel Corp
Original Assignee
SHINNITSUTETSU JOHO TSUSHIN SHISUTEMU KK
Nippon Steel 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
Application filed by SHINNITSUTETSU JOHO TSUSHIN SHISUTEMU KK, Nippon Steel Corp filed Critical SHINNITSUTETSU JOHO TSUSHIN SHISUTEMU KK
Priority to JP3305557A priority Critical patent/JP2646304B2/en
Publication of JPH05120065A publication Critical patent/JPH05120065A/en
Application granted granted Critical
Publication of JP2646304B2 publication Critical patent/JP2646304B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータプログラ
ムの更新を行った際の動作確認のためのテスト検証方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test verification method for confirming operation when a computer program is updated.

【0002】[0002]

【従来の技術】コンピュータプログラムは、一旦作成し
た後でも必要に応じて更新が行われる。更新が行われた
場合、その結果をテストして更新が正しく行われたか否
かを検証する。従来、コンピュータプログラムの更新を
行ったあと、その更新内容を確認するに際しては、全量
のファイルダンプを行い、予め容易した専用のスケール
をプリント紙に当てながら手作業により変更部分の検証
を行っていた。
2. Description of the Related Art Computer programs are updated as needed even after they have been created. If an update was made, test the results to verify that the update was successful. Conventionally, after updating a computer program, when checking the updated contents, a full file dump was performed, and the changed part was manually verified while applying a special scale that was easy to apply in advance to the print paper. .

【0003】[0003]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、更新内容の検証を手作業により行って
いるため、検証に時間がかかっていた。また、ダンプ内
容が実データの形(例えば、日本語名称)で出ないため
に、内容の把握が容易ではなかった。
However, in the above-described prior art, the verification of the update contents is performed manually, and therefore, it takes a long time to perform the verification. Further, since the contents of the dump do not appear in the form of actual data (for example, Japanese names), it is not easy to grasp the contents.

【0004】そこで、本発明の目的は、更新項目及び更
新前後の内容をリスト出力できるようにしたコンピュー
タプログラムのテスト検証方法を提供することにある。
It is an object of the present invention to provide a test verification method for a computer program capable of outputting a list of updated items and contents before and after the update.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明は、テスト結果入力/出力トレースファ
イル、ファイル名−登録名対応ファイル及びレコード定
義ファイルの各々に基づいて更新前データと更新後デー
タとを項目毎に比較し、不一致時にその更新項目に対す
る日本語名称及び更新前後の値をリスト出力するように
している。
In order to achieve the above-mentioned object, the present invention provides a method for pre-updating data based on a test result input / output trace file, a file name-registered name correspondence file, and a record definition file. The post-update data is compared for each item, and when they do not match, the Japanese name and the values before and after the update for the updated item are output in a list.

【0006】[0006]

【作用】上記した手段によれば、更新されたデータ項目
とそのファイルのレコード定義とが比較され、不一致時
に項目名と更新前後の値が日本語名称と共にリスト出力
される。したがって、更新内容にたいするテスト結果の
検証作業を、短時間に正確に行うことが可能になる。
According to the above-mentioned means, the updated data item is compared with the record definition of the file, and when there is a mismatch, the item name and the value before and after the update are output as a list together with the Japanese name. Therefore, the verification work of the test result for the updated contents can be accurately performed in a short time.

【0007】[0007]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は本発明による全体処理を示すフロー
チャートである。
FIG. 1 is a flowchart showing the overall processing according to the present invention.

【0009】まず、テスト実行(S11)に伴って、そ
の結果がトレースファイルされる(S12)。すなわ
ち、図2に示すようなファイル(仮にAファイルとす
る。なお図中の点線は項目の論理的な区切りを示す)に
あって、ファイル名(FID)が「AAA」のキー(K
EY)が「001」について更新(データ170)する
場合、テスト結果トレースファイルは図3に示すように
なる。因に、従来は図3に示すファイルを用いて検証を
行っている。尚、論理的な区切りは、ファイル単位に事
前に準備されたレコード定義ファイル(図7)から把握
する。
First, a result of the test execution (S11) is traced (S12). That is, the key (K) having a file name (FID) of “AAA” in a file as shown in FIG.
When EY) is updated (data 170) for "001", the test result trace file is as shown in FIG. Conventionally, verification is performed using the file shown in FIG. Note that logical delimiters are assigned in file units.
From the record definition file prepared before (Fig. 7)
I do.

【0010】ついで、テスト結果トレースファイルを用
いて更新項目リスト用ファイルI/O(入力/出力)ト
レース編集を行い(S13)、テスト結果I/Oトレー
スファイル(S14)を作成する。
Next, a file I / O (input / output) trace for the update item list is edited using the test result trace file (S13), and a test result I / O trace file (S14) is created.

【0011】一方、別途にファイル名(FID)と登録
名を対応させたファイル名−登録名対応ファイル(更新
対象ファイル名とレコード定義ファイル登録名の対応フ
ァイル)及びレコード定義ファイル(データ項目の項目
名、属性などの登録ファイル)が作成(S15、S1
6)されている。テスト結果I/Oトレースファイル、
ファイル名−登録名対応ファイル及びレコード定義ファ
イルを用いて更新項目の把握と編集を行い(S17)、
更新項目を図4に示す内容の如くリストに出力する(S
18)。
On the other hand, a file name -registered name correspondence file (corresponding file of an update target file name and a record definition file registration name) and a record definition file (data item item) Registration files such as names and attributes) are created (S15, S1
6) Has been done. Test result I / O trace file,
The update items are grasped and edited using the file name -registered name correspondence file and the record definition file (S17),
The updated items are output to a list as shown in FIG. 4 (S
18).

【0012】次に、図5の更新項目リスト出力処理の詳
細について説明する。
Next, details of the update item list output processing of FIG. 5 will be described.

【0013】まず、図1に示したステップ15のファイ
ル名−登録名対応ファイルから図6に示すようなファイ
ル名(FID)と登録名対応情報を取り込む(S2
1)。ついで、I/Oトレースファイルの読み込みを行
ったのち(S22)、データの種類を判定する(S2
3)。この判定は、更新前のデータであるか更新後のデ
ータであるかを判別するもので、更新前のデータであれ
ば前回データとして保持する(S24)。また、更新後
のデータであれば、ファイル名から対象ファイルの項目
名と項目属性(桁数、タイプなど)を把握する処理を行
う(S25)。すなわち、ファイル名から図7に示す如
レコード定義ファイルの情報(日本語名称、属性)を
取り込み、図8に示すような、項目単位(レコード定義
データベースで項目毎に分けられている)に前回保持し
たデータ(更新前のデータ)と比較(例えば、3桁同
士、5桁同士の比較)(S26)し、不一致の場合は、
更新されたデータと判断する。更新されたデータ項目に
ついてそのファイル名とファイル名−登録名対応ファイ
ル、及び当該項目の先頭桁位置情報と前記レコード定義
ファイル中の各項目の先頭桁位置と日本語名称との対応
データとに基づいて当該項目の日本語名称を検索し、
本語名称と更新前後の値(前回値と更新値)を図4のよ
うにリスト出力する(S27)。このリスト出力は、前
回値と違うデータが有る毎に一括して変更分が出力され
る。特に、日本語で出力されるため、内容把握が容易に
なる。そして、以上の処理を更新したデータが終了する
まで繰り返し実行する。
First, a file name (FID) and registered name correspondence information as shown in FIG. 6 are fetched from the file name-registered name correspondence file in step 15 shown in FIG. 1 (S2).
1). Next, after reading the I / O trace file (S22), the type of data is determined (S2).
3). This determination is to determine whether the data is data before update or data after update. If the data is before update, the data is held as previous data (S24). If the data is updated, a process of grasping the item name and item attribute (number of digits, type, etc.) of the target file from the file name is performed (S25). That is, the information (Japanese name, attribute) of the record definition file as shown in FIG. 7 is fetched from the file name, and is previously stored in item units (separated for each item in the record definition database) as shown in FIG. (For example, comparison between three digits and between five digits) (S26) .
Judge as updated data. The file name and file name of the updated data item
And the first digit position information of the item and the record definition
Correspondence between first digit position of each item in file and Japanese name
The Japanese name of the item is searched based on the data, and the Japanese name and the values before and after updating (previous value and updated value) are output as a list as shown in FIG. 4 (S27). In this list output, every time there is data different from the previous value, the change is output collectively. In particular, since the output is in Japanese, it is easy to grasp the contents. Then, the above processing is repeatedly executed until the updated data ends.

【0014】[0014]

【発明の効果】以上説明した通り、この発明は、テスト
結果入力/出力トレースファイル、ファイル名−登録名
対応ファイル及びレコード定義ファイルの各々に基づい
て更新前データと更新後データとを項目毎に比較し、不
一致時にその更新項目に対する日本語名称及び更新前後
の値をリスト出力するようにしたので、更新内容に対す
るテスト結果の検証作業を短時間かつ正確に行うことが
できるようになる。
As described above, according to the present invention, the pre-update data and the post-update data are item-by-item based on the test result input / output trace file, the file name-registered name correspondence file, and the record definition file. Since the comparison is made, and the Japanese name and the value before and after the update for the update item are output in a list when they do not match, the test result of the update content can be verified in a short time and accurately.

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

【図1】本発明による全体処理を説明するフローチャー
トである。
FIG. 1 is a flowchart illustrating overall processing according to the present invention.

【図2】ファイル構成の一例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a file configuration.

【図3】テスト結果トレースファイルの一例を示す説明
図である。
FIG. 3 is an explanatory diagram illustrating an example of a test result trace file.

【図4】本発明に係る更新項目リストの一例を示す説明
図である。
FIG. 4 is an explanatory diagram showing an example of an update item list according to the present invention.

【図5】本発明に係る更新項目のリスト出力処理の詳細
を説明するフローチャートである。
FIG. 5 is a flowchart illustrating details of an update item list output process according to the present invention.

【図6】ファイル名−レコード定義ファイルの登録名対
応テーブルを示す説明図である。
FIG. 6 is an explanatory diagram showing a registered name correspondence table of a file name-record definition file.

【図7】レコード定義ファイルを示す説明図である。FIG. 7 is an explanatory diagram showing a record definition file.

【図8】図5内のステップ26の比較処理を示す説明図
である。
FIG. 8 is an explanatory diagram showing a comparison process in step 26 in FIG. 5;

フロントページの続き (72)発明者 高橋 良 千葉県君津市君津1番地 新日本製鐵株 式会社 君津製鐵所内 (72)発明者 布目 賢治 千葉県君津市君津1番地 新日本製鐵株 式会社 君津製鐵所内 (72)発明者 土橋 浩朗 千葉県君津市君津1番地 新日本製鐵株 式会社 君津製鐵所内 (56)参考文献 特開 昭61−34640(JP,A) 特開 平2−96864(JP,A) 特開 平2−260045(JP,A)Continuing from the front page (72) Inventor Ryo Takahashi 1 Kimitsu, Kimitsu-shi, Chiba Nippon Steel Corporation Inside the Kimitsu Works (72) Inventor Kenji Nunume 1 Kimitsu, Kimitsu-shi, Chiba Nippon Steel Corporation Kimitsu Works (72) Inventor Hiroaki Dobashi 1 Kimitsu, Kimitsu City, Chiba Prefecture Nippon Steel Corporation Kimitsu Works (56) References JP-A-61-34640 (JP, A) JP-A-2- 96864 (JP, A) JP-A-2-260045 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 テスト結果入力/出力トレースファイル
に格納された更新データを比較する際に、当該データの
属するファイルのファイル名と各レコードの項目名・項
目属性などを格納したレコード定義ファイルとにより、
当該ファイルの項目属性に基づいて更新前データと更新
後データとを項目毎に比較し、不一致時に当該項目の
本語名称を、そのファイル名とファイル名−登録名対応
ファイル、及び当該項目の先頭桁位置情報と前記レコー
ド定義ファイル中の各項目の先頭桁位置と日本語名称と
の対応データとに基づいて検索し、更新前後の値と共に
リスト出力することを特徴とするコンピュータプログラ
ムのテスト検証方法。
When comparing update data stored in a test result input / output trace file, a file name of a file to which the data belongs and a record definition file storing an item name and an item attribute of each record are used. ,
The pre-update data and the post-update data are compared for each item based on the item attribute of the file, and when they do not match, the Japanese name of the item is changed to the file name and file name-registered name corresponding file , And the first digit position information of the item and the record
First digit position and Japanese name of each item in the
And a list output together with values before and after the update, and a test verification method for a computer program.
JP3305557A 1991-10-25 1991-10-25 Computer program test verification method Expired - Lifetime JP2646304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3305557A JP2646304B2 (en) 1991-10-25 1991-10-25 Computer program test verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3305557A JP2646304B2 (en) 1991-10-25 1991-10-25 Computer program test verification method

Publications (2)

Publication Number Publication Date
JPH05120065A JPH05120065A (en) 1993-05-18
JP2646304B2 true JP2646304B2 (en) 1997-08-27

Family

ID=17946591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3305557A Expired - Lifetime JP2646304B2 (en) 1991-10-25 1991-10-25 Computer program test verification method

Country Status (1)

Country Link
JP (1) JP2646304B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4728073B2 (en) * 2005-09-07 2011-07-20 株式会社山武 Database change point searching method and apparatus
JP4948809B2 (en) * 2005-09-16 2012-06-06 新日本製鐵株式会社 Information processing apparatus, new computer function verification support method, and computer program
JP2007179347A (en) * 2005-12-28 2007-07-12 Exa Corp Program verification support system
JP5119027B2 (en) * 2008-03-31 2013-01-16 株式会社野村総合研究所 Information processing apparatus and program analysis method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6134640A (en) * 1984-07-27 1986-02-18 Nec Corp Inspecting method of program
JPH0296864A (en) * 1988-10-04 1990-04-09 Hitachi Ltd Device and method for updating data
JPH02260045A (en) * 1989-03-31 1990-10-22 Nec Corp Application trouble checking system

Also Published As

Publication number Publication date
JPH05120065A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
US8200614B2 (en) Apparatus and method to transform an extract transform and load (ETL) task into a delta load task
US7610317B2 (en) Synchronization with derived metadata
US6738932B1 (en) Method and system for identifying software revisions from memory images
US6865692B2 (en) Enterprise test system having program flow recording and playback
JP2001506028A (en) Methods, systems and data structures for development and execution of computer software applications
KR20010022215A (en) System and method for generating year 2000 test cases
JP2646304B2 (en) Computer program test verification method
CN111242751B (en) Express order updating method, device, equipment and storage medium
JPH02236627A (en) Automatic program generating system
US20060085209A1 (en) Establishment of vehicle item categories
JPH05258099A (en) Character recognition processor
CN112463857A (en) Data processing method and system for supporting backtracking data query based on relational database
JPH06139124A (en) System for deleting unmatch in inverted file system data base
CN112817931B (en) Incremental version file generation method and device
JP2525393B2 (en) Logic simulation test coverage method
JPS63120060A (en) Tracking method
JPH1185491A (en) Automatic generation system for plural documents
JP2593379B2 (en) Computer program test verification method
JP2699436B2 (en) Parameter inspection processing method
Huber From Sierra to FOLIO: Cataloging perspectives on migration and post-implementation impact
CN113342391A (en) Code file indexing method and device based on version control system
JP2985880B1 (en) PLU file management device and method
JP2001084163A (en) Device and method for preliminarily examining influence of update processing and device and method for testing operation of update processing program
CN113342919A (en) Search system and method based on code file
JP3555542B2 (en) Group number setting device and group number setting method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970325