JP2718490B2 - Test result automatic verification processing method - Google Patents

Test result automatic verification processing method

Info

Publication number
JP2718490B2
JP2718490B2 JP3237781A JP23778191A JP2718490B2 JP 2718490 B2 JP2718490 B2 JP 2718490B2 JP 3237781 A JP3237781 A JP 3237781A JP 23778191 A JP23778191 A JP 23778191A JP 2718490 B2 JP2718490 B2 JP 2718490B2
Authority
JP
Japan
Prior art keywords
comparison
field
item name
name
item
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 - Fee Related
Application number
JP3237781A
Other languages
Japanese (ja)
Other versions
JPH0581072A (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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP3237781A priority Critical patent/JP2718490B2/en
Publication of JPH0581072A publication Critical patent/JPH0581072A/en
Application granted granted Critical
Publication of JP2718490B2 publication Critical patent/JP2718490B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デ−タ処理システムに
おける2つの異なる被テストプログラムの実行結果を互
いのテスト結果を比較照合することによって検証するテ
スト結果自動検証処理方式であって、詳しくは比較照合
を概念的に同じ意味を持つ項目名単位に行なうことによ
り検証能力を高め、効率的に検証作業を進めることがで
きるようにしたテスト結果自動検証処理方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic test result verification system for verifying the execution results of two different programs to be tested in a data processing system by comparing and checking each other's test results. The present invention relates to a test result automatic verification processing method that enhances verification ability by performing comparison and collation conceptually on an item name basis having the same meaning, thereby enabling efficient verification work.

【0002】[0002]

【従来の技術】周知のように、デ−タ処理システムにお
いてはその信頼性を確保するため、デ−タ処理を行うプ
ログラムに種々のテストデ−タを与えることにより、設
計通りに動作するかどうかを実際の稼動前にテストする
という、デバッグ作業を行なっているが、これには、多
くの時間と労力が必要である。そこで、プログラムテス
トの効率の向上や精度の向上を目指し、テスト結果を自
動検証する種々の方法が従来から提案されている。
2. Description of the Related Art As is well known, in a data processing system, in order to ensure its reliability, various test data are given to a data processing program to determine whether the data processing system operates as designed. Debugging tests before testing the actual version, but this takes a lot of time and effort. Therefore, various methods for automatically verifying test results have been proposed in order to improve the efficiency and accuracy of the program test.

【0003】その1つに、被テストプログラムの実行結
果を、他のプログラムで実行した結果とデ−タ処理装置
上で自動的に照合し、被テストプログラムの実行結果の
正当性を検証する処理方式が知られている。この方式
は、特に既存のプログラムの改造、変更や一部機能追加
の場合のデグレ−ド確認で有効である。
One of the methods is to automatically collate the execution result of a program under test with the result of execution by another program on a data processing device, and verify the validity of the execution result of the program under test. The scheme is known. This method is particularly effective in revising or changing an existing program or for confirming a degree in the case of adding some functions.

【0004】しかし、比較対象が1レコ−ドずつ1対1
に対応している場合や、レコ−ド中のフィールドの順序
が一定である場合は比較照合は容易であるが、1対1に
対応していない場合や、順序が一定しない場合は比較照
合が困難になるという問題がある。
However, the comparison object is one record at a time, one by one.
When the order of the fields in the record is constant, comparison and collation are easy. However, when the order does not correspond to one-to-one or when the order is not constant, the comparison and collation are not performed. There is a problem that it becomes difficult.

【0005】そこで、例えば特公平2−52293号公
報で開示されている「テスト結果自動判定処理方式」に
見られるように、被テストプログラムの実行結果を格納
するレコ−ドを階層構造にすることで、実行結果が1対
1に対応しない場合や、順序が一定しない場合の比較照
合を容易にしたものがある。
Therefore, as shown in "Test Result Automatic Judgment Method" disclosed in Japanese Patent Publication No. 2-52293, a record for storing the execution result of a program under test has a hierarchical structure. In some cases, comparison and collation in the case where execution results do not correspond one-to-one or the order is not constant are facilitated.

【0006】[0006]

【発明が解決しようとしている課題】しかしながら、上
記公報に開示されている従来技術にあっては、実行結果
の比較照合はレコ−ド単位またはレコ−ド内の物理的ア
ドレス単位で行なわれていたため、比較対象のフィール
を指定するに際し、該当レコ−ド中のフィールドのロ
ケ−ションとサイズを特定しなければならず、比較対象
の指定が複雑になって誤り易いという問題がある。ま
た、同様の理由により、比較対象の変更が容易でないと
いう問題がある。
However, in the prior art disclosed in the above publication, the comparison of the execution results is performed on a record basis or on a physical address basis within the record. , to be compared feel
When a record is specified, the location and size of the field in the record must be specified, and there is a problem that the specification of a comparison target is complicated and erroneous. Further, there is a problem that it is not easy to change the comparison target for the same reason.

【0007】本発明の目的は、被テストプログラムの実
行結果を格納したレコ−ド中のフィールドの指定あるい
は変更を容易に行えるようにし、検証作業を効率的に進
めることができるテスト結果自動検証処理方法を提供す
ることである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a test result automatic verification process capable of easily designating or changing a field in a record storing an execution result of a program to be tested and efficiently performing a verification operation. Is to provide a way .

【0008】[0008]

【課題を解決するための手段】本発明は、複数の異なる
被テストプログラムの実行結果を格納した各レコ−ド中
のフィールドにマップファイルにより概念的に意味を持
った項目名を設定し、各フィールドの比較照合にあたっ
ては、比較対象のフィールドを制御文によって項目名で
指定することにより、上記目的を達成した。
SUMMARY OF THE INVENTION The present invention, each record storing the execution results of a plurality of different test target program - Sets the item name with a conceptual meaning a map file in the field in de, each In the field comparison and comparison, the above object was achieved by designating the field to be compared with the item name using a control statement .

【0009】[0009]

【作用】上記手段によれば、複数の異なる被テストプロ
グラムの実行結果の各フィールドに対しマップファイル
によって概念的な意味を持った項目名を設定しているの
で、比較照合を行う際には、各フィールドのサイズ等の
形式に捕らわれることなく、項目名を制御文によって
定するという簡単な操作によって比較照合することがで
きる。しかも、比較対象を変更する際には、比較対象の
項目名を変更するのみでよくなる。
According to the above means, a map file is stored for each field of the execution result of a plurality of different programs to be tested.
, Item names having a conceptual meaning are set, and when performing comparison and collation, the item names are specified by control statements without being caught by the format such as the size of each field. Can be compared. In addition, when the comparison target is changed, only the item name of the comparison target needs to be changed.

【0010】[0010]

【実施例】以下、本発明を図示する実施例に基づいて詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments.

【0011】図1は本発明の一実施例の構成図、図2は
図1の実施例で用いられる制御文の構成図、図3は一致
と見なす範囲を指定するテ−ブル内容の一例を示す説明
図、図4は比較結果リストにおいて不一致となった内容
の表示例を示す説明図である。
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a block diagram of a control statement used in the embodiment of FIG. 1, and FIG. 3 is an example of a table content designating a range regarded as coincident. FIG. 4 is an explanatory diagram showing a display example of the content that has become inconsistent in the comparison result list.

【0012】図中、1は被テストプログラムA、2は被
テストプログラムB、3は被テストプログラムAの実行
結果を格納する実行結果ファイルA、4は被テストプロ
グラムBの実行結果を格納する実行結果ファイルB、5
は比較照合部、6および7はレコ−ドバッファ、8は比
較結果表示部、9は比較結果リスト、10は制御文、1
1は制御文解析部、12は比較対象キ−テ−ブル作成
部、13は比較対象キ−テ−ブル、14は比較対象項目
テ−ブル作成部、15は比較対象項目名テ−ブル、1
6は名称マップファイル、17は一致テ−ブル、18は
同一項目名自動選択部である。
In the figure, 1 is a program under test A, 2 is a program under test B, 3 is an execution result file A storing the execution result of the program A under test, and 4 is an execution result storing the execution result of the program B under test. Result file B, 5
Is a comparison / collation unit, 6 and 7 are record buffers, 8 is a comparison result display unit, 9 is a comparison result list, 10 is a control statement,
1 is a control statement analysis unit, 12 is a comparison target table creation unit, 13 is a comparison target table, and 14 is a comparison target item.
Name table creation unit, 15 is a comparison item name table, 1
6 is a name map file, 17 is a match table, and 18 is an automatic selection unit for the same item name.

【0013】本実施例の場合、被テストプログラムA1
の実行結果ファイルA3と被テストプログラムB2の実
行結果ファイルB4の内容を互いに照合し、テスト結果
を検証する際、実行結果ファイルA3および実行結果フ
ァイルB4の各レコ−ド中のフィールドは、アプリケ−
ションプログラムまたは手動入力によって予め作成され
た名称マップファイル16によって、概念的な意味を持
つ項目名が付けられる。各項目名のレコ−ドは、図2に
示すように、レコ−ドの先頭からのロケ−ション、サイ
ズおよびデ−タ属性を格納するフィ−ルドを持ってい
る。なお、例示しているデ−タ属性のCはゾ−ン形式、
Pはパック形式、Bはバイナリ形式の数値格納形式を表
している。
In the case of this embodiment, the program under test A1
When the contents of the execution result file A3 and the execution result file B4 of the program under test B2 are compared with each other to verify the test result , the fields in each record of the execution result file A3 and the execution result file B4 are set to the application case.
An item name having a conceptual meaning is assigned by a name map file 16 created in advance by an application program or manual input. As shown in FIG. 2, the record of each item name has fields for storing the location, size, and data attribute from the beginning of the record. The data attribute C shown in the example is a zone format,
P represents a pack format, and B represents a binary format numerical value storage format.

【0014】実行結果ファイルA3と実行結果ファイル
B4との照合は、概念的に同じ意味を持つ項目名単位で
行なわれ、その項目名は制御文10によって指定され
る。
The collation between the execution result file A3 and the execution result file B4 is performed for each item name conceptually having the same meaning, and the item name is specified by the control statement 10.

【0015】制御文10には、例えば図2に示すよう
に、制御文10−1ないし10−6のようなものがあ
る。
The control statements 10 include, for example, control statements 10-1 to 10-6 as shown in FIG.

【0016】このうち制御文10−1はFID(=Fi
le ID)文であって比較対象となる実行結果ファイ
ルの名称マップファイル16におけるマップ名称を指定
するものである。例えば、図示する例の実行結果ファイ
ルA3のマップ名称Aのマップ16−1は、実行結果フ
ァイルA3の概念的な意味を持った各項目名の示すフィ
ールドのレコ−ド上のロケ−ション、サイズおよびデ−
タ属性を格納している。同様に、実行結果ファイルB4
のマップ名称Bのマップ16−2は実行結果ファイルB
4の概念的な意味を持った各項目名の示すフィールドの
レコ−ド上のロケ−ション、サイズおよびデ−タ属性を
格納しているが、これらのマップ16−1および16−
2のマップ名称A,Bは制御文10−1によって指定さ
れる。
The control statement 10-1 is FID (= Fi)
le ID) statement, which specifies the map name in the name map file 16 of the execution result file to be compared. For example, the map 16-1 of the map name A of the execution result file A3 in the illustrated example is a file indicated by each item name having a conceptual meaning of the execution result file A3.
Location, size and data on the field record
Data attributes. Similarly, execution result file B4
The map 16-2 of the map name B is the execution result file B.
4 stores the location, size, and data attribute of the field indicated by each item name having a conceptual meaning, and maps 16-1 and 16 of these fields . −
2, the map names A and B are specified by the control statement 10-1.

