SOFTWARE TEST APPARATUS AND SOFTWARE TEST PROGRAM

PROBLEM TO BE SOLVED: To extract a necessary additional test case for software to be inspected, and to automatically output determination on success or failure thereof.SOLUTION: A software test apparatus operates as follows: inputting software to be inspected (21); generating a control flow graph fo...

Full description

Saved in:
Bibliographic Details
Main Authors ICHIDA NORIAKI, OGASAWARA HIDETO, KASE NAOKI
Format Patent
LanguageEnglish
Japanese
Published 23.06.2016
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:PROBLEM TO BE SOLVED: To extract a necessary additional test case for software to be inspected, and to automatically output determination on success or failure thereof.SOLUTION: A software test apparatus operates as follows: inputting software to be inspected (21); generating a control flow graph formed by representing all possible paths for a program to be executed in a graphic form (23); executing an existing test case 22 on the control flow graph, and recording paths used on the control flow graph (24); generating an additional test case to be added for satisfying a predetermined complete criterion when the predetermined complete criterion based on control path test is not satisfied only with the existing test case (25); generating an expected result to be obtained as a result of executing the program in a condition in the additional test case (254); and calculating a test result of the additional test case, on the basis of an execution result of the additional test case obtained by executing only the additional test case in a test case execution section, and the expected result (26).SELECTED DRAWING: Figure 1 【課題】検査対象ソフトウェアについて必要な追加テストケースを抽出し、その合否判定を自動的に出力する。【解決手段】検査対象ソフトウェアを入力して21、プログラムを実行した場合に通過してパスを通す可能性のある全ての経路をグラフで表した制御フローグラフを生成し23、既存テストケース22を制御フローグラフ上で実行し、制御フローグラフ上で通過した経路を記録し24、既存テストケースだけでは制御パステスト法による所定の網羅基準に満たない場合に、所定の網羅基準を満たすように追加される追加テストケースを生成し25、追加テストケースに書かれた条件でプログラムを実行した場合に、その結果として得られるべき期待結果を生成し254、テストケース実行部で追加テストケースのみを実行して得られた追加テストケースの実行結果および期待結果に基づいて、追加テストケースのテスト結果を算出する26。【選択図】図1
Bibliography:Application Number: JP20140253939