JPH01261738A - Test module for interactive system - Google Patents

Test module for interactive system

Info

Publication number
JPH01261738A
JPH01261738A JP63090559A JP9055988A JPH01261738A JP H01261738 A JPH01261738 A JP H01261738A JP 63090559 A JP63090559 A JP 63090559A JP 9055988 A JP9055988 A JP 9055988A JP H01261738 A JPH01261738 A JP H01261738A
Authority
JP
Japan
Prior art keywords
data
combinations
module
modules
procedure
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
Application number
JP63090559A
Other languages
Japanese (ja)
Inventor
Riyousuke Jiyoutsuka
定塚 良介
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP63090559A priority Critical patent/JPH01261738A/en
Publication of JPH01261738A publication Critical patent/JPH01261738A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To completely inspect almost infinite combinations by sequentially generating inspection procedure. CONSTITUTION:An inspection procedure generating part 2 generates the combinations of modules to be inspected sequentially or at random and removes the combinations of unexecutable modules in accordance with an illegal procedure data part 3 to find out the combinations of executable modules. A control part 1 reads out the information of input data required for the detected modules from an interface data part 4 and generates necessary input data at random respectively from an integer data generating part 5, a real number data generating part 6 and a character string data generating part 7. Thus, the control part 1 executes the inspection of a module called from a module calling part 8 on the basis of the found data. A series of these procedure is repeatedly executed by the control part 1 up to the end of all the combinations. Consequently, all the combinations can be almost completely inspected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は対話型システムの各モジュールを検査する対話
型システム用テストモジュールに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test module for an interactive system that tests each module of the interactive system.

〔従来の技術〕[Conventional technology]

対話型システムは、一般的に第3図に示す構成となって
いる。従来、このような対話型システムの検査は、端末
11よりコマンドの選択とデータの入力を行い、対話制
御部12とコマンド処理部・13を介して、統合制御部
141画面制御部15゜作業場制御部16および共通制
御部17等各モジュールの検査を行っていた。
An interactive system generally has a configuration shown in FIG. Conventionally, inspection of such an interactive system involves selecting commands and inputting data from the terminal 11, and then controlling the integrated control unit 141, screen control unit 15, and workplace control unit 15 through the interaction control unit 12 and command processing unit 13. Each module, including the section 16 and the common control section 17, was inspected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の対話型システムの検査は、検査対象とな
る各モジュールの上位モジュールに当る対話制御部とコ
マンド処理部を介して行われるため、検査されない組み
合せが発生する。そのため、モジュールとしての検査が
完全に行われないので、他のモジュールの修正などによ
り、今まで使われていなかった組み合せが使われるよう
になったとき、不具合が発生する可能性がある。
Inspection of the conventional interactive system described above is performed via the interaction control section and command processing section, which are upper modules of each module to be inspected, so that some combinations are not inspected. Therefore, since the module is not completely inspected, a problem may occur when a combination that has not been used before is used due to modification of another module.

また、対話制御部を介するため、検査するときのデータ
の入力等は手作業により行われるので、検査項目数とし
て満足できるだけの検査を行うためには、多大な時間を
要してしまうという問題点がある。
In addition, since data input during inspection is done manually because it is done through the dialog control unit, it takes a lot of time to perform an inspection that satisfies the number of inspection items. There is.

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

本発明の対話型システム用テストモジュールは、実行不
可能なモジュールの組合せを格納した不正手順データ部
と、 検査するモジュールの全組合せをシーケンシャルに発生
するが、これらのうち前記不正手順データ部の内容に合
致するものは排除する組合せ検査手順発生部と、 前記検査するモジュールのインタフェースデータを格納
したインタフェースデータ部と、前記インタフェースデ
ータに基づき検査に必要な入力データをランダムに発生
させるデータ発生部と、 前記入力データにより前記検査するモジュールを呼び出
し実行させるモジュール呼び出し部とを有することを特
徴とする。
The test module for an interactive system of the present invention sequentially generates an incorrect procedure data section storing combinations of unexecutable modules and all combinations of modules to be tested. a combination test procedure generation unit that excludes those that match the above; an interface data unit that stores interface data of the module to be tested; a data generation unit that randomly generates input data necessary for testing based on the interface data; The present invention is characterized by comprising a module calling unit that calls and executes the module to be inspected based on the input data.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示したものである。FIG. 1 shows an embodiment of the present invention.

