JPH07191880A - Test supporting device - Google Patents

Test supporting device

Info

Publication number
JPH07191880A
JPH07191880A JP5329291A JP32929193A JPH07191880A JP H07191880 A JPH07191880 A JP H07191880A JP 5329291 A JP5329291 A JP 5329291A JP 32929193 A JP32929193 A JP 32929193A JP H07191880 A JPH07191880 A JP H07191880A
Authority
JP
Japan
Prior art keywords
test
execution
branch instruction
test data
program
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.)
Granted
Application number
JP5329291A
Other languages
Japanese (ja)
Other versions
JP2684981B2 (en
Inventor
Noriko Hironaka
紀子 弘中
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
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP5329291A priority Critical patent/JP2684981B2/en
Publication of JPH07191880A publication Critical patent/JPH07191880A/en
Application granted granted Critical
Publication of JP2684981B2 publication Critical patent/JP2684981B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the efficiency of test work, to accelerate the test work, to unify tested result materials and to provide the standard worked result not depending on individual levels by automatically processing all the processes of a test in an interactive form. CONSTITUTION:A test supporting device 1 is composed of a branching instruction extracting/analyzing means 11, test item deciding means 12, test executing means 13 and test specification editing means 14. Then, a function of automatically processing all the processes of the test from specification preparation (the extraction of a test item and the preparation of test data) through the execution of the test and the confirmation of the tested result to the result material preparation of the test in the interactive form is introduced to a program development supporting tool. Thus, any problem such as test pattern extraction miss or test re-execution caused by the non-completion of test data generated in the case of conventional manual work can be avoided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラム開発支援ツ
ールに関し、特にテスト工程を自動化するテスト支援装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program development support tool, and more particularly to a test support device for automating a test process.

【0002】[0002]

【従来の技術】従来、プログラム開発においてテスト工
程を支援する装置としては、プログラム開発者がテスト
を実施する際に対象プログラム単位にテスト仕様書を自
動的に作成する技術が特開平03−282637号公報
で開示されている。
2. Description of the Related Art Conventionally, as a device for supporting a test process in program development, there is a technique for automatically creating a test specification for each target program when a program developer conducts a test. It is disclosed in the official gazette.

【0003】また特開平04−147351号公報で
は、テスト対象のプログラムをプログラム生成手段でコ
ンパイルすることによりテスト工程を自動化する技術が
開示されている。
Japanese Patent Laid-Open No. 04-147351 discloses a technique for automating a test process by compiling a program to be tested by a program generating means.

【0004】[0004]

【発明が解決しようとする課題】上述した従来技術の特
開平03−282637号公報では、テストする仕様書
の作成の自動化は行っているものの、実際の試験はオペ
レータが自動化によって作成されたテスト仕様書に基づ
いて手動でおこなわなければならなかった。
In the above-mentioned Japanese Patent Laid-Open No. 03-282637, the preparation of the specification to be tested is automated, but the actual test is performed by the operator by the test specification. It had to be done manually based on the calligraphy.

【0005】また特開平04−147351号公報で
は、テスト対象のプログラムをプログラム生成手段によ
って一旦コンパイルしてからでないとテストができなか
った。またテスト方法もバッチ形式で行っているので、
オペレータがテストの操作手順を熟知していないとでき
ないという問題点があった。
Further, in Japanese Patent Application Laid-Open No. 04-147351, the test cannot be performed unless the program to be tested is first compiled by the program generating means. Also, because the test method is also done in batch format,
There was a problem that the operator could not do it unless he was familiar with the test operation procedure.

【0006】以上の点を鑑みて本発明では、テストの全
工程の自動化、すなわち仕様書作成(テスト項目の抽
出、テストデータの作成)からテストの実行、テスト結
果の確認、テストの結果資料作成までを対話形式で自動
的に処理できるようにすることを目的とした。
In view of the above points, the present invention automates all the test steps, that is, creating specifications (test item extraction, test data creation) to test execution, test result confirmation, and test result material creation. The purpose was to be able to automatically process up to.

【0007】[0007]

【課題を解決するための手段】本発明のテスト支援装置
は、プログラムライブラリからテスト対象プログラムを
主記憶領域に読み、プログラムの構成要素である全ての
副手続きに対し、その中に存在する分岐命令を抽出し、
管理番号を付けて命令文、開始行、終了行を分岐命令登
録表に登録し、ここで抽出した全ての分岐命令に対して
発生する事象を分析してテストパターンの抽出を行い、
テストデータと出力期待値の対応表のテストパターン部
分の登録をする分岐命令抽出・分析手段と、プログラム
内の副手続き一覧を画面に表示し、テストしたい副手続
きが選択されると該当の副手続きを画面上に表示して前
記分岐命令登録表から分岐命令の開始行を取得して画面
上で表示された該当命令文の行を点滅させて、その命令
文に対するテストデータとそれに対する出力期待値の値
とテスト確認項目の入力を対話形式で要求して入力させ
て前記テストデータと出力期待値の対応表への登録処理
を選択された全ての副手続きに対して行い、テスト対象
の全ての副手続きに対する前記テストデータと出力期待
値の対応表への登録を完成させた後、再び前記副手続き
一覧を画面に表示して、終了処理の選択によってこの処
理を終了するテスト項目決定手段と、分岐命令実行時に
前記テストデータと出力期待値の対応表に指定されてい
るテストデータの各項目の値にテストデータを変更して
テストを実行し、その結果を出力結果表に登録する処理
を全てのテストパターンについて繰り返し、もしテスト
実行中に実行エラーが生じた場合は、テスト実行処理を
中断してエラー情報を通知するテスト実行手段と、実行
エラーが発生せず、全テストパターンについてのテスト
の実行と前記出力結果表への登録が正常に終了した場
合、前記テストデータと出力期待値の対応表と前記出力
結果表を対比することによってテスト仕様書の編集出力
を行うテスト仕様書編集手段とを有する。
A test support apparatus according to the present invention reads a test target program from a program library into a main storage area, and for all sub-procedures which are constituent elements of the program, a branch instruction existing therein. Extract
Register the command statement, start line, and end line in the branch instruction registration table with a management number, analyze the events that occur for all branch instructions extracted here, and extract the test pattern,
Branch instruction extraction / analysis means for registering the test pattern portion of the correspondence table of test data and expected output value, and a list of subprocedures in the program are displayed on the screen, and when the subprocedure to be tested is selected, the corresponding subprocedure is selected. Is displayed on the screen, the start line of the branch instruction is acquired from the branch instruction registration table, the line of the relevant statement displayed on the screen is blinked, and the test data for that statement and the expected output value for that are displayed. Values and test confirmation items are requested interactively and input, and the registration process to the correspondence table of the test data and the expected output value is performed for all the selected sub-procedures, and all the test target After completing the registration of the test data and the expected output value for the subprocedure in the correspondence table, the subprocedure list is displayed again on the screen, and the process of terminating this process by selecting end process Change the test data to the value of each item of the test data specified in the correspondence table of the test data and the expected output value when executing the branch instruction, execute the test, and display the result in the output result table. The registration process is repeated for all test patterns, and if an execution error occurs during test execution, the test execution means that interrupts the test execution process and reports error information, and the execution error does not occur When the execution of the test for the pattern and the registration in the output result table are completed normally, the test for editing and outputting the test specifications by comparing the correspondence table of the test data and the expected output value with the output result table And a specification editing means.

【0008】[0008]

【実施例】本発明について図面を参照して説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings.

【0009】図1は、本発明のブロック構成図であり、
テスト支援装置1は、分岐命令抽出・分析手段11と、
テスト項目決定手段12と、テスト実行手段13と、テ
スト仕様書編集手段14を有する。
FIG. 1 is a block diagram of the present invention.
The test support device 1 includes a branch instruction extraction / analysis means 11,
It has a test item determining means 12, a test executing means 13, and a test specification editing means 14.

【0010】図2、図3は共に本発明の処理動作を示す
一連のフローチャートである。
2 and 3 are a series of flowcharts showing the processing operation of the present invention.

【0011】図4は、テストデータと出力期待値の対応
表であり、該当命令文の管理番号とテスト確認項目とテ
ストパターンとこのテストパターンに対応するテストデ
ータと出力期待値を有し、ここでは管理番号が1の命令
文(図6の277行目から286行目までの処理に対
応)の場合を具体例として取り上げている。すなわち、
管理番号が1の命令文は、「センター振替・オンライン
振替の判定の確認」というテスト確認項目を行ってお
り、テストパターンとしては、センター振替ビットがバ
イナリの”1であることが真であるかまたはオンライン
振替ビットがバイナリの”1”であることが真である場
合、センター振替ビットがバイナリの”1であることが
真であるかまたはオンライン振替ビットがバイナリの”
1”であることが偽である場合、センター振替ビットが
バイナリの”1であることが偽であるかまたはオンライ
ン振替ビットがバイナリの”1”であることが真である
場合、センター振替ビットがバイナリの”1であること
が偽であるかまたはオンライン振替ビットがバイナリ
の”1”であることが偽である場合の4つのテストパタ
ーンが考えられ、それぞれのパターンに対応する出力期
待値としてW対象TRX表示が”N”となるべきか、”
Y”となるべきかが入力されている。
FIG. 4 is a correspondence table of test data and expected output values, which has a management number of the relevant statement, a test confirmation item, a test pattern, test data corresponding to this test pattern, and an expected output value. Then, the case of the command statement with the management number 1 (corresponding to the processing from the 277th line to the 286th line in FIG. 6) is taken as a specific example. That is,
The statement with the management number 1 performs the test confirmation item "Confirmation of determination of center transfer / online transfer". Is it true that the center transfer bit is binary "1" as a test pattern? Or if it is true that the online transfer bit is binary "1", it is true that the center transfer bit is binary "1" or the online transfer bit is binary "1".
If it is false that the center transfer bit is binary "1" or if the online transfer bit is binary "1" is true, then the center transfer bit is There are four possible test patterns in which the binary "1" is false or the online transfer bit is binary "1" is false, and W is set as the expected output value corresponding to each pattern. Should the target TRX display be "N"?
Whether or not it should be Y ”is entered.

【0012】図5は、副手続き構成一覧画面の具体例で
ある。
FIG. 5 is a specific example of the sub procedure configuration list screen.

【0013】図6は、本発明の実施例で説明する際の具
体例として用いる「B32−TRXチェック」という副
手続き(プログラムを構成しているサブモジュールに相
当するもの)の構造化プログラミング技法のフローチャ
ートであるSPD(Structured Progu
ram Diagram)を示す。
FIG. 6 shows a structured programming technique of a sub-procedure called "B32-TRX check" (corresponding to a sub-module constituting a program), which is used as a specific example when explaining the embodiment of the present invention. SPD (Structured Procedure)
ram Diagram) is shown.