【0017】次に、制御文10−2は、TTL(Tit
le)文であって、比較結果リスト9に表示するタイト
ルの内容を指定するものであり、図4に示すように、こ
の制御文10−2によって指定されたタイトルがそのま
ま印字される。
Next, the control statement 10-2 is TTL (Tit
le) a sentence, which specifies the contents of the title to be displayed in the comparison result list 9. As shown in FIG. 4, the title specified by the control sentence 10-2 is printed as it is.

【0018】制御文10−3はCKY(Compare
Key)文であって、実行結果ファイルA3と実行結
果ファイルB4とを比較照合する時に、マッチングをと
レコードを決定する項目名を指定するものであり、こ
の制御文10−3によって比較キ−情報として指定され
た項目名で名称マップファイル16が参照されてマップ
上の位置が決定され、その位置のレコ−ド内容でマッチ
ングがとられる。例えば、制御文10−3の例では、実
行結果ファイルA3の項目名「名前」と実行結果ファイ
ルB4の項目名「氏名」の内容でマッチングをとるレコ
ードを決定することを指示している。
The control statement 10-3 is CKY (Compare).
Key) statement, which specifies an item name for determining a record to be matched when comparing the execution result file A3 with the execution result file B4. The position on the map is determined by referring to the name map file 16 with the item name designated as, and matching is performed with the contents of the record at that position. For example, in the example of the control statement 10-3, a record matching the contents of the item name “name” of the execution result file A3 and the item name “name” of the execution result file B4 is used.
To determine the code .