第1図において、制御部1は、対話型システム用自動テ
ストモジュール全体を制御し、不正手順データ部3は、
システムで実行不可能なモジュールの組合せを予め格納
している。
In FIG. 1, a control unit 1 controls the entire automatic test module for an interactive system, and a fraudulent procedure data unit 3
Combinations of modules that cannot be executed by the system are stored in advance.

検査手順発生部2は、検査するモジュールの組合せをシ
ーケンシャルまたはランダムに発生させ、実行不可能な
モジュールの組合せは、不正手順データ部3の内容によ
り排除し、実行可能な組合せを求める。
The inspection procedure generating section 2 sequentially or randomly generates combinations of modules to be inspected, eliminates infeasible module combinations according to the contents of the incorrect procedure data section 3, and finds executable combinations.

制御部1は、求められたモジュールが必要とする入力デ
ータの情報(入力データの個数、入力データの型、デー
タ値の範囲等)をインタフェースデータ部4か゛ら読み
込み、その入力データの情報から、必要とする入力デー
タを、整数、実数データ、文字列データの別に応じてそ
れぞれ整数データ発生部5.実数データ発生部6および
文字列データ発生部7によりランダムに発生させる。
The control unit 1 reads information on input data required by the obtained module (number of input data, type of input data, range of data values, etc.) from the interface data unit 4, and reads necessary information from the information on the input data. The integer data generator 5. inputs input data according to whether it is an integer, real number data, or character string data. The real number data generator 6 and the character string data generator 7 randomly generate the data.

これらから求められたデータにより、モジュール呼び出
し部8から検査するモジュールを実行する。
Based on the data obtained from these, the module calling section 8 executes the module to be inspected.

入力データおよび実行結果はジャーナル部8から検査す
るモジュールを実行する。
The input data and execution results are sent from the journal section 8 to execute the module to be inspected.

入力データおよび実行結果はジャーナル出力部9により
出力される。これら一連の手順を指定された回数または
全ての組合せが終了するまで、制御部1によって繰返し
実行させる。
Input data and execution results are output by the journal output unit 9. The control unit 1 repeatedly executes these series of procedures a specified number of times or until all combinations are completed.

第2図は、本実施例の対話型システム検査モジュールを
第3図の対話型システムに組み込んだ場合における、各
モジュールの呼び出し状態を示したものである。
FIG. 2 shows the calling state of each module when the interactive system testing module of this embodiment is incorporated into the interactive system of FIG.

なお、検査手順発生部2が検査手順をランダムに発生さ
せることにより、ランダムな検査を行える。これに、デ
ータをランダムに発生させる機能を組み合せることによ
って、モジュールの検査をほぼ完璧に行うことができる
Note that random testing can be performed by the testing procedure generating section 2 randomly generating testing procedures. By combining this with a function that randomly generates data, module inspection can be performed almost perfectly.

また、以上のような検査は、自動的に実行させることが
できるため、対話的に検査を行う場合に比べ、大幅に時
間を短縮することができる。
Further, since the above-described inspection can be automatically executed, the time can be significantly reduced compared to the case where the inspection is performed interactively.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、検査手順をシーケンシャ
ルに発生させることにより、無限に近い組み合せを漏れ
がなく検査することができる。
As explained above, the present invention can test nearly infinite combinations without omission by sequentially generating test procedures.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の一実施例を示す構成図、第2図は本
発明のテストモジュールを対話型システムに組み込んだ
構成図、第3図は一般的な対話型システムの構成図であ
る。 1・・・制御部、2・・・検査手順発生部、3・・・不
正手順データ部、4・・・インタフェースデータ部、5
・・・整数データ発生部、6・・・実数データ発生部、
7・・・文字列データ発生部、8・・・モジュール呼び
出し部、9・・・ジ斗−ナル出力部、11・・・端末装
置、12・・・対話制御部、13・・・コマンド処理部
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a block diagram showing a test module of the present invention incorporated into an interactive system, and Fig. 3 is a block diagram of a general interactive system. . DESCRIPTION OF SYMBOLS 1... Control part, 2... Inspection procedure generation part, 3... Unauthorized procedure data part, 4... Interface data part, 5
...Integer data generation section, 6...Real number data generation section,
7... Character string data generation unit, 8... Module calling unit, 9... Digital output unit, 11... Terminal device, 12... Dialogue control unit, 13... Command processing Department.