【0014】ここで図6の意味を簡単に説明する。Here, the meaning of FIG. 6 will be briefly described.

【0015】図6の先頭に表示されている行番号000
274は、この副手続き(SUBPROC)が「B32
−TRXチェック」というものであることを示してい
る。
Line number 000 displayed at the beginning of FIG.
274, this sub procedure (SUBPROC) is "B32
-TRX check ".

【0016】行番号000277から行番号00028
3までの処理は、もしセンター振替ビットがバイナリー
の”1”であるか、またはオンライン振替ビットがバイ
ナリーの”1”ならば、W対象TRX表示に”N”をセ
ットし上位ブロックへ戻る(このSUB PROCを呼
び出しているところに戻る)、ということを表してい
る。また、行番号000287から行番号000306
までの処理は、W現振りコードの値が、”1”または”
2”または”3”の場合、W対象TRX表示に”Y”を
セットし、W現振りコードの値が、”5”の場合は、も
しW金種コードが”2”から”9”のいずれかならば、
W対象TRX表示に”Y”をセットし、そうでなけれ
ば、W対象TRX表示に”N”をセットし、W現振りコ
ードの値が、上記”1”、”2”、”3”、”5”以外
の場合は、W対象TRX表示に”N”をセットするとい
うことを表している。
From line number 0277 to line number 0028
If the center transfer bit is binary "1" or the online transfer bit is binary "1", the process up to 3 sets "N" in the W target TRX display and returns to the upper block (this It returns to the place where the SUB PROC is called). Also, from line number 000287 to line number 000306
In the processing up to, the value of the W current swing code is "1" or "
In the case of 2 "or" 3 ", set" Y "to the W target TRX display, and if the value of the W current allocation code is" 5 ", if the W denomination code is from" 2 "to" 9 " If either
"Y" is set in the W target TRX display, otherwise, "N" is set in the W target TRX display, and the value of the W present swing code is "1", "2", "3", If the value is other than "5", it means that "N" is set in the W target TRX display.

