JPH03182941A - Program test system - Google Patents
Program test systemInfo
- Publication number
- JPH03182941A JPH03182941A JP1321399A JP32139989A JPH03182941A JP H03182941 A JPH03182941 A JP H03182941A JP 1321399 A JP1321399 A JP 1321399A JP 32139989 A JP32139989 A JP 32139989A JP H03182941 A JPH03182941 A JP H03182941A
- Authority
- JP
- Japan
- Prior art keywords
- test
- program
- screen
- version
- revised edition
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 claims abstract description 34
- 238000010998 test method Methods 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 abstract description 16
- 230000000007 visual effect Effects 0.000 abstract description 5
- 235000002597 Solanum melongena Nutrition 0.000 description 5
- 244000061458 Solanum melongena Species 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分封〕
本発明はワークステーションにおけるプログラムのテス
トの自動化方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application] The present invention relates to a method for automating testing of programs in a workstation.
従来のプログラムのデス1〜方法は、特開昭59−11
1549号に記載のようにプログラムテストのキー入力
データおよびそれによる画面データを記憶媒体に記憶し
、これを再利用することにより、プログラムのテス1−
を自動化してナス1−工数を削減するものである。The conventional program method is described in Japanese Unexamined Patent Application Publication No. 1986-11.
As described in No. 1549, program test key input data and corresponding screen data are stored in a storage medium and reused, so that program test 1-
This is to automate and reduce the number of man-hours required for eggplant production.
上記従来技術は、テストの入力処理を自動化するもので
あるが、以下のような問題があった。The above-mentioned conventional technology automates test input processing, but has the following problems.
−殻内に改訂版のテストは、現行バージョンで作用して
おいたテスト手順・テストデータを入力させてテストを
実行し、正否判断は画面表示内容を目視チエツクするも
のである。また作用した各種ファイル(文書ファイル・
表ファイル・データベース)にっても印刷後の目視チエ
ツクが必要であり、工数がかかる。- In the revised version of the test, the test procedure and test data used in the current version are entered and the test is executed, and the judgment of success or failure is made by visually checking the contents displayed on the screen. Also, various files that were affected (document files,
Table files and databases also require visual checks after printing, which takes a lot of man-hours.
本発明の目的は、ナス1〜結果の正否判定を画(2)表
示、印刷物の目視チエツクに頼らず、プログラムで自動
化したことにある。An object of the present invention is to automate the determination of the accuracy of the results from Eggplant 1 through a program without relying on the image (2) display or visual check of printed matter.
2 。 2.
十HI21」的を達成するためにワークステーションで
正否の判定基準となるプログラムと被テスト対象プログ
ラムを回−デス1〜手順で並列実行させるようにした。In order to achieve the goal of ``10HI21'', a program serving as a criterion for determining success or failure and a program to be tested are executed in parallel in steps from 1 to 1 on a workstation.
キーボードおよびマウスから入力したナス1−手順・テ
ストデータは制御プログラムを経由して、正否の判定基
準となる現行バージョンと被テスI・対象のaiJ服の
++l+j方に入力処理する。Eggplant 1-Procedure/Test data inputted from the keyboard and mouse is processed via the control program into the current version, which serves as a criterion for determining success/failure, and the test subject I/object aiJ clothing.
このようにして2本のプログラムは同一デス1〜内容が
実?了されるので、画面表ホおよび作用ファイルは全く
同一結果となる。制御プログラムは逐次両方の画面表示
データと作用ファイルを比較処理するので改訂版の正否
判定は自動的に実行され、人手による目視チエツクを不
要とした。In this way, the two programs have the same content. Therefore, the screen table and effect file will have exactly the same result. Since the control program sequentially compares and processes both screen display data and action files, the correctness of the revised version is automatically determined, eliminating the need for manual visual checking.
制御プログラムはテスト全体を統括し、且つ、正否判定
を実行する自動化ツールである。The control program is an automated tool that oversees the entire test and executes pass/fail judgment.
制御プログラムの一つの役割はキーボードおよびマウス
から入力されたテスト手順とテストデータを被テストプ
ログラム改訂版と正否判定の基準となる現行バージョン
の2つに入力データとじて与え、2つのプログラムを同
一手順で並列に実行させる機能である。もう−っの役割
は被テストプログラムの正否判定であり、これは基準と
なる現行バージョンの実行内容と比較することによって
実施される。制御プログラムのこれらの機能により、正
否判定の自動化が計れる。One of the roles of the control program is to provide the test procedure and test data entered from the keyboard and mouse as input data to the revised version of the program under test and the current version that serves as the standard for determining success or failure, and to run the two programs using the same procedure. This is a function to run in parallel. The other role is to determine whether the program under test is correct or not, and this is done by comparing the execution contents of the current standard version. These functions of the control program can automate the determination of success or failure.
以下、本発明の一実施例を第1図と第2図により説明す
る。第工図はハードウェアおよびラフ1ヘウエエの構成
を示す。ハードウェアはワークステーション本体16、
ディスプレイ↓7、キーボード14、マウス15から構
成される。ソフトウェアはマルチタスク・マルチプロセ
スをサポートしている08IIと制御プログラム1、テ
スト対象である被テス1〜プログラム改訂版2、基準と
なる現行バージョン3から構成される。敗力版作成ファ
イル7は被テストプログラム改訂版2が作威し結果デー
タをディスク上に格納するファイルである。同様に現行
作成ファイル9は現行バージョン3が作威し、結果デー
タをディスク上に格納するファイルである。改訂版画面
バッファ8は被テストプログラム改訂版2がディスプレ
イ17の改訂版画面5に表示するために使用するメモリ
上の画面バッファである。同様に現行ll!II曲バッ
ファ10は現行バージョン3がディスプレイの現行画面
6に表示するために使用するメモリ上の画面バッファで
ある。制御用画面4は制御プログラムが比較終了メツセ
ージ等を表示する画面である。An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. The second engineering drawing shows the hardware and rough 1 heue configuration. The hardware is the workstation body 16,
It consists of a display ↓7, a keyboard 14, and a mouse 15. The software consists of 08II, which supports multitasking and multiprocessing, control program 1, test target 1 to program revised version 2, and current version 3, which is the standard. The failure version creation file 7 is a file in which the revised version 2 of the program under test is created and the result data is stored on the disk. Similarly, the currently created file 9 is a file created by the current version 3 and stores the resulting data on the disk. The revised version screen buffer 8 is a screen buffer in memory used for displaying the revised version 2 of the program under test on the revised version screen 5 of the display 17. Similarly, the current ll! II song buffer 10 is a screen buffer in memory that current version 3 uses to display on current screen 6 of the display. The control screen 4 is a screen on which the control program displays a comparison completion message and the like.
第2図のフローチャートによりテスト実行手順を説明す
る。制御プログラムは被テストプログラムを起動する(
A)。続いて現行バージョンを起動する(B)。起動に
よって被テストプログラム改訂版はRIJN状態となり
(P)、改訂版作成ファイルを新規に作威し、続いて初
期画面の内容を改訂版画面バッファに書き込み、改訂版
画面に表示させてプロセスはWA I T状態となる(
Q)。同様に現行バージョンは、O8のプロセススイッ
チにより別プロラセスで並行してRUN状態となり(T
)、現行作成ファイルを新規に作成し、続いて初期画面
の内容を現行画面バッファに書き込み、現行画面に表示
させてプロセスはWAIT状態となる(U)。制御プロ
グラムは被テス1〜プログラム改訂版と現行バージョン
のプロセスがそれぞれRUN状態からWA I T状態
に切り替わることを監視しており(D)、W A I
’l’に移行後比較チエツクを開始する。The test execution procedure will be explained with reference to the flowchart shown in FIG. The control program starts the program under test (
A). Next, start the current version (B). Upon startup, the revised version of the program under test enters the RIJN state (P), creates a new revised version creation file, then writes the contents of the initial screen to the revised version screen buffer, displays it on the revised version screen, and completes the process with WA. Enters IT state (
Q). Similarly, the current version is in a RUN state in parallel in a separate process due to the O8 process switch (T
), creates a new current creation file, then writes the contents of the initial screen to the current screen buffer and displays it on the current screen, and the process enters the WAIT state (U). The control program monitors that the processes under test 1 to the revised version of the program and the current version each switch from the RUN state to the WAIT state (D).
After shifting to 'l', a comparison check is started.
比較対象は先ず改訂版作成ファイルと現行作成ファイル
をバイト単位で比較する(E)。次に画面表示について
はメモリ上の改訂版画面バッファと現行画面バッファを
バイト単位に比較することによって実行する(F)。比
較処理が正常に終了すれば「終了メツセージ」を、不一
致があれば「エラーメッセイジ」を制御用画面に出力す
る(G)。正常終了の時はテスト者のキー入力待ち(H
,)となり、1回分のテストデータが入力されるとこの
データを被テストプログラム改訂版に引き渡す(I)。To compare, first, the revised version created file and the current created file are compared in bytes (E). Next, screen display is performed by comparing the revised screen buffer in memory and the current screen buffer in units of bytes (F). If the comparison process ends normally, a "completion message" is output to the control screen, and if there is a mismatch, an "error message" is output to the control screen (G). When the tester completes normally, the tester waits for key input (H
, ), and when one test data is input, this data is handed over to the revised version of the program under test (I).
続いてテストデータを現行バージョンに引き渡す(J)
。テストデータを受けとると被テストプログラム改訂版
はPtJN状態となり(R)、処理実行後にファイルを
更新、6
し、表、ハ1llll1111を史”Ai シてW A
I U’する(S)。Then pass the test data to the current version (J)
. When the test data is received, the revised version of the program under test enters the PtJN state (R), updates the file after executing the process, and changes the table 1111 to ``Ai''.
I U' (S).
間様に現行バージョンもナス1〜テータを受けとるとR
IJN状態となり(V)、処理実?−1にファイルを更
新し、表示画面を更新してWAll”する(W)。制御
プログラムは被テス1〜ブロクラム改訂版と現行バージ
ョイのプロセスがそれぞれRU NからW A I T
状態に切り賛わることを監視しており(L)、WAI’
l’に移行後比較チエツクを開始する。比較の方法は前
述したとおり、比較終Y後に次のテストデータを入力し
てテス1〜を続行する。When Ma-sama receives the current version of eggplant 1~ta, R
Is it in IJN state (V) and is the process being executed? -1, update the display screen, and execute "WALL" (W). The control program is tested 1 to the revised version of the block and the current Verjoy process, respectively, from RUN to W A I T.
We are monitoring the state of admiration (L), WAI'
After moving to l', a comparison check is started. As described above, the comparison method is to input the next test data after the completion of the comparison Y and continue the tests 1 to 1.
本発明によれば、以上説明したように被テス1へプログ
ラムの画面表示内容および作成ファイルをプログラムで
自動的にチエツクするので、従来テスト結果判定のため
ディスプレイの画面表示内容を目視チエツタしていた作
業がイ・要となる。また作成した文章ファイル・表ファ
イル・データベース等の結果データの11視チエツクも
不要となり、テストの大幅な効率向上が計れる。According to the present invention, as explained above, the program automatically checks the screen display contents of the program and the created file for test subject 1, so that conventionally, the screen display contents of the display had to be visually checked to judge the test result. The work becomes important. Furthermore, it is no longer necessary to visually check the result data such as created text files, table files, databases, etc., and the efficiency of testing can be greatly improved.
第1図は本発1す」の一実施例のラフ1−ウェアおよび
ハードウェアの構成関連図、第2図は第」図でホした制
御プログラムとナス1一対象プラグラムの実行手相のフ
ローチャー1−である。Figure 1 is a rough 1-ware and hardware configuration related diagram of one embodiment of the present invention, and Figure 2 is a flow chart of the execution of the control program and eggplant 1 target program shown in Figure 1. It is 1-.
1・・・・・制御プログラム、 2・・・・・被テス1
〜プログラム改訂版、 3 ・・・現行バージョン
。1...Control program, 2...Test 1
~Program revised version, 3...Current version.
、8, 8
Claims (1)
改訂版と基準になる現行バージョンと制御プログラムか
ら成る構成において、キーボードおよびマウスからのテ
スト手順・テストデータを制御プログラムを経由して改
訂版と現行バージヨンとにそれぞれ入力させて2本のプ
ログラムを同一内容で並列実行させ、実行途中のディス
プレイ画面表示および作成中のファイルを制御プログラ
ムが逐次、比較処理することで改訂版の正否判別を行う
ことを特徴とするプログラムテスト方式1. In a workstation consisting of a revised version of the program under test, a current version that serves as a reference, and a control program, test procedures and test data from the keyboard and mouse are transferred to the revised version and the current version via the control program, respectively. A program characterized in that the control program sequentially compares the display screen display during execution and the file being created, thereby determining whether the revised version is correct or not. Test method
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1321399A JPH03182941A (en) | 1989-12-13 | 1989-12-13 | Program test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1321399A JPH03182941A (en) | 1989-12-13 | 1989-12-13 | Program test system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03182941A true JPH03182941A (en) | 1991-08-08 |
Family
ID=18132116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1321399A Pending JPH03182941A (en) | 1989-12-13 | 1989-12-13 | Program test system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03182941A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0528229A (en) * | 1991-07-19 | 1993-02-05 | Kokusai Electric Co Ltd | Device and method for inspecting screen data |
JPH09120367A (en) * | 1995-10-26 | 1997-05-06 | Nec Corp | Inspection system for charge calculation system program |
JP2002373313A (en) * | 2001-06-15 | 2002-12-26 | Dainippon Printing Co Ltd | System for preparing card issuing data |
-
1989
- 1989-12-13 JP JP1321399A patent/JPH03182941A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0528229A (en) * | 1991-07-19 | 1993-02-05 | Kokusai Electric Co Ltd | Device and method for inspecting screen data |
JPH09120367A (en) * | 1995-10-26 | 1997-05-06 | Nec Corp | Inspection system for charge calculation system program |
JP2002373313A (en) * | 2001-06-15 | 2002-12-26 | Dainippon Printing Co Ltd | System for preparing card issuing data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03182941A (en) | Program test system | |
CN114116498A (en) | Excel file loading-based test method, system and equipment | |
JPH08305609A (en) | Program test method and device | |
JPS59111549A (en) | Test method of program | |
JPH01297738A (en) | Computer testing device | |
JP2795332B2 (en) | Loop processing error detection device | |
JPH0244269A (en) | System for analyzing trouble of lsi | |
JPH036630A (en) | Check system for interactive processing program | |
JPH0231245A (en) | Program test system | |
JPH07219980A (en) | Test execution system | |
JPH0417444B2 (en) | ||
CN106815035B (en) | The method for checking computer system | |
JP2699436B2 (en) | Parameter inspection processing method | |
JPH0228169B2 (en) | ||
JPS6393053A (en) | Program test device | |
JPH11282722A (en) | Program verification method | |
JPS62224833A (en) | Suitability inspecting system of data form | |
JPS63641A (en) | Inputting system for instruction | |
JPS63205760A (en) | Test coverage system for logical simulation | |
JPH02235150A (en) | Information processor | |
JPH07105045A (en) | Debugging system for information processor function test program | |
JPH0594335A (en) | Jcl inspecting system for execution | |
JPS61231607A (en) | Simulation system for iron and steel rolling control system | |
JPH01305445A (en) | System for deciding completion of software test | |
JPH01199240A (en) | Dynamic test device for program |