JPH0635754A - Retesting method and device therefor - Google Patents
Retesting method and device thereforInfo
- Publication number
- JPH0635754A JPH0635754A JP4184907A JP18490792A JPH0635754A JP H0635754 A JPH0635754 A JP H0635754A JP 4184907 A JP4184907 A JP 4184907A JP 18490792 A JP18490792 A JP 18490792A JP H0635754 A JPH0635754 A JP H0635754A
- Authority
- JP
- Japan
- Prior art keywords
- test
- test data
- module
- data
- result
- 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
(57)【要約】
【目的】 再テストすべきテストデータの抽出を容易に
し、また、テスト結果の検証についても、その確認を容
易にすることを可能にした再テスト方法およびそのため
の装置を提供すること。
【構成】 プログラムのテスト網羅性を判断するための
再テスト方法において、モジュール修正時の再テスト範
囲を、テストデータとテスト対象モジュールの関連情報
を基に抽出し、該抽出したテストデータを再実行し、該
テストデータについての(前回の)実行済みテスト結果と
今回のテスト結果とを比較し検証することを特徴とする
再テスト方法、および、そのための装置。
(57) [Summary] [Purpose] To provide a retesting method and an apparatus for facilitating extraction of test data to be retested and facilitating confirmation of test results. To do. [Structure] In a retest method for determining the test coverage of a program, a retest range at the time of module modification is extracted based on test data and related information of a test target module, and the extracted test data is re-executed. Then, a retesting method characterized by comparing and verifying a (previous) executed test result and the present test result for the test data, and an apparatus therefor.
Description
【0001】[0001]
【産業上の利用分野】本発明は再テスト方法およびその
ための装置、すなわち、プログラムのデバッグを行った
場合等における修正結果を確認するための、いわゆる、
再テスト方法およびそのための装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a retesting method and a device therefor, that is, a so-called, for confirming a correction result when a program is debugged.
The present invention relates to a retesting method and a device therefor.
【0002】[0002]
【従来の技術】従来、プログラムのデバッグを行った場
合等における修正結果を確認するための再テスト(以
下、単に「再テスト」という)においては、テスト時間の
節約の点から、テストデータの内容、すなわち、上述の
修正の影響を受けるデータか否かの判断に基づいて、再
テストすべきデータか否かを(再テストの担当者が)自分
で判断し、再テストの際のテストデータを選択してい
た。また、上述の如き選択に基づく再テストの結果につ
いても、担当者が、再度、自分で検証していた。なお、
これに関連する技術としては、例えば、特開平1-226043
号公報に開示されている技術が知られている。この技術
は、再テスト結果の検証方式として、正解データを前以
って作成しておき、その正解データと実際のテスト結果
とを比較するものがある。2. Description of the Related Art Conventionally, in a retest (hereinafter simply referred to as "retest") for confirming a correction result when a program is debugged, the contents of test data are saved from the viewpoint of saving test time. That is, based on the judgment as to whether or not the data is affected by the above-mentioned correction, the data to be retested is judged by the person in charge of retesting by himself and the test data at the time of retesting is judged. Had been selected. Also, the person in charge again verified the result of the retest based on the selection as described above by himself. In addition,
As a technique related to this, for example, Japanese Patent Laid-Open No. 1-226043
The technique disclosed in the publication is known. In this technique, as a method of verifying the retest result, there is a method of creating correct answer data in advance and comparing the correct answer data with an actual test result.
【0003】[0003]
【発明が解決しようとする課題】上記従来技術には、以
下の如き問題がある。まず、上記従来技術の前者、すな
わち、再テストすべきテストデータを、人手に頼って抽
出する方法は、時間がかかる上に不完全であり、十分な
再テストが行われないという問題がある。また、テスト
結果の検証についても、再度、テストの結果をすべて自
分の目で検証しなければならず、不完全になりやすいと
いう問題がある。また、上記従来技術の後者、すなわ
ち、特開平1-226043号公報に開示されている検証方式で
は、正解データを前以って作成しておかなければなら
ず、これに多大の手間がかかるという問題がある。本発
明は上記事情に鑑みてなされたもので、その目的とする
ところは、従来の技術における上述の如き問題を解消
し、再テストすべきテストデータの抽出を容易にし、ま
た、テスト結果の検証についても、その確認を容易にす
ることを可能にした再テスト方法およびそのための装置
を提供することにある。The above-mentioned prior art has the following problems. First, the former of the above-mentioned conventional techniques, that is, the method of manually extracting the test data to be retested is time-consuming and incomplete, and there is a problem that sufficient retesting is not performed. Also, regarding the verification of the test results, it is necessary to verify all the test results again with one's own eyes, and there is a problem that the test results are likely to be incomplete. Further, the latter of the above-mentioned conventional techniques, that is, in the verification method disclosed in Japanese Patent Laid-Open No. 1-226043, the correct answer data must be created in advance, which requires a lot of trouble. There's a problem. The present invention has been made in view of the above circumstances, and an object of the present invention is to solve the above-mentioned problems in the conventional technique, facilitate extraction of test data to be retested, and verify the test result. Also, regarding the above, it is to provide a retest method and an apparatus therefor capable of facilitating the confirmation.
【0004】[0004]
【課題を解決するための手段】本発明の上記目的は、プ
ログラムのテスト網羅性を判断するための再テスト方法
において、モジュール修正時の再テスト範囲を、テスト
データとテスト対象モジュールの関連情報を基に抽出
し、該抽出したテストデータを再実行し、該テストデー
タについての(前回の)実行済みテスト結果と今回のテス
ト結果とを比較し検証することを特徴とする再テスト方
法、および、そのための装置によって達成される。The above object of the present invention is to provide a retest method for determining the test completeness of a program, in which the retest range at the time of module modification is defined, and the test data and related information of the module to be tested are provided. Based on the extracted test data, re-execute the extracted test data, and compare and verify the (previous) executed test result and the present test result for the test data, and a retest method, and This is achieved by a device therefor.
【0005】[0005]
【作用】本発明に係る再テスト方法においては、テスト
データとテスト対象モジュールとの関連を、テスト実行
時に収集したテストカバレージ率の変化により把握して
おき、関係付けられたテストデータとテスト対象モジュ
ールとの関連情報を基に再テスト時のテストすべきテス
トデータを抽出し、そのテストデータを自動的に再実行
し、そのテストデータについての前回の(実行済み)テス
ト結果と今回のテスト結果とを自動的に比較するもので
ある。上述の如く、テストカバレージ率の変化によりテ
ストデータとテスト対象モジュールの関係を把握するの
で、再テスト時のテストデータの抽出が容易になるとい
う効果が得られる。また、前回のテスト結果と今回のテ
スト結果との比較結果は、差分情報のみを出力すること
により、上述の差分のみの確認で済むことになるという
効果が得られる。In the retesting method according to the present invention, the relationship between the test data and the test target module is grasped by the change of the test coverage ratio collected at the time of the test execution, and the related test data and the test target module are associated with each other. The test data to be tested at the time of retest is extracted based on the information related to and the test data is automatically re-executed, and the previous (executed) test result and the current test result for that test data are To compare automatically. As described above, since the relationship between the test data and the test target module is grasped by the change of the test coverage rate, the effect of facilitating the extraction of the test data at the time of the retest can be obtained. In addition, the comparison result between the previous test result and the present test result outputs only the difference information, so that there is an effect that only the above-mentioned difference can be confirmed.
【0006】[0006]
【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明の一実施例を示すテスト装
置の構成図である。図において、1は端末装置であり、
修正モジュール名称15の入力を行う。2は再テスト装
置であり、テストデータ抽出部3,テスト実行部4,テ
ストデータ把握部5およびテスト結果検証部6から構成
されている。上述のテストデータ抽出部は、テストデー
タ関連情報ファイル7から修正モジュール名称15に関
連するテストデータを抽出し、その結果をテストデータ
抽出ファイル8に出力する。テスト実行部4は、テスト
データ抽出ファイル8の情報を基に、テストデータファ
イル9からテストデータを、テスト対象プログラムファ
イル10からテストプログラムを読み込み、テストを実
行する。また、テスト実行部4は、テストカバレージ情
報ファイル11からテストカバレージ情報を入力し、テ
スト時にテストカバレージの採取を行う。テストデータ
把握部5は、テスト実行部4で採取したテストカバレー
ジ率の変化したモジュールをテストデータと関連付け
る。また、テスト結果検証部6は、検証用テスト結果フ
ァイル12中の検証用テスト結果と検証用データファイ
ル13中の前回のテスト結果とを比較して、その結果を
検証結果ファイル14に出力する。Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration diagram of a test apparatus showing an embodiment of the present invention. In the figure, 1 is a terminal device,
The correction module name 15 is input. Reference numeral 2 denotes a retesting device, which is composed of a test data extracting unit 3, a test executing unit 4, a test data grasping unit 5, and a test result verifying unit 6. The test data extraction unit described above extracts the test data related to the correction module name 15 from the test data related information file 7 and outputs the result to the test data extraction file 8. The test execution unit 4 reads the test data from the test data file 9 and the test program from the test target program file 10 based on the information in the test data extraction file 8, and executes the test. Further, the test execution unit 4 inputs the test coverage information from the test coverage information file 11 and collects the test coverage during the test. The test data grasping unit 5 associates the module with the changed test coverage ratio, which is collected by the test executing unit 4, with the test data. Further, the test result verification unit 6 compares the verification test result in the verification test result file 12 with the previous test result in the verification data file 13 and outputs the result to the verification result file 14.
【0007】次に、図2から図7により、図1に示した
各ファイル中の情報について詳細に説明する。まず、図
2は、テストデータ関連情報ファイル7中のテストデー
タ=モジュール対応表16の一例を示す図である。テス
トデータ=モジュール対応表16は、図に示す如く、テ
ストデータ17とテスト対象モジュール18とを関連付
けるために、二次元の表を使用している。次に、図3
は、テストデータ抽出ファイル8中のテストデータ名称
一覧19の一例を示す図である。テストデータ名称は、
端末装置1から入力された修正モジュール名称15に関
係し、再テストすべきテストデータ名称で構成される。
また、図4は、テストデータファイル9中のテストデー
タ20の一例を示す図である。テストデータ20には、
図に示す如く、テスト開始時の状態を定義した初期デー
タ設定部21、および、テスト手順をテスト実行部4に
入力されるコマンドにより記述したテスト手続き部22
が記述されている。Next, the information in each file shown in FIG. 1 will be described in detail with reference to FIGS. 2 to 7. First, FIG. 2 is a diagram showing an example of the test data = module correspondence table 16 in the test data related information file 7. The test data = module correspondence table 16 uses a two-dimensional table for associating the test data 17 with the test target module 18, as shown in the figure. Next, FIG.
FIG. 8 is a diagram showing an example of a test data name list 19 in the test data extraction file 8. The test data name is
It is composed of the test data name to be retested, which is related to the correction module name 15 input from the terminal device 1.
FIG. 4 is a diagram showing an example of the test data 20 in the test data file 9. The test data 20 contains
As shown in the figure, an initial data setting unit 21 that defines the state at the start of the test, and a test procedure unit 22 that describes the test procedure by a command input to the test execution unit 4
Is described.
【0008】次に、図5は、テストカバレージ情報ファ
イル11中のテストカバレージ情報23の一例を示す図
である。テストカバレージ情報23は、テスト対象とな
るモジュールの実行文の数24,分岐方向の数25,実
行済文数/全文数の比率27および通過分岐方向数/全
分岐方向数の比率28で表されるテストカバレージ率2
6,カバレージ採取位置(実行文の位置あるいは分岐文
の位置)29,実行文あるいは分岐方向を示す種別3
0,採取状態フラグ31から成っている。図6は、検証
用テスト結果ファイル12および検証用データファイル
13中のテスト結果32の一例を示す図である。テスト
結果32は、検証用キー33とテスト時の確認内容34
から成っている。検証用キー33は、図7に示す如く、
テスト対象プログラム名称35,テスト対象モジュール
名称36,実行中断位置37から構成されている。以
下、図8から図11に示す処理フロー図に基づいて、上
述の如く構成された本実施例の各部の動作を説明する。FIG. 5 is a diagram showing an example of the test coverage information 23 in the test coverage information file 11. The test coverage information 23 is represented by the number of executed statements 24 of the module to be tested, the number of branching directions 25, the number of executed statements / total number of sentences 27, and the number of passing branching directions / the number of all branching directions 28. Test coverage rate 2
6, coverage collection position (position of execution statement or position of branch statement) 29, type 3 indicating execution statement or branch direction
0, the collection state flag 31. FIG. 6 is a diagram showing an example of the test result 32 in the verification test result file 12 and the verification data file 13. The test result 32 is the verification key 33 and the confirmation contents 34 during the test.
Made of. The verification key 33, as shown in FIG.
It is composed of a test target program name 35, a test target module name 36, and an execution interruption position 37. Hereinafter, the operation of each unit of the present embodiment configured as described above will be described based on the process flow charts shown in FIGS. 8 to 11.
【0009】図8は、テストデータ抽出部3の処理フロ
ー図である。まず、端末装置1から修正モジュール名称
15を入力し(ステップ201)、テストデータ関連情報
ファイル7からテストデータとテスト対象モジュールの
対応表16を入力する(ステップ202)。次に、修正モ
ジュール名称15とテストデータとテスト対象モジュー
ルの対応表16中のテストデータ名称に関連あるか判断
し(ステップ204)、関連がある場合はそのテストデー
タ名称をテストデータ抽出ファイル8のテストデータ名
称一覧19に出力する(ステップ205)。ステップ20
4およびステップ205を、テストデータとテスト対象
モジュールの対応表16のすべてのテストデータが終了
するまで繰り返す(ステップ203)。図9は、テスト実
行部4の処理フロー図である。ステップ206におい
て、テストデータ抽出ファイル8にテストデータ抽出部
3が出力したテストデータ名称一覧表19を入力する。
入力したテストデータ名称一覧表19のすべてのテスト
データについて、ステップ208からステップ218を
繰返す(ステップ206)。FIG. 8 is a processing flow chart of the test data extracting section 3. First, the correction module name 15 is input from the terminal device 1 (step 201), and the correspondence table 16 of the test data and the test target module is input from the test data related information file 7 (step 202). Next, it is judged whether or not there is a relation between the corrected module name 15, the test data and the test data name in the correspondence table 16 of the test target module (step 204), and if there is a relation, the test data name is stored in the test data extraction file 8. It is output to the test data name list 19 (step 205). Step 20
4 and step 205 are repeated until all the test data in the correspondence table 16 of the test data and the module to be tested are completed (step 203). FIG. 9 is a process flow diagram of the test execution unit 4. In step 206, the test data name list 19 output by the test data extraction unit 3 is input to the test data extraction file 8.
Steps 208 to 218 are repeated for all the input test data in the test data name list 19 (step 206).
【0010】すなわち、テストデータ名称一覧表19に
挙げられたテストデータ名称に対応したテストデータ2
0をテストデータファイル9から入力し(ステップ20
8)、テストされるモジュールのテストカバレージ情報
23をテストカバレージ情報ファイル11から入力する
(ステップ209)。次に、ステップ210において、テ
スト対象プログラムファイル10からテスト対象プログ
ラムを読み込み、実行を開始する。テスト対象プログラ
ム実行中、実行位置がテストカバレージ採取位置の場合
は(ステップ211)、テストカバレージ情報23中のカ
バレージ採取状態フラグ31を操作し、通過状態にする
(ステップ212)。実行位置がテストデータ20で指定
された中断位置の場合は(ステップ213)、検証用テス
ト結果ファイル12に検証用キー33と確認内容34を
合わせて出力する(ステップ215)。被テストプログラ
ムの実行が終了するまで、ステップ211からステップ
214を繰り返す(ステップ215)。That is, the test data 2 corresponding to the test data names listed in the test data name list 19
Input 0 from the test data file 9 (step 20
8) Input the test coverage information 23 of the module to be tested from the test coverage information file 11.
(Step 209). Next, in step 210, the test target program is read from the test target program file 10 and execution is started. During execution of the test target program, if the execution position is the test coverage collection position (step 211), the coverage collection state flag 31 in the test coverage information 23 is operated to bring it into the passing state.
(Step 212). When the execution position is the interruption position designated by the test data 20 (step 213), the verification key 33 and the confirmation content 34 are output together with the verification test result file 12 (step 215). Steps 211 to 214 are repeated until the execution of the program under test is completed (step 215).
【0011】そして、テスト対象プログラムの実行が終
了した時点で、テスト対象プログラム実行中に採取して
いたカバレージ採取状態フラグ31を基に、テストカバ
レージを採取しているモジュールの中でテストカバレー
ジ率26が変化している場合(ステップ216)、テスト
データ把握部5によりモジュールと実行したテストデー
タを関連付ける(ステップ217)。そして、テストデー
タ20を実行することにより変化したテストカバレージ
情報23をテストカバレージ情報ファイル11に出力
し、更新する(ステップ218)。図10は、テストデー
タ把握部5の処理フロー図である。テストデータ関連フ
ァイル7中のテストデータとテスト対象モジュールの対
応表16を、テストカバレージ率の変化したテストデー
タ名称とテスト対象モジュール名称で調べ(ステップ2
19)、テストデータとテスト対象モジュールが関連付
けられていない場合は(ステップ220)、対応表16に
登録し、テストデータとテスト対象モジュールを関連付
ける(ステップ221)。Then, at the time when the execution of the test target program is completed, based on the coverage collection state flag 31 collected during the execution of the test target program, the test coverage rate 26 among the modules collecting the test coverage is determined. If the value has changed (step 216), the test data grasping unit 5 associates the module with the executed test data (step 217). Then, the test coverage information 23 changed by executing the test data 20 is output to the test coverage information file 11 and updated (step 218). FIG. 10 is a process flow diagram of the test data grasping unit 5. The correspondence table 16 between the test data and the test target module in the test data related file 7 is checked by the test data name and the test target module name in which the test coverage ratio has changed (step 2
19) If the test data and the test target module are not associated (step 220), they are registered in the correspondence table 16 and the test data and the test target module are associated (step 221).
【0012】図11は、テスト結果検証部6の処理フロ
ー図である。まず、ステップ222で、検証用テスト結
果ファイル12から検証用テスト結果を読み込み、次
に、ステップ223で、検証用データファイル13から
前回のテスト結果を読み込む。そして、検証用キー33
および確認内容34を比較し(ステップ224)、一致し
ていない場合は、異なっているテスト結果と検証データ
を検証結果ファイル14に出力し(ステップ225)、一
致している場合は、一致していることを検証結果ファイ
ル14に出力する(ステップ226)。すべてのテスト結
果の検証が終わるまで、ステップ224からステップ2
26を繰り返す(ステップ227)。上記実施例によれ
ば、再テストすべきテストデータの抽出を自動的に行う
ことが可能になり、また、テスト結果の検証においても
差分だけの確認で済むようになるので、再テストが容易
になるという効果が得られる。なお、上記実施例は本発
明の一例を示したものであり、本発明はこれに限定され
るべきものではないことは言うまでもないことである。FIG. 11 is a process flow chart of the test result verification unit 6. First, in step 222, the verification test result is read from the verification test result file 12, and then in step 223, the previous test result is read from the verification data file 13. Then, the verification key 33
And the check contents 34 are compared (step 224). If they do not match, different test results and verification data are output to the verification result file 14 (step 225). If they match, they match. It is output to the verification result file 14 (step 226). Step 224 to step 2 until all test results are verified
26 is repeated (step 227). According to the above-mentioned embodiment, it becomes possible to automatically extract the test data to be retested, and it is only necessary to confirm the difference in the verification of the test result, so that the retesting is easy. The effect of becoming It is needless to say that the above embodiment shows one example of the present invention, and the present invention should not be limited to this.
【0013】[0013]
【発明の効果】以上、詳細に説明した如く、本発明によ
れば、再テストすべきテストデータの抽出を容易にし、
また、テスト結果の検証についても、その確認を容易に
することを可能にした再テスト方法およびそのための装
置を実現できるという顕著な効果を奏するものである。As described above in detail, according to the present invention, it becomes easy to extract test data to be retested,
Further, with respect to the verification of the test result, the re-testing method and the apparatus therefor capable of facilitating the confirmation can be realized.
【0014】[0014]
【図1】本発明の一実施例を示すテスト装置の構成図で
ある。FIG. 1 is a configuration diagram of a test apparatus showing an embodiment of the present invention.
【図2】実施例に係るテストデータ関連情報ファイル7
中のテストデータ=モジュール対応表16の一例を示す
図である。FIG. 2 is a test data related information file 7 according to the embodiment.
It is a figure which shows an example of the test data = module correspondence table 16 in.
【図3】実施例に係るテストデータ抽出ファイル8中の
テストデータ名称一覧19の一例を示す図である。FIG. 3 is a diagram showing an example of a test data name list 19 in a test data extraction file 8 according to an embodiment.
【図4】実施例に係るテストデータファイル9中のテス
トデータ20の一例を示す図である。FIG. 4 is a diagram showing an example of test data 20 in a test data file 9 according to an embodiment.
【図5】実施例に係るテストカバレージ情報ファイル1
1中のテストカバレージ情報23の一例を示す図であ
る。FIG. 5 is a test coverage information file 1 according to the embodiment.
It is a figure which shows an example of the test coverage information 23 in 1.
【図6】実施例に係る検証用テスト結果ファイル12お
よび検証用データファイル13中のテスト結果32の一
例を示す図である。FIG. 6 is a diagram showing an example of a test result 32 in a verification test result file 12 and a verification data file 13 according to the embodiment.
【図7】実施例に係る検証用キー33の構成の一例を示
す図である。FIG. 7 is a diagram showing an example of a configuration of a verification key 33 according to the embodiment.
【図8】実施例に係るテストデータ抽出部3の処理フロ
ー図である。FIG. 8 is a process flow diagram of the test data extraction unit 3 according to the embodiment.
【図9】実施例に係るテスト実行部4の処理フロー図で
ある。FIG. 9 is a process flow diagram of the test execution unit 4 according to the embodiment.
【図10】実施例に係るテストデータ把握部5の処理フ
ロー図である。FIG. 10 is a process flow diagram of the test data grasping unit 5 according to the embodiment.
【図11】実施例に係るテスト結果検証部6の処理フロ
ー図である。FIG. 11 is a process flow diagram of the test result verification unit 6 according to the embodiment.
1:端末装置、2:再テスト装置、3:テストデータ抽
出部、4:テスト実行部、5:テストデータ把握部、
6:テスト結果検証部、7:テストデータ関連情報ファ
イル、8:テストデータ抽出ファイル、9:テストデー
タファイル、10:テスト対象プログラムファイル、1
1:テストカバレージ情報ファイル、12:検証用テス
ト結果ファイル、13:検証用データファイル、14:
検証結果ファイル、15:修正モジュール名称、16:
テストデータ=テスト対象モジュール対応表、17:テ
ストデータ名称、18:モジュール名称、19:テスト
データ名称一覧、20:テストデータ、21:初期デー
タ設定部、22:テスト手続き部、23:テストカバレ
ージ情報、24:実行文の数、25:分岐方向の数、2
6:テストカバレージ率、27:実行済みの文の数/実
行文の数、28:実行済みの分岐方向の数/分岐方向の
数、29:カバレージ採取位置、30:種別、31:採
取状態フラグ、32:テスト結果、33:検証用キー、
34:テスト結果(確認内容)、35:テスト対象プログ
ラム名称、36:テスト対象モジュール名称、37:実
行中断位置。1: terminal device, 2: retest device, 3: test data extraction unit, 4: test execution unit, 5: test data grasping unit,
6: Test result verification unit, 7: Test data related information file, 8: Test data extraction file, 9: Test data file, 10: Test target program file, 1
1: Test coverage information file, 12: Verification test result file, 13: Verification data file, 14:
Verification result file, 15: correction module name, 16:
Test data = test target module correspondence table, 17: test data name, 18: module name, 19: test data name list, 20: test data, 21: initial data setting section, 22: test procedure section, 23: test coverage information , 24: number of executable statements, 25: number of branch directions, 2
6: test coverage rate, 27: number of executed statements / number of executed statements, 28: number of executed branch directions / number of branch directions, 29: coverage collection position, 30: type, 31: collection status flag , 32: test result, 33: verification key,
34: test result (confirmation content), 35: test target program name, 36: test target module name, 37: execution interruption position.
Claims (5)
めの再テスト方法において、モジュール修正時の再テス
ト範囲を、テストデータとテスト対象モジュールの関連
情報を基に抽出し、該抽出したテストデータを再実行
し、該テストデータについての前回の(実行済み)テスト
結果と今回のテスト結果とを比較し検証することを特徴
とする再テスト方法。1. A retest method for determining the test coverage of a program, wherein a retest range at the time of module modification is extracted based on test data and related information of a test target module, and the extracted test data is extracted. A retesting method comprising re-executing and comparing and verifying a previous (executed) test result and a present test result for the test data.
ルとの関係情報を、当該テストデータ実行時のテストカ
バレージ率の変化により把握することを特徴とする請求
項1記載の再テスト方法。2. The retesting method according to claim 1, wherein the relationship information between the test data and the test target module is grasped by the change of the test coverage rate when the test data is executed.
ルとの関係を、そのテストデータ実行時に通過するモジ
ュールを検出して把握することを特徴とする請求項1記
載の再テスト方法。3. The retesting method according to claim 1, wherein the relationship between the test data and the module to be tested is detected by detecting a module passing through when the test data is executed.
トデータ中に前以って指定し、テスト実行時にテストモ
ジュールの内部情報を前記キーに関連付けて出力し、そ
の出力結果を利用してキー毎に比較し検証することを特
徴とする請求項1記載の再テスト方法。4. A user specifies a test result comparison key in test data in advance, outputs internal information of a test module in association with the key at the time of test execution, and outputs the output result to use the key. The retesting method according to claim 1, wherein the retesting is performed by comparing and verifying each.
の関連情報から再テストすべきテストデータを抽出する
手段と、該抽出手段により抽出されたテストデータを実
行し、テストカバレージ収集を行う手段と、テストカバ
レージ率の変化によりテストデータとテスト対象モジュ
ールとの関係を把握する手段と、前回のテスト結果と今
回のテスト結果とを自動的に比較し検証する手段を有す
ることを特徴とする再テスト装置。5. A means for extracting test data to be retested from related information of the test data and the module to be tested, a means for executing the test data extracted by the extracting means, and collecting test coverage, and a test. A retesting apparatus comprising means for grasping a relationship between test data and a module to be tested by a change in coverage rate and means for automatically comparing and verifying a previous test result and a present test result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4184907A JPH0635754A (en) | 1992-07-13 | 1992-07-13 | Retesting method and device therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4184907A JPH0635754A (en) | 1992-07-13 | 1992-07-13 | Retesting method and device therefor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0635754A true JPH0635754A (en) | 1994-02-10 |
Family
ID=16161423
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4184907A Pending JPH0635754A (en) | 1992-07-13 | 1992-07-13 | Retesting method and device therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0635754A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006031121A (en) * | 2004-07-12 | 2006-02-02 | Nissan Motor Co Ltd | System inspection method and system inspection apparatus |
| JP2006048310A (en) * | 2004-08-03 | 2006-02-16 | Ricoh Co Ltd | Software test equipment |
| JP2015011396A (en) * | 2013-06-26 | 2015-01-19 | 株式会社エクサ | Regression test support system |
| CN104657270A (en) * | 2015-02-28 | 2015-05-27 | 北京嘀嘀无限科技发展有限公司 | Method and system for testing |
| WO2025182193A1 (en) * | 2024-03-01 | 2025-09-04 | 株式会社日立製作所 | Program, method, and system for assisting in correction of system architecture information |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62216047A (en) * | 1986-03-10 | 1987-09-22 | Fujitsu Ltd | Deciding system for regression preventing test case |
| JPH0363838A (en) * | 1989-08-02 | 1991-03-19 | Nec Corp | Software program inspection system |
| JPH04104334A (en) * | 1990-08-23 | 1992-04-06 | Fujitsu Ltd | Program test supporting device |
-
1992
- 1992-07-13 JP JP4184907A patent/JPH0635754A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62216047A (en) * | 1986-03-10 | 1987-09-22 | Fujitsu Ltd | Deciding system for regression preventing test case |
| JPH0363838A (en) * | 1989-08-02 | 1991-03-19 | Nec Corp | Software program inspection system |
| JPH04104334A (en) * | 1990-08-23 | 1992-04-06 | Fujitsu Ltd | Program test supporting device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006031121A (en) * | 2004-07-12 | 2006-02-02 | Nissan Motor Co Ltd | System inspection method and system inspection apparatus |
| JP2006048310A (en) * | 2004-08-03 | 2006-02-16 | Ricoh Co Ltd | Software test equipment |
| JP2015011396A (en) * | 2013-06-26 | 2015-01-19 | 株式会社エクサ | Regression test support system |
| CN104657270A (en) * | 2015-02-28 | 2015-05-27 | 北京嘀嘀无限科技发展有限公司 | Method and system for testing |
| WO2025182193A1 (en) * | 2024-03-01 | 2025-09-04 | 株式会社日立製作所 | Program, method, and system for assisting in correction of system architecture information |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04363641A (en) | Trouble shooting method | |
| JP3635479B2 (en) | Test execution control method and apparatus for switching equipment | |
| JPH0944375A (en) | Automatic test item selection method of test program | |
| JPH01199240A (en) | Dynamic test device for program | |
| JPH0675811A (en) | Terminal test equipment | |
| JPH0870349A (en) | Electronic exchange test result automatic judgment method | |
| JPS62109131A (en) | Collective start and collation system for check program | |
| JPH05257723A (en) | Program fault analyzing system | |
| CN117476115A (en) | An antibody-assisted analysis system for red blood cell pattern profiling | |
| JPH07105256A (en) | Logic simulation method | |
| JPH0325554A (en) | Command established value analyzing system | |
| CN115602340A (en) | A method for nucleic acid sampling self-service resident information registration | |
| JPS6134640A (en) | Inspecting method of program | |
| JPH0561706A (en) | Debatsuga inspection device | |
| CN121142212A (en) | Automated Testing Methods for Smart Cockpit Co-pilot Screen | |
| JP2746180B2 (en) | Program test support management device and program test support management method | |
| JPH0744360A (en) | Software quality evaluation method | |
| JPS59114650A (en) | Program tracing system | |
| JPH06208484A (en) | Automatic testing system for exchange software | |
| JPH07175683A (en) | Bug management system | |
| JP2001134468A (en) | GUI program test apparatus and GUI program test method | |
| JPH01267744A (en) | System for outputting debug information | |
| JPH03257637A (en) | Automatic check item extracting mechanism | |
| JPH06177944A (en) | Testing machine controller | |
| JPS61235954A (en) | Diagnostic system for information processor |