【0017】図7は、出力結果表の具体例である。FIG. 7 is a specific example of the output result table.

【0018】図8は、分岐命令登録表の具体例であり、
プログラム中の命令文に管理番号をつけて、各命令文の
開始行と終了行を管理している。
FIG. 8 is a specific example of the branch instruction registration table.
A command number is assigned to each command statement in the program to manage the start line and end line of each command statement.

【0019】すべての図面を参照しながら、図2、図3
の流れに沿って本発明の処理動作を説明する。
2 and 3 with reference to all drawings
The processing operation of the present invention will be described along the flow of.

【0020】プログラム開発支援ツールのメニュー画面
からテスト支援機能をオペレータが選択すると、プログ
ラム開発支援ツール内に組み込まれているテスト支援装
置1が起動される(ステップ21)。
When the operator selects the test support function from the menu screen of the program development support tool, the test support device 1 incorporated in the program development support tool is activated (step 21).

【0021】オペレータから起動されたテスト支援装置
1は分岐命令抽出・分析手段11を起動し、オペレータ
に対してテスト対象のプログラム名の入力を要求し、オ
ペレータは入力装置からテスト対象のプログラム名を入
力する(ステップ22)。
The test support device 1 activated by the operator activates the branch instruction extraction / analysis means 11 and requests the operator to input the program name of the test target, and the operator inputs the program name of the test target from the input device. Input (step 22).

