JP2550665B2 - Online batch test method - Google Patents

Online batch test method

Info

Publication number
JP2550665B2
JP2550665B2 JP63143459A JP14345988A JP2550665B2 JP 2550665 B2 JP2550665 B2 JP 2550665B2 JP 63143459 A JP63143459 A JP 63143459A JP 14345988 A JP14345988 A JP 14345988A JP 2550665 B2 JP2550665 B2 JP 2550665B2
Authority
JP
Japan
Prior art keywords
result data
test
input
input device
output device
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
JP63143459A
Other languages
Japanese (ja)
Other versions
JPH01312641A (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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP63143459A priority Critical patent/JP2550665B2/en
Publication of JPH01312641A publication Critical patent/JPH01312641A/en
Application granted granted Critical
Publication of JP2550665B2 publication Critical patent/JP2550665B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオンラインプログラムのテスト方式に関し,
特にテストデータの作成,結果の確認及び結果の自動マ
ッチングを効率的に行うことができるようにしたオンラ
インのバッチテスト方式に関する。
The present invention relates to an online program test method,
In particular, it relates to an online batch test method that enables efficient creation of test data, confirmation of results, and automatic matching of results.

〔従来の技術〕[Conventional technology]

従来,この種のテスト方式は,実際にオンラインを
動作させて入力装置よりデータを手入力し,出力装置の
結果を目で確認するか,あるいは入力専用のデータを
作成し,テスト対象プログラムもテスト用プログラムに
変更して出力専用の表示データを確認するようにしてい
た。
In the past, this type of test method actually operated online and manually input the data from the input device and visually confirmed the result of the output device, or made the input-only data and tested the test target program. I changed it to a program for output and confirmed the display data only for output.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のオンラインテスト方式は,の方式の
場合,手入力時のミス,手入力のための工数のムダに分
えて再テスト時にはさらにムダが発生する。また,確認
も目による確認のため,不正確になり易く,工数もかか
るという欠点がある。
In the case of the above-described conventional online test method, in the method of (1), mistakes are made during manual input, and the waste of man-hours for manual input is divided into further waste during retesting. Further, since the confirmation is performed by eyes, there is a drawback that it is likely to be inaccurate and takes a lot of man-hours.

一方,の方式ではデータ作成時に入力装置のイメー
ジで作成できないため効率が悪くなるし,出力装置も出
力装置のイメージで確認できないため効率が悪くなると
いう欠点がある。
On the other hand, the method (1) has the drawback that the efficiency is poor because it cannot be created with the image of the input device when creating the data, and the efficiency is poor because the output device cannot be confirmed with the image of the output device.

本発明は上記欠点を解決しようとするもので,入力装
置,出力装置のイメージでデータを作成でき,また確認
も自動化できるオンラインのバッチテスト方式を提供す
ることを課題としている。
The present invention is intended to solve the above-mentioned drawbacks, and an object of the present invention is to provide an online batch test method capable of creating data with an image of an input device and an output device and automating confirmation.

〔課題を解決するための手段〕[Means for solving the problem]

そのため,本発明におけるオンラインのバッチテスト
方式は,テストデータを入力装置の形式で作成する手段
と,出力装置の形式でテスト結果を確認する手段と,期
待する結果データを出力装置の形式で作成する手段と,
その期待する結果データとテスト結果とをマッチングす
る手段とを有することを特徴とする。
Therefore, in the online batch test method of the present invention, means for creating test data in the form of an input device, means for confirming test results in the form of an output device, and expected result data in the form of an output device. Means,
It is characterized by having means for matching the expected result data and the test result.

〔実施例〕〔Example〕

次に,図面を参照して本発明の実施例を説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示し,テストデー
タを入力装置の形式で作成する手段として,入力装置1,
テストデータ入力部2,入力装置の形式定義ファイル3及
びテストデータ格納ファイル4を有している。テストデ
ータはオンラインプログラム格納ファイル6からのプロ
グラムにもとづいてテストデータ処理部5で処理され
る。処理後結果データ格納ファイル11,処理後結果デー
タ確認部12及び出力装置13は,出力装置の形式でテスト
結果を確認する手段を構成する。また,期待する結果デ
ータを出力装置の形式で作成する手段として,入力装置
7,期待結果データ入力部8,期待結果データファイル9及
び出力装置の形式定義ファイル10を有している。マッチ
ング処理部14は期待する結果データとテスト結果とをマ
ッチングするためのもので,処理後結果データ格納ファ
イル11からのテスト結果データと期待結果データ格納フ
ァイル9からの期待結果データとを照合して出力装置15
に表示させる。
FIG. 1 shows the configuration of an embodiment of the present invention. As means for creating test data in the form of an input device, the input device 1,
It has a test data input section 2, an input device format definition file 3 and a test data storage file 4. The test data is processed by the test data processing unit 5 based on the program from the online program storage file 6. The post-processing result data storage file 11, the post-processing result data confirmation unit 12, and the output device 13 constitute a means for confirming the test result in the form of the output device. Also, as a means of creating expected result data in the form of an output device, an input device
7, an expected result data input section 8, an expected result data file 9 and a format definition file 10 for an output device. The matching processing unit 14 is for matching the expected result data and the test result, and compares the test result data from the processed result data storage file 11 with the expected result data from the expected result data storage file 9. Output device 15
To display.

入力装置1からテストデータ入力要求を行なうと,テ
ストデータ入力部2は入力装置の形式定義ファイル3に
もとづいて該当入力装置の形式を入力装置1に表示さ
せ,これによって入力データを実際の入力形式で入力し
作成することができる。
When a test data input request is made from the input device 1, the test data input unit 2 causes the input device 1 to display the type of the input device based on the format definition file 3 of the input device. It can be created by inputting.

入力装置7から期待結果データ入力の要求を行うと,
期待結果データ入力部8は出力装置の形式定義ファイル
10より該当出力装置の形式を入力装置7に表示させ,こ
れによって期待結果データを実際の出力形式で入力し作
成することができる。
When a request for inputting expected result data is made from the input device 7,
The expected result data input section 8 is the format definition file of the output device.
From 10 on, the format of the corresponding output device is displayed on the input device 7, whereby the expected result data can be input and created in the actual output format.

テストの要求を行うと,テストデータ処理部5は該当
テストプログラムをテストデータ格納ファイル4のテス
トデータに対応して呼び出してテスト処理を実行し,テ
スト処理後結果データを処理後結果データ格納ファイル
11に格納する。
When a test request is issued, the test data processing unit 5 calls the corresponding test program corresponding to the test data in the test data storage file 4 to execute the test processing, and outputs the post-test processing result data to the post-processing result data storage file.
Store in 11.

マッチング処理の要求を行うと,マッチング処理部14
は処理後結果データ格納ファイル11の内容と期待結果デ
ータ格納ファイル9の内容の照合を行い,照合結果を出
力装置15に表示する。
When a request for matching processing is made, the matching processing unit 14
Collates the contents of the processed result data storage file 11 with the contents of the expected result data storage file 9 and displays the collation result on the output device 15.

処理後結果データ確認の要求を行うと,処理結果デー
タ確認部12は出力装置の形式定義ファイル10にもとづい
て出力装置の形式を出力装置13に入力し、その形式で処
理後結果データ格納ファイル11の内容を表示する。
When the request for confirmation of post-processing result data is made, the processing result data confirmation unit 12 inputs the format of the output device to the output device 13 based on the format definition file 10 of the output device, and the post-processing result data storage file 11 in that format. Display the contents of.

第2図は本発明の一実施例における動作の流れを説明
するフローチャートである。今,あるオンラインプログ
ラムのテストを行いたい時,まずテストデータの入力装
置よりテストデータを作成(ステップS1)する。次に,
期待する結果がある場合(ステップS2)は,期待結果デ
ータを作成(ステップS3)する。テストデータの作成と
必要に応じ期待結果データの作成が終ると,テストの実
行を行う(ステップS4)。そして,期待結果がある場合
(ステップS5)は,マッチングの実行(ステップS6)に
よるテスト結果の確認(ステップS7)を行う。期待結果
が無い場合は,処理結果の出力装置13による確認(ステ
ップS8)を行い,オンラインプログラムのテストを終了
する。その後は必要に応じ上記フローを繰り返し行う。
テストデータはファイルに格納されているため,同じテ
ストデータによるテストが必要に応じ何度でも行い得
る。
FIG. 2 is a flow chart for explaining the operation flow in one embodiment of the present invention. To test a certain online program, first create test data from the test data input device (step S1). next,
If there is an expected result (step S2), expected result data is created (step S3). After creating the test data and, if necessary, the expected result data, the test is executed (step S4). If there is an expected result (step S5), the test result is confirmed (step S7) by executing matching (step S6). If there is no expected result, the processing result is confirmed by the output device 13 (step S8), and the online program test ends. After that, the above flow is repeated if necessary.
Since the test data is stored in a file, the same test data can be tested as many times as necessary.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は,テストデータ及び期待
結果データをそれぞれ入力装置,出力装置の形式で作成
できることや,作成物がファイルに蓄積されているこ
と,更に期待結果データとテスト結果データとのマッチ
ング処理部があることにより,効率よく正確にデータを
作成できるし,蓄積されているテストデータで繰り返し
テストできる。更に,テスト結果データの確認もマッチ
ング処理部により効率よく正確にできる効果があり,品
質の高いオンラインシステムを構築することができる。
As described above, according to the present invention, the test data and the expected result data can be created in the form of the input device and the output device, respectively, the created items are stored in the file, and the expected result data and the test result data are With the matching processing unit, data can be created efficiently and accurately, and the accumulated test data can be repeatedly tested. Further, the test result data can be confirmed efficiently and accurately by the matching processing unit, and a high quality online system can be constructed.

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

第1図は本発明の一実施例の構成図,第2図は本発明の
一実施例における動作の流れを説明するフローチャート
図。 図中,1は入力装置,7,13,15は出力装置,2はテストデータ
入力部,5はテストデータ処理部,8は期待結果データ入力
部,12は処理後結果データ確認部。
FIG. 1 is a configuration diagram of an embodiment of the present invention, and FIG. 2 is a flow chart diagram for explaining an operation flow in the embodiment of the present invention. In the figure, 1 is an input device, 7, 13, 15 are output devices, 2 is a test data input unit, 5 is a test data processing unit, 8 is an expected result data input unit, and 12 is a post-processing result data confirmation unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力装置の形式定義をファイルしている入
力装置の形式定義ファイルと、入力装置からテストデー
タ入力要求があると前記入力装置の形式定義ファイルを
参照して該当入力装置の形式を入力装置に表示させるテ
ストデータ入力部とを含んでテストデータを入力装置の
形式で作成する手段と; オンラインプログラムを格納しているオンラインプログ
ラム格納部と、テストの要求があると前記オンラインプ
ログラム格納部を参照してテストデータを処理するテス
トデータ処理部とを含んでテスト処理を実行しテスト処
理後結果データを処理後結果データ格納ファイルに出力
するテストデータ処理手段と; 出力装置の形式定義をファイルしている出力装置の形式
定義ファイルと、入力装置から期待結果データ入力要求
があると前記出力装置の形式定義ファイルを参照して該
当出力装置の形式を入力装置に表示させる期待結果デー
タ入力部と、期待結果データを格納する期待結果データ
格納ファイルとを含んで期待結果データを実際の出力形
式で作成する手段と; 処理後結果データ確認の要求があると前記出力装置の形
式定義ファイルを参照して出力装置の形式を出力装置に
入力し、その形式にて前記処理後結果データ格納ファイ
ルの内容を表示させる処理後結果データ確認手段と; マッチング要求があると前記処理後結果データ格納ファ
イルの内容と前記期待結果データ格納ファイルの内容の
照合を行い、照合結果を出力装置に表示させるマッチン
グ処理手段とを含むことを特徴とするオンラインのバッ
チテスト方式。
1. A format definition file of an input device in which a format definition of an input device is stored, and when a test data input request is made from the input device, the format of the corresponding input device is referred to by referring to the format definition file of the input device. Means for creating test data in the form of an input device, including a test data input part to be displayed on an input device; an online program storage part for storing an online program; and an online program storage part for requesting a test And a test data processing unit for processing the test data and executing the test processing and outputting the post-test processing result data to the post-processing result data storage file; a format definition file of the output device The output device format definition file and the expected result data input request from the input device are output as above. Actual output format of expected result data including expected result data input section that displays the format of the corresponding output device on the input device by referring to the device format definition file and expected result data storage file that stores expected result data When there is a request for confirmation of post-processing result data, the format definition file of the output device is referred to, the format of the output device is input to the output device, and the post-processing result data storage file After-process result data confirmation means for displaying contents; When there is a matching request, the contents of the after-process result data storage file are collated with the contents of the expected result data storage file, and the collation result is displayed on the output device. An online batch test method characterized by including means.
JP63143459A 1988-06-13 1988-06-13 Online batch test method Expired - Fee Related JP2550665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63143459A JP2550665B2 (en) 1988-06-13 1988-06-13 Online batch test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63143459A JP2550665B2 (en) 1988-06-13 1988-06-13 Online batch test method

Publications (2)

Publication Number Publication Date
JPH01312641A JPH01312641A (en) 1989-12-18
JP2550665B2 true JP2550665B2 (en) 1996-11-06

Family

ID=15339197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63143459A Expired - Fee Related JP2550665B2 (en) 1988-06-13 1988-06-13 Online batch test method

Country Status (1)

Country Link
JP (1) JP2550665B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2593379B2 (en) * 1991-10-25 1997-03-26 新日本製鐵株式会社 Computer program test verification method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109947A (en) * 1981-12-23 1983-06-30 Mitsubishi Electric Corp Simulator
JPS6385838A (en) * 1986-09-30 1988-04-16 Toshiba Corp Input/output data processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
情報処理学会第29回(昭和59年後期)全国大会講演論文集(▲II▼)P.981−982「オンラインプログラムのテスト支援ツールについて」

Also Published As

Publication number Publication date
JPH01312641A (en) 1989-12-18

Similar Documents

Publication Publication Date Title
US7721255B2 (en) Sequence program editing apparatus
JP2797698B2 (en) Software reuse support method
JP2550665B2 (en) Online batch test method
JP2720768B2 (en) Program customization equipment
JPH02272668A (en) Transaction execution time sequence diagram edition system
JP3041526B2 (en) Presentation support system
JPH0667864A (en) Method for automatically preparing/updating manual or the like
JPH0612248A (en) Automatic programming system
JPH06242933A (en) Program document maintenance device
FAREGH et al. PROPOSAL OF" SERVICE UNIFRAME" AS AN INTEGRATED FRAMEWORK FOR THE SERVICE REDESIGN PATTERNS Utilizing The Concept Of" Uniframe" To Develop A Design Pattern For Service Improvement (With Emphasis On Approach Of Lean Thinking)
JPH0497448A (en) Interactive type simplex testing system
JPS62135958A (en) Simulation system
JPH0594245A (en) Control system for input/output device
JPH02259831A (en) On-line program generating device
JPH0831012B2 (en) Data verification test method
JPS61251966A (en) Image processor
JPH05324403A (en) Verification sufficiency evaluating system for software design specification
JPH0520051A (en) Software conversion operation controller
JPH04160651A (en) General purpose file utility
JPH03182931A (en) Constitution definition support system
JPH04242427A (en) Program designing system
JPH06131167A (en) Multi-task programming supporting device
JPS63308662A (en) Itemized automatic performance analyzing system in transaction processing system
JPS6162119A (en) Information processing method by simple natural utility language
JPH06110507A (en) Monitor device

Legal Events

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