【0019】制御文10−4、10−5はITM(It
em)文であって、実行結果ファイルA3と実行結果フ
ァイルB4を比較照合する時、比較照合する項目名を指
示するもので、この制御文10−4で指定された項目名
で名称マップファイル16が参照されてマップ上の位置
が決定され、その位置のフィールドの内容で比較照合が
行われる。例えば、制御文10−4の例では、実行結果
ファイルA3の項目名「年齢」と実行結果ファイルB4
の項目名「とし」の内容を比較照合することを指示して
いる。この指示に対し、比較照合部5は、名称マップフ
ァイル16中のマップ名称Aのマップ16−1とマップ
名称Bのマップ16−2を参照し、実行結果ファイルA
上の項目名「年齢」のロケ−ション、サイズ、デ−タ属
性、実行結果ファイルB上の項目名「とし」のロケ−シ
ョン、サイズ、デ−タ属性を取得し、それぞれのマップ
位置のフィールド内容を比較照合する。
The control statements 10-4 and 10-5 are based on ITM (It
em) statement, which indicates an item name to be compared and collated when the execution result file A3 and the execution result file B4 are compared and collated. The name map file 16 is designated by the item name specified by the control statement 10-4. Is referred to to determine a position on the map, and comparison and collation are performed based on the contents of the field at that position. For example, in the example of the control statement 10-4, the item name “age” of the execution result file A3 and the execution result file B4
Indicates that the contents of the item name “to” are compared and collated. In response to this instruction, the comparison and collation unit 5 refers to the map 16-1 of the map name A and the map 16-2 of the map name B in the name map file 16, and executes the execution result file A
The location, size, and data attribute of the above item name “age” and the location, size, and data attribute of the item name “toshi” on the execution result file B are acquired, and the respective map positions are obtained. Compare and match field contents.