【0022】テスト支援装置1は、システムのプログラ
ムライブラリから該当のプログラムを主記憶領域に読み
込む(ステップ23)。
The test support device 1 reads the corresponding program from the system program library into the main storage area (step 23).

【0023】主記憶領域に読み込まれたプログラムはプ
ログラムのサブモジュールに相当する複数の副手続きか
ら構成されており、分岐命令抽出・分析手段11がこの
全ての副手続きに対して、その中に存在する分岐命令を
順番に抽出して、順番に管理番号を付けて命令文、開始
行、終了行を図8に示す分岐命令登録表15に登録する
(ステップ24)。
The program read into the main memory area is composed of a plurality of subprocedures corresponding to the submodules of the program, and the branch instruction extracting / analyzing means 11 exists in all the subprocedures. The branch instructions to be extracted are sequentially extracted, and management statements are sequentially assigned to register the statement, start line, and end line in the branch instruction registration table 15 shown in FIG. 8 (step 24).

【0024】また分岐命令抽出・分析手段11は、ここ
で抽出した全ての分岐命令に対して発生する事象を分析
してテストパターンの抽出を行い、図4で示すテストデ
ータと出力期待値の対応表18のテストパターンに相当
する部分の作成を行い、テストデータと出力期待値の対
応表18に登録する(ステップ25)。
Further, the branch instruction extracting / analyzing means 11 analyzes the events occurring for all the branch instructions extracted here to extract the test pattern, and the correspondence between the test data shown in FIG. 4 and the expected output value. A portion corresponding to the test pattern in Table 18 is created and registered in the correspondence table 18 between the test data and the expected output value (step 25).

