JPH04116734A - Automatic execution device for test program - Google Patents
Automatic execution device for test programInfo
- Publication number
- JPH04116734A JPH04116734A JP2236688A JP23668890A JPH04116734A JP H04116734 A JPH04116734 A JP H04116734A JP 2236688 A JP2236688 A JP 2236688A JP 23668890 A JP23668890 A JP 23668890A JP H04116734 A JPH04116734 A JP H04116734A
- Authority
- JP
- Japan
- Prior art keywords
- test program
- test
- program
- catalog
- execution 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 claims abstract description 23
- 239000000284 extract Substances 0.000 claims description 3
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はテストプログラム自動実行装置に関し、特にプ
ログラム開発のテスト工程に用いられる多数のテストプ
ログラムを実行するためのテストプログラム自動実行装
置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic test program execution apparatus, and more particularly to an automatic test program execution apparatus for executing a large number of test programs used in the test process of program development.
従来、この種のテストプログラム自動実行装置は、ライ
ブラリに多数のテストプログラムを格納しておき、ライ
ブラリのメンバ(構成要素)名を読込む手段を用いてテ
ストプログラムの自動実行を行なわせるようになってい
る。Conventionally, this type of automatic test program execution device stores a large number of test programs in a library, and automatically executes the test programs by reading the names of the members (components) of the library. ing.
上述した従来のテストプログラム自動実行装置は、メン
バ全体あるいはメンバ名に特定の規則(先頭何文字かが
同一である等)を持つものを自動実行の対象としている
ので、不成功に終わったテストプログラムだけに対して
自動実行をする必要があるテスト工程で使用する場合に
は、不成功に終ったテストプログラムのメンバの再構成
が必要になるという欠点がある。The conventional test program automatic execution device described above automatically executes all members or member names that have specific rules (such as the first few characters being the same), so it is possible to automatically execute an unsuccessful test program. When used in a testing process where automatic execution is required only for the test program, it has the disadvantage that it requires reconfiguration of the members of the test program that are unsuccessful.
本発明のテストプログラム自動実行装置は、複数のテス
トプログラムを格納したプログラムライブラリから指定
された複数のテストプログラム名に従って順次テストプ
ログラムを抜出して実行するテストプログラム自動実行
装置において、テストプログラム名が格納されている第
1のカタログファイルからテストプログラム名を一つず
つ読込むカタログ入力手段と、このカタログ入力手段に
より読込まれたテストプログラム名をもつテストプログ
ラムをテストプログラムライブラリから抜出して実行す
るテストプログラム起動手段と、このテストプログラム
起動手段により起動されたテストプログラムの実行結果
から再テストの必要性を判断するテストプログラム監視
手段と、このテストプログラム監視手段から受けたテス
トプログラム名を第2のカタログファイルに書出すカタ
ログ出力手段とを有することにより構成される。The automatic test program execution device of the present invention is an automatic test program execution device that sequentially extracts and executes test programs according to a plurality of test program names specified from a program library storing a plurality of test programs. a catalog input means for reading test program names one by one from a first catalog file, and a test program starting means for extracting from a test program library and executing a test program having the test program name read by the catalog input means. and test program monitoring means for determining the necessity of retesting from the execution results of the test program started by this test program starting means, and writing the test program name received from this test program monitoring means into a second catalog file. and a catalog output means for outputting the catalog.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の機能ブロック図である。第
1図の実施例は自動実行すべきテストプログラムのテス
トプログラム名を格納しているカタログファイル1と、
複数のテストプログラムを格納しているテストプログラ
ムライブラリ2と、テスト結果が不成功に終わり再実行
する必要のあるテストプログラムのテストプログラム名
を格納するためのカタログファイル3と、テストプログ
ラム自動実行装置4とから構成される。テストプログラ
ム自動実行装置4は、カタログファイル1から実行すべ
きテストプログラム名を読込むためのカタログ入力手段
41と、カタログ入力手段41から通知されたテストプ
ログラム名を持つテストプログラムをテストプログラム
ライブラリ2から抜出して実行するためのテストプログ
ラム起動手段42と、テストプログラム起動手段42に
より起動したテストプログラムの終了と成功/不成功と
を監視するためのテストプログラム監視手段43と、テ
ストプログラム監視手段43により不成功と判断された
テストプログラムのテストプログラム名をカタログ入力
手段41で使用したカタログファイル1とは別のカタロ
グファイル3へ出力するためのカタログ出力手段44と
により構成され、このテストプログラム自動実行装置4
は1つのプログラムにより構成することもできる。FIG. 1 is a functional block diagram of an embodiment of the present invention. The embodiment shown in FIG. 1 includes a catalog file 1 storing test program names of test programs to be automatically executed;
A test program library 2 that stores a plurality of test programs, a catalog file 3 that stores test program names of test programs that have failed in test results and need to be re-executed, and a test program automatic execution device 4. It consists of The test program automatic execution device 4 includes a catalog input means 41 for reading the name of the test program to be executed from the catalog file 1, and extracts a test program having the test program name notified from the catalog input means 41 from the test program library 2. A test program starting means 42 for executing the test program; a test program monitoring means 43 for monitoring the completion and success/failure of the test program started by the test program starting means 42; and a catalog output means 44 for outputting the test program name of the determined test program to a catalog file 3 different from the catalog file 1 used by the catalog input means 41, and this test program automatic execution device 4
can also be configured by one program.
第2図は第1図の実施例のテストプログラム自動実行装
置4をプログラムを用いて構成した場合のフローチャー
トである。プログラムの実行が開始されると、カタログ
ファイル1のデータ(テストプログラム名)が終了であ
るがどうがを判断しくステップ411)、カタログファ
イル1のデータ(テストプログラム名)が終了であれば
(ステップ411でYES)、プログラムは終了する。FIG. 2 is a flowchart when the test program automatic execution device 4 of the embodiment shown in FIG. 1 is configured using a program. When the execution of the program starts, it is determined whether the data (test program name) of catalog file 1 is finished (step 411), or if the data (test program name) of catalog file 1 is finished (step 411). 411: YES), the program ends.
カタログファイル1のデータ(テストプログラム名)が
終了でなければ(ステップ411でNO)、カタログフ
ァイル1からデータ(テストプログラム名)を一つ読込
む(ステップ412)。次に、読込んだテストプログラ
ム名に基づいてジョブステップを作成しくステップ42
1)、本プログラムが動作しているジョブとは別のジョ
ブにステップ421で生成したジョブステップを起動す
る(ステップ422)。次に、ステップ422で起動し
たジョブの状態を監視しくステップ431)、ジョブが
終了するとくステップ432でYES)、テスト結果を
判断しくステップ433)、テスト結果が成功であれば
(ステップ433でYES)、ステップ411に戻る。If the data (test program name) in catalog file 1 is not completed (NO in step 411), one piece of data (test program name) is read from catalog file 1 (step 412). Next, step 42 creates a job step based on the loaded test program name.
1) Start the job step generated in step 421 in a job different from the job in which this program is running (step 422). Next, the status of the job started in step 422 is monitored (step 431), and when the job is finished (YES in step 432), the test result is judged (step 433), and if the test result is successful (YES in step 433). ), the process returns to step 411.
最後に、テスト結果が不成功であれば(ステップ433
でNO)、テスト結果が不成功に終わったテストプログ
ラムのテストプログラム名をカタログファイル3へ書出
しくステップ441)、ステップ411に戻り、カタロ
グファイlし1のデータ(テストプログラム名)が終了
するまでテストプログラムの実行を行う。Finally, if the test result is unsuccessful (step 433
(NO), write the test program name of the test program whose test result was unsuccessful to catalog file 3 (step 441), return to step 411, and continue writing the catalog file 1 until the data (test program name) is completed. Execute the test program.
以上説明したように本発明は、複数のテストプログラム
を全て実行した後にカタログファイル3に出力されたテ
ストプログラム名をカタログファイル1に転写すること
により、不成功に終わったテストプログラムだけを容易
に再実行することができる効果がある。As explained above, the present invention transfers the test program name output to the catalog file 3 to the catalog file 1 after all of the plurality of test programs have been executed, thereby easily replaying only the test programs that were unsuccessful. There are effects that can be implemented.
第1図は本発明の一実施例の機能ブロック図、第2図は
第1図の実施例のテストプログラム自動実行装置4をプ
ログラムを用いて構成した場合のフローチャートである
。
1.3・・・カタログファイル、2・・・テストプログ
ラムライブラリ、4・・・テストプログラム自動実行装
置、41・・・カタログ入力手段、42・・・テストプ
ログラム起動手段、43・・・テストプログラム監視手
段、44・・・カタログ出力手段。FIG. 1 is a functional block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart when the test program automatic execution device 4 of the embodiment of FIG. 1 is configured using a program. 1.3... Catalog file, 2... Test program library, 4... Test program automatic execution device, 41... Catalog input means, 42... Test program starting means, 43... Test program Monitoring means, 44... Catalog output means.
Claims (1)
ラリから指定された複数のテストプログラム名に従って
順次テストプログラムを抜出して実行するテストプログ
ラム自動実行装置において、テストプログラム名が格納
されている第1のカタログファイルからテストプログラ
ム名を一つずつ読込むカタログ入力手段と、このカタロ
グ入力手段により読込まれたテストプログラム名をもつ
テストプログラムをテストプログラムライブラリから抜
出して実行するテストプログラム起動手段と、このテス
トプログラム起動手段により起動されたテストプログラ
ムの実行結果から再テストの必要性を判断するテストプ
ログラム監視手段と、このテストプログラム監視手段か
ら受けたテストプログラム名を第2のカタログファイル
に書出すカタログ出力手段とを有することを特徴とする
テストプログラム自動実行装置。In a test program automatic execution device that sequentially extracts and executes test programs according to a plurality of test program names specified from a program library storing a plurality of test programs, a test program is extracted from a first catalog file in which test program names are stored. a catalog input means for reading test program names one by one; a test program starting means for extracting and executing a test program having the test program name read by the catalog input means from a test program library; The present invention is characterized by comprising a test program monitoring means for determining the necessity of retesting from the execution results of the test program, and a catalog output means for writing the test program name received from the test program monitoring means into a second catalog file. Test program automatic execution device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2236688A JPH04116734A (en) | 1990-09-06 | 1990-09-06 | Automatic execution device for test program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2236688A JPH04116734A (en) | 1990-09-06 | 1990-09-06 | Automatic execution device for test program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04116734A true JPH04116734A (en) | 1992-04-17 |
Family
ID=17004301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2236688A Pending JPH04116734A (en) | 1990-09-06 | 1990-09-06 | Automatic execution device for test program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04116734A (en) |
-
1990
- 1990-09-06 JP JP2236688A patent/JPH04116734A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6240529B1 (en) | Debugging method and debugging apparatus for microcomputer system and recording medium on which debug program is recorded | |
EP1171821A1 (en) | Method and apparatus for automated software testing | |
JPH04116734A (en) | Automatic execution device for test program | |
JPH0731617B2 (en) | Program runaway detection method | |
JPH0440725B2 (en) | ||
JP3110391B2 (en) | Program re-execution method | |
JP2533532B2 (en) | Online test method | |
JP3130798B2 (en) | Bus transfer device | |
JP2633874B2 (en) | Extension processing method | |
JPH05158822A (en) | Instruction combining test device for transferring device | |
JP2000267866A (en) | Device for acquiring end state of two-stage process | |
JPS62239241A (en) | Automatic evaluation method for interactive data processing program | |
JP2001166966A (en) | Method for managing execution environment of program to be tested in debugger | |
JP2910548B2 (en) | Data check device | |
JPH09218829A (en) | Write testing method for external storage and information processing system adopting the same | |
JPH11259338A (en) | Automatic os test system and storage medium for recording program for automatic os test | |
JPH04225442A (en) | Matching property check method for computer file system | |
JPH04332050A (en) | Debugger to be restarted from interrupted point at the time of restarting | |
JPH0546427A (en) | Online system | |
JPH05241971A (en) | Restoring method for data on memory | |
JPH04167138A (en) | Program loading system | |
JPH0253148A (en) | Debugging method for test program for input/output device | |
JPH04324525A (en) | Program transplantation supporting device | |
JPS62177633A (en) | Automatic restart processing system for inspection package job | |
JPH0279271A (en) | Fault processing system for magnetic disk device |