【0020】制御文10−6はEND文であって、制御
文10の最終を指示する。
The control statement 10-6 is an END statement and indicates the end of the control statement 10.

【0021】制御文10−10はDGR(Degrad
e Check)文であって、同一項目名のフィールド
の自動比較照合を指示するものである。これが指示され
た場合、同一項目名自動選択部18で制御文10−7の
FID文で指定した実行結果ファイルの名称マップファ
イル16におけるマップ名称Aとマップ名称Cのマップ
とを比較し、同一項目名である項目を比較照合対象とし
て自動的に選択し、比較照合対象を指示するためのIT
M文を同一項目名分だけ自動作成する。例えば、制御文
10−10の例では、DGR文によって名称マップファ
イル16中のマップ名称AとCを比較し、同一項目名で
ある「名前」、「年齢」を比較照合対象として自動的に
選択し、ITM文18−1、18−2を自動作成する。
これにより、項目名が互いに同一であるものを自動的に
選択し、選択された項目名全てについて、項目名単位の
比較照合を行うことができる。
The control statement 10-10 is a DGR (Degraded)
eCheck) statement, which instructs automatic comparison and collation of fields having the same item name. When this is instructed, the same item name automatic selection unit 18 compares the map of the map name A and the map of the map name C in the name map file 16 of the execution result file specified by the FID statement of the control statement 10-7, and IT to automatically select the item that is the name as the target for comparison and to indicate the target for comparison and comparison
Automatically create M sentences for the same item name. For example, in the example of the control statement 10-10, the map names A and C in the name map file 16 are compared by the DGR statement, and the same item names “name” and “age” are automatically selected as the comparison and comparison target. Then, the ITM sentences 18-1 and 18-2 are automatically created.
As a result, items having the same item name are automatically selected, and comparison and collation of all the selected item names can be performed on an item name basis.

【0022】なお、比較照合を行う際に属性が異なる場
合、一致させてから照合することはもちろんである。
If the attributes are different when performing comparison and collation, it is needless to say that they are matched and then collated.