【0025】次にテスト項目決定手段12が起動され、
図5で示されるようなプログラム内の副手続きの一覧1
6が画面に表示される(ステップ26)。
Next, the test item determining means 12 is activated,
List 1 of subprocedures in the program as shown in FIG.
6 is displayed on the screen (step 26).

【0026】オペレータはこの画面からテストをする副
手続きを選択し、入力装置から入力する。この時オペレ
ータは全ての副手続きを選択することもできるし、一つ
だけあるいは複数の副手続きを選択することもできる
(ステップ27)。
The operator selects a subprocedure to be tested from this screen and inputs it from the input device. At this time, the operator can select all the subprocedures or only one or a plurality of subprocedures (step 27).

【0027】副手続きが選択されると、順番に該当の副
手続きが図6に示されるようにSPD(Structu
red Proguram Diagram)形式で画
面上に表示される(ステップ28)。テスト項目決定手
段12は、分岐命令登録表15から分岐命令の開始行を
取得して画面上で表示された該当命令文の行を点滅させ
て、その命令文に対するテストデータとそれに対する出
力期待値の値の入力をオペレータに要求する(ステップ
29)。オペレータは、この要求されたテストデータと
それに対する出力期待値の値を入力装置から対話形式で
入力するとともに、テスト確認項目についても入力する
(ステップ30)。分岐命令登録表15を参照して、該
当する全ての命令文の全てのテストパターンについて、
テストデータとそれに対する出力期待値の値を入力し、
テストデータと出力期待値の対応表18への登録する
(ステップ31)。この同様の操作が選択された全ての
副手続きに対してなされて、テストを実行する対象の全
ての副手続きのテストデータと出力期待値の対応表18
への登録を完成させる(ステップ32)。
When a sub-procedure is selected, the corresponding sub-procedures are sequentially displayed in the SPD (Structu) as shown in FIG.
It is displayed on the screen in the red Program Diagram format (step 28). The test item determination means 12 obtains the start line of the branch instruction from the branch instruction registration table 15, blinks the line of the relevant statement displayed on the screen, and makes the test data for the statement and the expected output value thereof. The operator is requested to input the value of (step 29). The operator interactively inputs the required test data and the value of the expected output value corresponding to the requested test data, and also inputs the test confirmation items (step 30). Referring to the branch instruction registration table 15, for all test patterns of all applicable instruction statements,
Enter the test data and the expected output value for it,
The test data and the expected output value are registered in the correspondence table 18 (step 31). This similar operation is performed for all the selected subprocedures, and the correspondence table 18 of the test data and the expected output values of all the subprocedures for which the test is executed is performed.
To complete registration (step 32).

【0028】再び副手続きの一覧16が画面に表示さ
れ、オペレータが終了処理を選択すると(ステップ3
3)、テスト項目決定手段12は、テスト実行手段13
を起動し(ステップ34)、テストデータと出力期待値
の対応表18へ登録したテストデータに従ってテストの
実行を行う(ステップ35)。
The subprocedure list 16 is again displayed on the screen, and when the operator selects the end process (step 3).
3), the test item determining means 12 is the test executing means 13
Is started (step 34), and the test is executed according to the test data registered in the correspondence table 18 of the test data and the expected output value (step 35).

【0029】テスト実行手段13は、分岐命令登録表1
5とテストデータと出力期待値の対応表18を参照し
て、分岐命令実行時にテストデータと出力期待値の対応
表18に指定されているテストデータの各項目の値に変
更し、テストを実行した結果を出力結果表19に登録す
る。これをテストデータと出力期待値の対応表18に登
録されている全てのパターンについて繰り返す(ステッ
プ36、38、39)。
The test execution means 13 uses the branch instruction registration table 1
5, the test data and the expected output value correspondence table 18 are referred to, and when the branch instruction is executed, the value is changed to the value of each item of the test data specified in the correspondence table 18 between the test data and the expected output value, and the test is executed. The result is registered in the output result table 19. This is repeated for all the patterns registered in the correspondence table 18 of the test data and the expected output value (steps 36, 38, 39).

