JPH05204712A - Program test system - Google Patents
Program test systemInfo
- Publication number
- JPH05204712A JPH05204712A JP4010499A JP1049992A JPH05204712A JP H05204712 A JPH05204712 A JP H05204712A JP 4010499 A JP4010499 A JP 4010499A JP 1049992 A JP1049992 A JP 1049992A JP H05204712 A JPH05204712 A JP H05204712A
- Authority
- JP
- Japan
- Prior art keywords
- test
- program
- file
- test data
- tested
- 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
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、プログラムのテスト方
式に関し、特にオンラインシステムにおいて動作するプ
ログラムのテストを実施するときの、テスト手順及びテ
ストデータを記憶、利用する方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program test method, and more particularly to a method for storing and using a test procedure and test data when executing a test of a program operating in an online system.
【0002】[0002]
【従来の技術】従来、オンラインプログラムのテスト実
施においては、最初に、そのプログラムのテスト仕様書
を作成し、次にそのプログラムの起動をかけ、テスト仕
様書にもとづき、対話形式でテストデータを入力する。
テストデータ入力し終えたらその結果をディスプレイ及
びプリンタに出力し、出力された結果をテスト仕様と照
らし合わせながら確認を行う。2. Description of the Related Art Conventionally, in the test execution of an online program, first, a test specification of the program is created, then the program is activated, and test data is input interactively based on the test specification. To do.
After inputting the test data, the result is output to the display and printer, and the output result is checked against the test specifications.
【0003】通常、プログラムのテストは複数回行われ
るが、1回目以降は、テスト仕様書の作成は不用で、プ
ログラムを起動し、テストデータを入力し、出力結果の
確認までを行っている。Normally, a program is tested a plurality of times, but after the first time, the creation of test specifications is unnecessary, the program is started, test data is input, and the output result is confirmed.
【0004】[0004]
【発明が解決しようとする課題】上述した従来のオンラ
インプログラムのテスト実施においては、同じプログラ
ムの同じ内容のテストを行う時に、毎回テスト仕様書を
見ながらテストデータを入力しなければならず、最初に
入力したテストデータの値や条件や入力手順を間違えや
すいという欠点がある。In the above-described conventional online program test execution, when testing the same content of the same program, test data must be entered every time while looking at the test specifications. There is a drawback that it is easy to make mistakes in the values and conditions of the test data entered in and the input procedure.
【0005】また、出力結果も過去に出力した結果を次
回のテストのために、リストで保存しなければならず、
保管スペースを確保する必要があり、また、作業に手間
がかかるという欠点がある。In addition, as for the output result, the result output in the past must be saved in a list for the next test,
There is a drawback that it is necessary to secure a storage space, and the work is time-consuming.
【0006】本発明の目的は、テストデータを入力する
キーボード1と、入力内容を表示するディスプレイ2
と、テストデータを出力するプリンタ3と、入力された
テストデータを記憶するテストデータファイル7と、キ
ーボード1の打鍵情報を記憶するテスト手順ファイル8
と、テスト結果を記憶するテスト結果ファイル9と、こ
れらを管理するテスト管理プログラム5とから構成さ
れ、テスト管理プログラム5によりオンラインプログラ
ム6のテストを行い、一度テストを行ったオンラインプ
ログラム6に対して何度でも同じテストデータと同じ手
順でテストを実施し、テストを行うたびに、その結果を
全部チェックしないで、前回のテスト結果との比較を行
うことにより、上記の欠点を解消し、均一な品質のテス
トが行え、テストデータやテスト手順をテストしながら
変更できるので、プログラムの部分的なテストも実施で
き、プログラムの品質を向上し、保管スペース及び作業
時間を削減することができるプログラムテスト方式を提
供することにある。An object of the present invention is to provide a keyboard 1 for inputting test data and a display 2 for displaying the input contents.
A printer 3 for outputting test data, a test data file 7 for storing the input test data, and a test procedure file 8 for storing keystroke information of the keyboard 1.
And a test result file 9 for storing the test results, and a test management program 5 for managing them, the online program 6 is tested by the test management program 5, and the online program 6 once tested is tested. Perform the test with the same test data as many times as you like, do not check all the results every time you do the test, and compare it with the previous test result to eliminate the above-mentioned drawbacks Program test method that can perform quality test and can change test data and test procedure while testing, so that partial program test can be performed, program quality can be improved, and storage space and working time can be reduced. To provide.
【0007】[0007]
【課題を解決するための手段】本発明のプログラムテス
ト方式は、テストデータによりオンラインプログラムの
テストを行うプログラムテスト方式において、テストデ
ータを入力するキーボードと、入力されたテストデータ
の入力内容を表示するディスプレイと、テスト結果の内
容を出力するプリンタと、入力されたテストデータを記
憶するテストデータファイルと、キーボードからの打鍵
情報を記憶するテスト手順ファイルと、テスト結果を記
憶するテスト結果ファイルと、テストを管理するテスト
管理プログラムとを有し、テスト管理プログラムにより
オンラインプログラムのテストを実施し、そのテスト結
果によりテストデータファイルとテスト手順ファイルと
テスト結果ファイルの内容を書き換え、再度その内容を
使用し、テストを行っている。According to the program test method of the present invention, a keyboard for inputting test data and an input content of the input test data are displayed in the program test method for testing an online program with test data. A display, a printer that outputs the contents of the test results, a test data file that stores the input test data, a test procedure file that stores the keystroke information from the keyboard, a test result file that stores the test results, and a test Has a test management program that manages, conducts online program tests by the test management program, rewrites the contents of the test data file, test procedure file, and test result file with the test results, and uses the contents again, Test You have me.
【0008】[0008]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0009】図1は本発明の一実施例のプログラムテス
ト方式を使用したシステムのブロック図である。FIG. 1 is a block diagram of a system using a program test method according to an embodiment of the present invention.
【0010】図1において、本実施例のプログラムテス
ト方式を使用したシステムは、キーボード1と、ディス
プレイ2と、プリンタ3と、テスト管理プログラム5と
テスト対象プログラム6とを有するCPU4と、テスト
データファイル7と、テスト手順ファイル8と、テスト
結果フアイル9とから構成されている。In FIG. 1, a system using the program test method of the present embodiment includes a keyboard 1, a display 2, a printer 3, a CPU 4 having a test management program 5 and a test target program 6, and a test data file. 7, a test procedure file 8 and a test result file 9.
【0011】ここで、オンラインプログラムであるテス
ト対象プログラム6のテストを初めて行う時は、まず、
テスト仕様書を作成し、次にテスト管理プログラム5を
起動する。その後、テスト対象プログラム6を起動し、
テスト仕様書を基に、キーボード1からテストデータを
入力し、テストを行う。この時、テスト管理プログラム
5は、キーボード1から入力されたテストデータにプロ
グラム名、入力手順番号等を付加し、テストデータファ
イル7に出力し、キーボード1の打鍵情報にプログラム
名を付加してテスト手順フアィル8へ出力する。When the test target program 6 which is an online program is tested for the first time, first of all,
A test specification is created, and then the test management program 5 is started. After that, start the test target program 6,
Based on the test specifications, test data is input from the keyboard 1 to perform the test. At this time, the test management program 5 adds the program name, the input procedure number, etc. to the test data input from the keyboard 1 and outputs it to the test data file 7, and adds the program name to the keystroke information of the keyboard 1 to perform the test. Output to the procedure file 8.
【0012】テストの結果、プリンタ3に出力されるテ
スト結果もプログラム名を付加してテスト結果ファイル
9に出力しておく。As a result of the test, the test result output to the printer 3 is also output to the test result file 9 with the program name added.
【0013】2回目以降テスト対象プログラム6のテス
トを行う時、テストデータ及びキーボード打鍵内容が同
じなら、テストデータファイル7とテスト手順ファイル
8を入力し、テスト管理プログラム5が自動的にテスト
対象プログラム6のテストを行う。出力された結果をテ
スト結果ファイル9の内容と比較し、チェックする。テ
ストデータ及びキーボード打鍵内容が前回と違うなら、
テストデータファイル7とテスト手順ファイル8を入力
し、テスト管理プログラム5の行うテスト対象プログラ
ム6のテストを随時、停止させながら、テストデータや
打鍵キーを変更し、テストを実施する。その時、テスト
管理プログラム5は、テストデータファイル7とテスト
手順ファイル8とテスト結果ファイル9を書き換える。When the test target program 6 is tested for the second time and thereafter, if the test data and keyboard keystroke contents are the same, the test data file 7 and the test procedure file 8 are input, and the test management program 5 automatically selects the test target program. Perform 6 tests. The output result is compared with the content of the test result file 9 and checked. If the test data and keyboard keystrokes are different from the last time,
The test data file 7 and the test procedure file 8 are input, and while the test of the test target program 6 performed by the test management program 5 is stopped at any time, the test data and keystroke keys are changed and the test is performed. At that time, the test management program 5 rewrites the test data file 7, the test procedure file 8, and the test result file 9.
【0014】[0014]
【発明の効果】以上説明したように、本発明のプログラ
ムテスト方式は、一度テストを行ったプログラムで、何
度でも同じテストデータと同じ手順でテストを実施し、
テストを行うたびに、結果を全部チェックしないで、前
回のテスト結果との比較をに行うことにより、均一な品
質のテストが行え、テストデータやテスト手順をテスト
しながら変更できるので、プログラムの部分的なテスト
も実施でき、プログラムの品質を向上し、保管スペース
及び作業時間を削減することができるという効果があ
る。As described above, according to the program test method of the present invention, a test is performed once, and the same test data and the same procedure are repeatedly used to perform the test.
By not comparing all the results with each test, and comparing it with the previous test result, you can perform uniform quality test and change the test data and test procedure while testing. It also has the effect of improving program quality, reducing storage space and working time.
【図1】本発明の一実施例のプログラムテスト方式を使
用したシステムのブロック図である。FIG. 1 is a block diagram of a system using a program test method according to an embodiment of the present invention.
1 キーボード 2 ディスプレイ 3 プリンタ 4 CPU 5 テスト管理プログラム 6 テスト対象プログラム 7 テストデータファイル 8 テスト手順ファイル 9 テスト結果フアイル 1 keyboard 2 display 3 printer 4 CPU 5 test management program 6 test target program 7 test data file 8 test procedure file 9 test result file
Claims (1)
ムのテストを行うプログラムテスト方式において、前記
テストデータを入力するキーボードと、前記入力された
テストデータの入力内容を表示するディスプレイと、テ
スト結果の内容を出力するプリンタと、前記入力された
テストデータを記憶するテストデータファイルと、前記
キーボードからの打鍵情報を記憶するテスト手順ファイ
ルと、テスト結果を記憶するテスト結果ファイルと、前
記テストを管理するテスト管理プログラムとを有し、前
記テスト管理プログラムにより前記オンラインプログラ
ムのテストを実施し、そのテスト結果により前記テスト
データファイルと前記テスト手順ファイルと前記テスト
結果ファイルの内容を書き換え、再度その内容を使用
し、テストを行うことを特徴とするプログラムテスト方
式。1. In a program test method for testing an online program with test data, a keyboard for inputting the test data, a display for displaying the input contents of the input test data, and a content for the test result are output. A printer, a test data file that stores the input test data, a test procedure file that stores keystroke information from the keyboard, a test result file that stores test results, and a test management program that manages the test. The above-mentioned test management program is used to perform a test of the online program, and the contents of the test data file, the test procedure file, and the test result file are rewritten according to the test results, and the contents are used again to perform the test What to do Program test method characterized by.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4010499A JPH05204712A (en) | 1992-01-24 | 1992-01-24 | Program test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4010499A JPH05204712A (en) | 1992-01-24 | 1992-01-24 | Program test system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05204712A true JPH05204712A (en) | 1993-08-13 |
Family
ID=11751892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4010499A Pending JPH05204712A (en) | 1992-01-24 | 1992-01-24 | Program test system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05204712A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62274438A (en) * | 1986-05-23 | 1987-11-28 | Mitsubishi Electric Corp | Program testing system |
JPH01297738A (en) * | 1988-05-26 | 1989-11-30 | Meidensha Corp | Computer testing device |
JPH0338956A (en) * | 1989-07-05 | 1991-02-20 | Nec Corp | Automatic test equipment |
-
1992
- 1992-01-24 JP JP4010499A patent/JPH05204712A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62274438A (en) * | 1986-05-23 | 1987-11-28 | Mitsubishi Electric Corp | Program testing system |
JPH01297738A (en) * | 1988-05-26 | 1989-11-30 | Meidensha Corp | Computer testing device |
JPH0338956A (en) * | 1989-07-05 | 1991-02-20 | Nec Corp | Automatic test equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2000112784A (en) | Program test support device and storage medium recording program test support program | |
JP7268759B2 (en) | TEST DATA GENERATION DEVICE, TEST DATA GENERATION METHOD, AND PROGRAM | |
JPH05204712A (en) | Program test system | |
JPH01297738A (en) | Computer testing device | |
JPH0713809A (en) | Program evaluation system | |
JPH04281536A (en) | Program retest system for conversational tool | |
KR102658305B1 (en) | Work schedule creation system and work schedule creation method | |
JPH11143743A (en) | Message classifying method and device therefor | |
JP3506518B2 (en) | Review support device | |
JPS62102339A (en) | Program tracing device | |
JPS6274130A (en) | Data generating system for program structure | |
JPH02113343A (en) | Generation system for test program execution control procedure | |
JPH03182941A (en) | Program test system | |
JP2746180B2 (en) | Program test support management device and program test support management method | |
CN114371997A (en) | Method and device for verifying software and hardware configuration and logic diagram of relay protection device | |
JPH06348542A (en) | Computer system test assisting device | |
JPH0497448A (en) | Interactive type simplex testing system | |
JP2020129315A (en) | Data list check device and data list check method | |
JPH04135247A (en) | Factor trace-back system at end of program abnormality | |
JPH04100161A (en) | Method and device for estimating software reliability | |
JPH05233349A (en) | Automatic test tool for program module | |
US20060225063A1 (en) | Method for configuring non-script language library files to be run as scripts | |
JPH06332679A (en) | Information processor | |
JPH04326467A (en) | Work introducing method | |
JPH0728647A (en) | Processing speed improvement system for expert system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19980421 |