【0023】このような構成からなる制御文10は、制
御文解析部11で解析される。そして、その中の制御文
10−3で指定された比較キ−情報「名前」、「氏名」
は、比較対象キ−テ−ブル作成部12に渡される。そこ
で、比較対象キ−テ−ブル作成部12は、実行結果ファ
イルA3と実行結果ファイルB4をマッチングさせるた
めに「名前」、「氏名」からなる比較キ−情報の比較対
象キ−テ−ブル13を作成する。また、制御文10−
4,10−5で指定された概念的に同じ意味を持つ比較
対象項目名の情報は、比較対象項目名テ−ブル作成部1
4に渡される。そこで、比較対象項目名テ−ブル作成部
14は、実行結果ファイルA3と実行結果ファイルB4
の比較照合する項目名「年齢」と「とし」および「身
長」と「背丈」からなる情報を格納した比較対象項目名
テ−ブル15を作成する。
The control statement 10 having such a configuration is analyzed by the control statement analysis unit 11. Then, the comparison key information “name” and “name” specified by the control statement 10-3 therein
Is passed to the comparison object table creation unit 12. Therefore, the comparison target table creation unit 12 compares the execution result file A3 and the execution result file B4 with a comparison target table 13 of "name" and "name" in order to match the execution result file A3 and the execution result file B4. Create Control statement 10-
The information on the comparison target item names having the same conceptual meaning as specified in 4, 10-5 is stored in the comparison target item name table creation unit 1.
Passed to 4. Therefore, the comparison target item name table creation unit 14 executes the execution result file A3 and the execution result file B4.
A comparison target item name table 15 storing information consisting of item names “age” and “toshi” and “height” and “height” to be compared and collated is created.

【0024】比較照合部5では、実行結果ファイルA3
と実行結果ファイルB4をそれぞれレコ−ドバッファA
6とレコ−ドバッファB7に読み込み、比較対象キ−テ
−ブル13に格納された比較キ−情報にしたがって内容
のマッチングを行ない、同一内容であれば、比較対象の
レコ−ドあるとして比較対象項目名テ−ブル15にし
たがって各フィールドの内容を比較照合し、一部でも不
一致があれば、比較照合結果不一致として比較結果表示
部8へ出力する。全て一致した場合は、比較照合結果一
致として比較結果表示部8へ出力する。マッチングで同
一内容でなかった場合は、比較照合結果不一致として比
較結果表示部8へ出力する。
The comparison and collation unit 5 executes the execution result file A3
And the execution result file B4 in the record buffer A, respectively.
Load the Dobaffa B7, compared key - - 6 and record tape - Comparative stored in table 13 key - performs matching content according to the information, if the same content, the compared record - compared as a de target The contents of each field are compared and collated in accordance with the item name table 15, and if there is any inconsistency, the result is output to the comparison result display section 8 as a comparison / comparison result inconsistency. If they all match, the result is output to the comparison result display unit 8 as the comparison / matching result match. If the contents are not the same in the matching, it is output to the comparison result display unit 8 as a comparison / matching result mismatch.

【0025】比較結果表示部8では、比較照合部5の結
果をもとに不一致となった比較結果を比較結果リスト9
としてプリンタ等のシステム出力ファイルに出力する。
In the comparison result display section 8, a comparison result having a mismatch based on the result of the comparison / collation section 5 is displayed in a comparison result list 9.
To a system output file such as a printer.

【0026】この際、比較対象キ−テ−ブル13、比較
対象項目名テ−ブル15を参照することにより、不一致
となった部分を概念的な意味を持つ項目名単位で表示
し、何が不一致になったか容易にわかるようにしてい
る。
At this time, by referring to the comparison target table 13 and the comparison target item name table 15, the mismatched portion is displayed in the unit of an item name having a conceptual meaning. It is easy to see if there is a mismatch.

【0027】例えば、制御文10−3の例では、実行結
果ファイルA3の項目名「名前」と実行結果ファイルB
4の項目名「氏名」の内容でマッチングをとることを指
示している。この時、比較照合部5では名称マップファ
イル16中のマップ名称Aのマップ16−1とマップ名
称Bのマップ16−2を参照し、実行結果ファイルA上
の項目名「名前」のロケ−ション、サイズ、デ−タ属
性、実行結果ファイルB上の項目名「氏名」のロケ−シ
ョン、サイズ、デ−タ属性を取得し、それぞれのマップ
位置の内容でマッチングをとる。この結果、両者が同一
内容であれば、次に比較対象項目名テ−ブル15に格納
された同一概念の比較対象項目名「年齢」と「とし」お
よび「身長」と「背丈」からなる情報したがって各
ィールドの内容を比較照合し、一部でも不一致があれ
ば、比較照合結果不一致として比較結果表示部8へ出力
する。
For example, in the example of the control statement 10-3, the item name “name” of the execution result file A3 and the execution result file B
Instructing to perform matching based on the content of item name “name” of No. 4. At this time, the comparison and collation unit 5 refers to the map 16-1 of the map name A and the map 16-2 of the map name B in the name map file 16, and locates the item name "name" on the execution result file A. , Size, data attribute, the location, size, and data attribute of the item name “name” on the execution result file B are obtained, and matching is performed with the contents of each map position. As a result, if the two contents are the same, the comparison target item name “age” and “to” and “height” and “height” of the same concept stored in the comparison target item name table 15 are next stored. to Thus, each full
The contents of the field are compared and collated, and if there is any inconsistency, the result is output to the comparison result display unit 8 as a comparison / comparison result mismatch.