【0030】もしテスト実行中にプログラムアボート等
の実行エラーが生じた場合は、直ちにテスト実行処理を
中断し、エラーとなったテストデータ、エラー発生の行
番号及びエラーメッセージ等をオペレータに通知する
(ステップ36、37)。
If an execution error such as a program abort occurs during the test execution, the test execution process is immediately interrupted and the operator is notified of the test data in error, the line number of the error occurrence, the error message, etc. ( Steps 36, 37).

【0031】プログラムアボート等の実行エラーが発生
せず、全テストパターンについてのテストの実行と出力
結果表19への登録が正常に終了すると、テスト実行手
段13はテスト仕様書編集手段14を起動する(ステッ
プ40)。
When an execution error such as a program abort does not occur and the test execution for all test patterns and the registration in the output result table 19 are normally completed, the test execution means 13 activates the test specification editing means 14. (Step 40).

【0032】テスト仕様書編集手段14は、テストデー
タと出力期待値の対応表18と出力結果表19を対比す
ることによって、テスト確認項目、テストデータ、出力
期待値、テスト結果などが記載されたテスト仕様書20
の編集出力を行う(ステップ41)。
The test specification editing means 14 compares the correspondence table 18 of the test data and the expected output value with the output result table 19 to describe the test confirmation item, the test data, the expected output value, the test result and the like. Test specification 20
Is edited and output (step 41).

【0033】[0033]

【発明の効果】以上説明したように本発明は、プログラ
ム開発支援ツールにテストの全工程すなわち仕様書作成
(テスト項目の抽出、テストデータの作成)からテスト
の実行、テスト結果の確認、テストの結果資料作成まで
を対話形式で自動的に処理できる機能を導入すること
で、従来人による手作業で行っていた場合に発生したよ
うなテストパターン抽出漏れやテストデータ作成不備に
よるテストのやり直しなどの問題を回避できると共に、
テスト作業の効率化、高速化を図ることができる。また
テスト結果資料の統一化を実現できるので、テストする
個人のレベルに依存しない標準的な作業結果を得ること
ができるという効果もある。
As described above, according to the present invention, the program development support tool uses all the steps of the test, that is, specifications (extraction of test items, creation of test data) to test execution, test result confirmation, and test execution. By introducing a function that can automatically process the creation of the result material in an interactive manner, the test pattern extraction omission that occurred when a manual operation was performed by a person in the past, and the test re-execution due to inadequate test data creation, You can avoid the problem,
It is possible to improve efficiency and speed of test work. Further, since the test result materials can be standardized, there is an effect that a standard work result that does not depend on the level of the individual who tests can be obtained.

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

【図1】本発明のブロック構成図である。FIG. 1 is a block configuration diagram of the present invention.

【図2】本発明の処理動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a processing operation of the present invention.

【図3】本発明の処理動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing operation of the present invention.

【図4】本発明のテストデータと出力期待値の対応表で
ある。
FIG. 4 is a correspondence table of test data of the present invention and expected output values.

【図5】本発明の副手続き構成一覧画面の具体例であ
る。
FIG. 5 is a specific example of a sub procedure configuration list screen of the present invention.

【図6】本発明の実施例で説明する際の具体例として用
いる「B32−TRXチェック」という副手続き(プロ
グラムを構成しているサブモジュールに相当するもの)
の構造化プログラミング技法のフローチャートであるS
PD(Structured Proguram Di
agram)である。
FIG. 6 is a sub-procedure called “B32-TRX check” (corresponding to a sub-module that constitutes a program), which is used as a specific example when describing the embodiment of the present invention.
Is a flowchart of the structured programming technique of S
PD (Structured Program Di)
agram).

【図7】出力結果表の具体例である。FIG. 7 is a specific example of an output result table.