Claims (1)

【特許請求の範囲】 実行不可能なモジュールの組合せを格納した不正手順デ
ータ部と、 検査するモジュールの全組合せをシーケンシャルに発生
するが、これらのうち前記不正手順データ部の内容に合
致するものは排除する組合せ検査手順発生部と、 前記検査するモジュールのインタフェースデータを格納
したインタフェースデータ部と、 前記インタフェースデータに基づき検査に必要な入力デ
ータをランダムに発生させるデータ発生部と、 前記入力データにより前記検査するモジュールを呼び出
し実行させるモジュール呼び出し部とを有することを特
徴とする対話型システム用テストモジュール。
[Claims] An incorrect procedure data section storing combinations of modules that cannot be executed and all combinations of modules to be inspected are sequentially generated, and among these, only those that match the contents of the incorrect procedure data section are generated. a combination test procedure generating section to be excluded; an interface data section storing interface data of the module to be tested; a data generating section randomly generating input data necessary for testing based on the interface data; A test module for an interactive system, comprising a module calling unit that calls and executes a module to be tested.
JP63090559A 1988-04-12 1988-04-12 Test module for interactive system Pending JPH01261738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63090559A JPH01261738A (en) 1988-04-12 1988-04-12 Test module for interactive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63090559A JPH01261738A (en) 1988-04-12 1988-04-12 Test module for interactive system

Publications (1)

Publication Number Publication Date
JPH01261738A true JPH01261738A (en) 1989-10-18

Family

ID=14001772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63090559A Pending JPH01261738A (en) 1988-04-12 1988-04-12 Test module for interactive system

Country Status (1)

Country Link
JP (1) JPH01261738A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5118812A (en) * 1986-12-09 1992-06-02 Fuji Photo Film Co., Ltd. Pyrazoloazole series couplers
US5508421A (en) * 1991-06-07 1996-04-16 Fuji Photo Film Co., Ltd. Pyrrolotriazole azomethine dye, and heat transfer dye providing material containing a pyrrolotriazole azomethine dye

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5118812A (en) * 1986-12-09 1992-06-02 Fuji Photo Film Co., Ltd. Pyrazoloazole series couplers
US5508421A (en) * 1991-06-07 1996-04-16 Fuji Photo Film Co., Ltd. Pyrrolotriazole azomethine dye, and heat transfer dye providing material containing a pyrrolotriazole azomethine dye

Similar Documents

Publication Publication Date Title
US7062753B1 (en) Method and apparatus for automated software unit testing
JPH01261738A (en) Test module for interactive system
JP2585460B2 (en) Test data creation method
JP2803369B2 (en) Inspection method for interactive system
JP2786780B2 (en) Test specification generation apparatus and method
JPH04281536A (en) Program retest system for conversational tool
JPH10232795A (en) Software component combination test method
JPH07191102A (en) Automatic inspection line producer
JPH04102128A (en) Testing device for information processor
JPH06242943A (en) Source code level debugging device
JPS61138184A (en) Hardware confirmation method of tester by test program
JP2932987B2 (en) Automatic test equipment for computer systems
JPS61110244A (en) Testing system of information processor
JPH04101240A (en) Testing system for replaceable software
JPH0895817A (en) Method for testing information processor
JPH0778096A (en) Program test system
JP2001051875A (en) Software testing device
JPH04102931A (en) Testing system for information processor
JPH02147872A (en) Scan-out operation circuit
JP2001134468A (en) Device and method for testing gui program test
JPH10340346A (en) Image processor
JPH05165678A (en) Software inspection result display method
JPH04160648A (en) Automatic system inspector
JPH02115941A (en) Information processor test system
JPH04307636A (en) Program test system