【0028】図4に示す比較結果リスト9では、比較照
合部で不一致となったフィールドについて、制御文10
で指定された比較キ−項目名および比較項目名単位で
ィールドの内容を表示している。タイトル部には、図2
の制御文10−2のTTL文で指示した内容を表示す
る。比較キ−内容としては、図2の制御文10−3のC
KY文で指示した項目名のフィールド内容を表示する。
[0028] In comparison list 9 shown in FIG. 4, the fields become discrepant comparison unit, control statements 10
In specified comparer key - item names and off in comparison items. Unit
Displays the contents of the field . Figure 2 shows the title
Of the TTL sentence of the control sentence 10-2. The content of the comparison key is C in control statement 10-3 in FIG.
The field contents of the item name specified by the KY statement are displayed.

【0029】FILE1、FILE2の部分には、図2
の制御文10−4、10−5のITM文で指示した項目
名と、そのレコ−ド内容を項目名1、項目名2として上
下2段に並べて表示する。このとき、下段には不一致と
なった部分のみ表示する。内容が全て一致している項目
名については表示しない。
FIG. 2 shows FILE1 and FILE2.
The item names designated by the ITM sentences of the control statements 10-4 and 10-5 and the contents of the records are displayed as item names 1 and 2 in two rows. At this time, only the mismatched part is displayed in the lower part. Item names whose contents are all the same are not displayed.

【0030】図3に示す一致テ−ブル17は、比較照合
部5における比較照合時に、各項目名のフィールド内容
が一致と見なす範囲を指定するもので、一致と見做すグ
ル−プを複数指定することができるようになっている。
例えば、17−1のエントリでは、X’00’とX’4
0’を同一と見なし、不一致としないことを指定してい
る。17−2のエントリではX’0000’とX’A1
A1’とX’2020’を同一と見なし、不一致としな
いことを指定している。
The match table 17 shown in FIG. 3 designates a range in which the field contents of each item name are regarded as coincident at the time of comparison and collation in the comparison / comparison section 5, and a plurality of groups regarded as coincident are provided. It can be specified.
For example, in the entry 17-1, X'00 'and X'4
0 'is regarded as the same, and it is specified not to be inconsistent. In the 17-2 entry, X'0000 'and X'A1
A1 'and X'2020' are regarded as the same, and it is specified that they do not match.

【0031】これによって、比較照合結果のうち不一致
をなる範囲を狭くし、不要な不一致結果が出力されない
ようにすることができる。
As a result, it is possible to narrow the range in which the comparison and collation results indicate a mismatch, and prevent unnecessary mismatch results from being output.

【0032】以上のように、この実施例によれば、複数
の異なる被テストプログラムの実行結果の各レコ−ド中
のフィールドに対し名称マップファイル16によって
念的な意味を持った項目名を設定しているので、比較照
合を行う際には、各フィールドのサイズ等の形式に捕ら
われることなく、項目名を制御文10によって指定する
という簡単な操作によって比較照合することができる。
しかも、比較対象を変更する際には、比較対象の項目名
を変更するのみでよくなる。
As described above, according to this embodiment, the field in each record of the execution results of a plurality of different programs under test is conceptually defined by the name map file 16. since setting the Do means with the item name, when comparing collation can not be bound in the form of the size of each field, comparison and verification by a simple operation of designating the control statement 10 the item name can do.
In addition, when the comparison target is changed, only the item name of the comparison target needs to be changed.

【0033】また、同一項目名自動選択部18を設けて
いるので、同一項目名のフィールドの比較照合を極めて
容易に行うことができる。
Further, since the same item name automatic selection section 18 is provided, comparison and collation of fields having the same item name can be performed very easily.

【0034】さらに、比較照合時に、フィールド内容が
一致と見做す範囲を一致テ−ブル17によって指定でき
るようにしているので、不要な不一致結果を出力させ
ず、効果的な検証を行うことができる。
Furthermore, at the time of comparison and collation, the range in which the field contents are considered to be coincident can be specified by the coincidence table 17, so that an unnecessary mismatch result is not output and effective verification can be performed. it can.