【図8】本発明の分岐命令登録表の具体例である。FIG. 8 is a specific example of a branch instruction registration table of the present invention.

【符号の説明】[Explanation of symbols]

1 テスト支援装置 11 分岐命令抽出分析手段 12 テスト項目決定手段 13 テスト実行手段 14 テスト仕様書編集手段 15 分岐命令登録表 16 副手続き一覧 17 SPD形式プログラム 18 テストデータと出力期待値の対応表 19 出力結果表 20 テスト仕様書 21〜41 ステップ 1 Test Support Device 11 Branch Instruction Extraction / Analysis Means 12 Test Item Determining Means 13 Test Executing Means 14 Test Specification Editing Means 15 Branch Instruction Registration Table 16 Subprocedure List 17 SPD Format Program 18 Correspondence Table of Test Data and Output Expected Value 19 Output Result table 20 Test specifications 21 to 41 steps

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラム開発支援ツールのテスト工程
において、 テスト対象プログラムの構成要素である全ての副手続き
の中に存在する分岐命令を抽出し、管理番号を付けて命
令文、開始行及び終了行を分岐命令登録表に登録し、該
抽出した全ての分岐命令に対して発生する事象を分析し
てテストパターンを抽出し、テストデータ及び出力期待
値の対応表のテストパターン部分を登録する分岐命令抽
出・分析手段と、 プログラム内の副手続き一覧を画面に表示し、テストし
たい副手続きが選択されると該当の副手続きを画面上に
表示して前記分岐命令登録表から分岐命令の開始行を取
得して画面上で表示された該当命令文の行を点滅させ
て、その命令文に対するテストデータ、このテストデー
タに対する出力期待値の値及びテスト確認項目の入力を
対話形式で要求して入力させて前記対応表への登録処理
を選択された全ての副手続きに対して行い、テスト対象
の全ての副手続きに対する前記対応表への登録の後、再
び前記副手続き一覧を画面に表示して、終了処理の選択
によってこの処理を終了するテスト項目決定手段と、 分岐命令実行時に前記対応表に指定されているテストデ
ータの各項目の値にテストデータを変更してテストを実
行し、その結果を出力結果表に登録する処理を全てのテ
ストパターンについて繰り返し、もしテスト実行中に実
行エラーが生じた場合は、テスト実行処理を中断してエ
ラー情報を通知するテスト実行手段と、 実行エラーが発生せず、全テストパターンについてのテ
ストの実行と前記出力結果表への登録が正常に終了した
場合、前記対応表と前記出力結果表を対比することによ
ってテスト仕様書の編集出力を行うテスト仕様書編集手
段とを含むことを特徴とするテスト支援装置。
1. In a test process of a program development support tool, a branch instruction existing in all subprocedures that are components of a program to be tested is extracted, and a management number is attached to a statement, a start line and an end line. To the branch instruction registration table, analyze the events that occur for all the extracted branch instructions, extract the test pattern, and register the test pattern portion of the correspondence table of the test data and the expected output value. The extraction / analysis means and the list of subprocedures in the program are displayed on the screen. When the subprocedure to be tested is selected, the corresponding subprocedure is displayed on the screen and the start line of the branch instruction from the branch instruction registration table is displayed. Blink the line of the relevant command statement that was acquired and displayed on the screen, and test data for that command statement, the value of the expected output value for this test data, and the test confirmation item. The input is requested interactively and input, the registration process to the correspondence table is performed for all the selected sub-procedures, and after the registration to the correspondence table for all the sub-procedures to be tested, the process is performed again. Display a list of subprocedures on the screen and change the test data to the value of each item of the test data specified in the above correspondence table when the branch instruction is executed and the test item deciding means that terminates this process. Then, execute the test and repeat the process of registering the result in the output result table for all test patterns. If an execution error occurs during the test execution, interrupt the test execution process and notify the error information. When the test execution means and the execution error do not occur and the test execution for all test patterns and the registration in the output result table are completed normally, the correspondence table and the output A test support device comprising: a test specification editing means for editing and outputting a test specification by comparing a force result table.
JP5329291A 1993-12-27 1993-12-27 Test support equipment Expired - Fee Related JP2684981B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5329291A JP2684981B2 (en) 1993-12-27 1993-12-27 Test support equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5329291A JP2684981B2 (en) 1993-12-27 1993-12-27 Test support equipment