【0035】さらに、不一致結果を出力する際に、概念
的な項目名単位で不一致内容を出力しているので、不一
致内容がどのような概念の項目のものであるかを極めて
容易に知ることができ、被テストプログラムの不具合部
分を効率的に追及することができる。
Further, when the mismatch result is output, since the mismatch content is output in units of conceptual item names, it is very easy to know what kind of concept item the mismatch content is. It is possible to efficiently pursue a defective portion of the program under test.

【0036】[0036]

【発明の効果】以上述べたように本発明によれば、複数
の異なる被テストプログラムの実行結果の各レコ−ド中
のフィールドに対しマップファイルによって概念的な意
味を持った項目名を設定し、かつ制御文で指定した項目
名単位で比較照合を行うようにしているので、実行結果
の各フィールドのサイズ等の形式に捕らわれることな
く、単に項目名を指定するという簡単な操作によって被
テストプログラムの実行結果の比較照合を行うことがで
き、しかも、比較対象を変更する際には、比較対象の項
目名を変更するのみでよくなり、操作性が向上し、かつ
検証能力が向上するなどの効果が得られる。
As described above, according to the present invention, an item having a conceptual meaning by a map file for a field in each record of execution results of a plurality of different programs to be tested. Since the name is set and the comparison is performed for each item name specified in the control statement, the simple operation of simply specifying the item name without being bound by the format of each field of the execution result etc. This allows comparison and comparison of the execution results of the program under test, and when changing the comparison target, it is only necessary to change the item name of the comparison target, improving operability and improving verification ability. Effects such as improvement can be obtained.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】図1の実施例で用いられる制御文の構成例を示
す説明図である。
FIG. 2 is an explanatory diagram showing a configuration example of a control statement used in the embodiment of FIG.

【図3】項目名の内容が一致と見なす範囲を指定するテ
−ブルの内容例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of the contents of a table for specifying a range in which the contents of item names are regarded as coincident;

【図4】比較結果リストにおける不一致となった内容の
表示例を示す説明図である。
FIG. 4 is an explanatory diagram showing a display example of mismatched contents in a comparison result list.

【符号の説明】[Explanation of symbols]

1…被テストプログラムA、2…被テストプログラム
B、3…被テストプログラムAの実行結果ファイルA、
4…被テストプログラムBの実行結果ファイルB、5…
比較照合部、6,7…レコ−ドバッファ、8…比較結果
表示部、9…比較結果リスト、10…制御文、11…制
御文解析部、12…比較対象キ−テ−ブル作成部、13
…比較対象キ−テ−ブル、14…比較対象項目名テ−ブ
ル作成部、15…比較対象項目名テ−ブル、16…名称
マップファイル、17…一致テ−ブル、18…同一項目
名自動選択部。
1 ... tested program A, 2 ... tested program B, 3 ... executed program A execution result file A,
4 ... Execution result file B of the program under test B, 5 ...
Comparison and collation unit, 6, 7: record buffer, 8: comparison result display unit, 9: comparison result list, 10: control statement, 11: control statement analysis unit, 12: comparison target table creation unit, 13
... Comparison target table, 14... Comparison target item name table creation unit, 15... Comparison target item name table, 16... Name map file, 17... Matching table, 18. Same item name automatic selection section.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の異なる被テストプログラムの実行
結果を互いに照合することによって、テスト結果を自動
的に検証するテスト結果自動検証処理方法において、複数の 異なる被テストプログラムの実行結果を格納した
各レコード中の各フィールドの当該レコード中の位置お
よびサイズを示す情報と当該フィールド中の内容に対し
て付与した概念的に意味を持つ項目名とを対応付けて格
納したマップファイルを備え、複数の異なる被テストプ
ログラムの実行結果の比較照合に際しては、比較照合対
象のフィールドを指定する制御文中に設定された項目名
と同一概念の項目名のフィールドの位置およびサイズの
情報を前記マップファイルから取得し、その取得した情
報によって比較照合対象フィールドの内容を取得して比
較照合することを特徴とするテスト結果自動検証処理方
法。
An automatic test result verification method for automatically verifying test results by collating execution results of a plurality of different test programs with each other, wherein each execution result of a plurality of different test programs is stored. The position of each field in the record
And information indicating the size and the content in the field
Category names that are conceptually significant
It contains a map file that has been
When comparing program execution results,
Item name set in the control statement that specifies the elephant field
The position and size of the field with the same concept as the item name
Information from the map file, and the acquired information
Information of the field to be compared
An automatic test result verification method characterized by comparing and comparing .
【請求項2】 同一の項目名を持つフィールドを検索す
る手段を設け、この検索手段の検索結果のフィールド同
士で項目名単位の比較照合を行なうことを特徴とする請
求項1記載のテスト結果自動検証処理方法。
Wherein the means for retrieving a field with the item name of the same is provided, the field the search results of the search means
2. The test result automatic verification processing method according to claim 1, wherein the comparison and collation are performed by an item name unit.
【請求項3】 各フィールドの内容が一致と見做す範囲
を指定する手段を設け、この手段によって指定された一
致基準に従って項目名単位の比較照合を行うことを特徴
とする請求項1記載のテスト結果自動検証処理方法。
3. The apparatus according to claim 1, further comprising means for designating a range in which the contents of each field are considered to be coincident, and performing comparison and collation on an item name basis according to the coincidence criteria designated by this means. Test result automatic verification processing method.
【請求項4】 比較照合結果のうち、不一致となった内
容を概念的な意味を持つ項目単位で項目名と共に出力す
ることを特徴とする請求項1記載のテスト結果自動検証
処理方法。
4. The test result automatic verification method according to claim 1, wherein, among the comparison and collation results, unmatched contents are output together with item names in item units having a conceptual meaning.
JP3237781A 1991-09-18 1991-09-18 Test result automatic verification processing method Expired - Fee Related JP2718490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3237781A JP2718490B2 (en) 1991-09-18 1991-09-18 Test result automatic verification processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3237781A JP2718490B2 (en) 1991-09-18 1991-09-18 Test result automatic verification processing method