Publications (2)

Publication Number Publication Date
JPH07191880A true JPH07191880A (en) 1995-07-28
JP2684981B2 JP2684981B2 (en) 1997-12-03

Family

ID=18219821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5329291A Expired - Fee Related JP2684981B2 (en) 1993-12-27 1993-12-27 Test support equipment

Country Status (1)

Country Link
JP (1) JP2684981B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257499A (en) * 2006-03-24 2007-10-04 Nec Commun Syst Ltd Test specification editing device and method
JP2010198479A (en) * 2009-02-26 2010-09-09 Hitachi Software Eng Co Ltd System for automatically executing application test
JP2011113277A (en) * 2009-11-26 2011-06-09 Mitsubishi Electric Corp Apparatus, method and program for testing program
JP2012168948A (en) * 2011-02-11 2012-09-06 Fisher-Rosemount Systems Inc Methods, apparatus and articles of manufacture for testing batch configurations
CN111445115A (en) * 2020-03-20 2020-07-24 Oppo(重庆)智能科技有限公司 Test item checking method and device, electronic equipment and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257499A (en) * 2006-03-24 2007-10-04 Nec Commun Syst Ltd Test specification editing device and method
JP2010198479A (en) * 2009-02-26 2010-09-09 Hitachi Software Eng Co Ltd System for automatically executing application test
JP2011113277A (en) * 2009-11-26 2011-06-09 Mitsubishi Electric Corp Apparatus, method and program for testing program
JP2012168948A (en) * 2011-02-11 2012-09-06 Fisher-Rosemount Systems Inc Methods, apparatus and articles of manufacture for testing batch configurations
CN111445115A (en) * 2020-03-20 2020-07-24 Oppo(重庆)智能科技有限公司 Test item checking method and device, electronic equipment and computer readable storage medium
CN111445115B (en) * 2020-03-20 2023-10-17 Oppo(重庆)智能科技有限公司 Test item verification method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
JP2684981B2 (en) 1997-12-03

Similar Documents

Publication Publication Date Title
US6658649B1 (en) Method, apparatus and article of manufacture for debugging a user defined region of code
US5377122A (en) Logic compiler for design of circuit models
CN108509344B (en) Daily cutting batch test method, equipment and readable storage medium
JP2684981B2 (en) Test support equipment
JP2000112784A (en) Program test support device and storage medium recording program test support program
JPH0554277A (en) Plant monitor device
JPH02275539A (en) Debugging system
JPH1139363A (en) Data verification system
JPH0713809A (en) Program evaluation system
JPH09330248A (en) Event test system for gui control program
JP3259987B2 (en) Interactive numerical controller
JPS61184647A (en) Performance test system of computer equipment
JPH0540799A (en) Data processor
CN116451621A (en) Method, system, equipment and medium for generating functional coverage rate code
CN116893803A (en) Method, system, equipment and medium for generating functional coverage rate code
CN113886252A (en) Regression test case priority determination method based on thermodynamic diagram
JPH07253901A (en) Method for testing information processor
JPS63157244A (en) Debugging system for test program of peripheral device
JPH09265392A (en) Method and system for analyzing and evaluating quality of software
JPH06110732A (en) Program complete degree inspection information manufacturing system
JPH10301820A (en) Automatic file configuration conversion system
JPH05233349A (en) Automatic test tool for program module
JP2001265917A (en) System for supporting estimation evaluation
JPH04242427A (en) Program designing system
JPH04153775A (en) Control system for logical simulation result

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970715

LAPS Cancellation because of no payment of annual fees