Publications (2)

Publication Number Publication Date
JPH0581072A JPH0581072A (en) 1993-04-02
JP2718490B2 true JP2718490B2 (en) 1998-02-25

Family

ID=17020340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3237781A Expired - Fee Related JP2718490B2 (en) 1991-09-18 1991-09-18 Test result automatic verification processing method

Country Status (1)

Country Link
JP (1) JP2718490B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164167B2 (en) 2001-11-21 2007-01-16 Sharp Kabushiki Kaisha Semiconductor storage device, its manufacturing method and operating method, and portable electronic apparatus
JP5609637B2 (en) * 2010-12-28 2014-10-22 富士通株式会社 Program, information processing apparatus, and information processing method

Family Cites Families (2)

* 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
JPH01263824A (en) * 1988-04-15 1989-10-20 Nec Corp File comparison system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
バインス情報センター著「キーブックス20 はじめて使うdBASEIII」(昭62−2−10)技術評論社PP.18−19

Also Published As

Publication number Publication date
JPH0581072A (en) 1993-04-02

Similar Documents

Publication Publication Date Title
US5926638A (en) Program debugging system for debugging a program having graphical user interface
US7917895B2 (en) Automated software testing and validation system
KR0172472B1 (en) Software system management device
JP2694122B2 (en) How to automatically test software applications
US5101494A (en) System for producing memory maps by interpreting a descriptor file which identifies and describes the data structures present in memory
US20080127103A1 (en) Dynamic deneration and implementation of globalization verification testing for user interface controls
Wiedenbeck The initial stage of program comprehension
CN108319711B (en) Method and device for testing transaction consistency of database, storage medium and equipment
US5768499A (en) Method and apparatus for dynamically displaying and causing the execution of software diagnostic/test programs for the silicon validation of microprocessors
EP1012615B1 (en) System for storing and searching named device parameter data in a test system for testing an integrated circuit
Lochovsky et al. User performance considerations in DBMS selection
JPH0855045A (en) Method and apparatus for coding of data in self-descriptive system
US20050204345A1 (en) Method and apparatus for monitoring computer software
JP2718490B2 (en) Test result automatic verification processing method
JPH036630A (en) Check system for interactive processing program
JPH1153391A (en) Database access method
EP0261690B1 (en) Method for using descriptor file describing control structures file used by a dump program
JP2752827B2 (en) Debugger processing method
JPH05134896A (en) Automatic preparation device for program testing data
JPH0581110A (en) Automatic inspection system for consistency of index file
JPS5856150A (en) Program control system
JP3248433B2 (en) Program linkage verification method
JPH01100642A (en) Test coverage system for computer system
JPH0727475B2 (en) Microprogram verification method and apparatus
KR950002163B1 (en) Function testing method of korean character unix

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees