仮想マシンの中間言語に基づく回帰テスト選択手法

書誌事項

タイトル別名
  • カソウ マシン ノ チュウカン ゲンゴ ニ モトヅク カイキ テスト センタク シュホウ
  • Regression Test Selection Based on Intermediate Code for Virtual Machines
  • テスト技法・保守技術

この論文をさがす

抄録

回帰テストでは,ソフトウェアに対して行った変更が,予期しない故障を引き起こしていないか検査するために,変更前に通過したテストケースを再実行する.しかしすべてのテストケースを再実行すると非常にコストがかかるため,テストケースを選択的に再実行するための研究が行われてきた.特に再実行しても故障を発見しないテストケースのみを省略する手法は,安全な回帰テスト選択手法と呼ばれる.しかしながら,従来の手法はソースコードの解析に基づいていた.近年,仮想マシンを利用するプログラミング言語によるソフトウェアの開発が,急速に広まりつつある.たとえばJavaやMicrosoft .Net Frameworkで開発されたソフトウェアは,プラットフォーム独立な中間言語にコンパイルされる.このような中間言語も,回帰テスト時のテストケースの選択に利用することが可能である.これは,特にMicrosoft .Net Frameworkのように,C#やVisualBasicなど,複数のプログラミング言語を対象としている環境では重要である.そこで本論文では,仮想マシンの中間言語に基づく安全な回帰テスト選択手法を提案する.本論文では,特にMicrosoft .Net Frameworkを例として取り上げる.提案手法を評価した結果,回帰テストのコストを平均40.4%も節約することができた.

Regression testing is testing applied to software that has been modified. It basically entails re-testing the software with previous test cases to confirm that the modifications made to the software do not have an adverse effect. But re-executing all test cases is normally cost prohibitive, and thus much research has been done on selecting test cases from a test suite without compromising the reliability of the software. These regression test selection techniques find test cases that will not detect any bugs in the modified software. However, these techniques are based on analysis of source code. Recent programming environments have seen a proliferation of virtual machines. For example, programs written in Java and with the Microsoft .Net Framework are compiled into a platform-independent intermediate code. Such code could also be used for regression test selection. This especially holds for the Microsoft .Net Framework which handles various programming languages, such as Visual Basic and C#. Thus, this paper presents a safe regression test selection technique for virtual machine based programs. We especially target the Microsoft .Net Framework. Evaluation on 10 different examples resulted in an average of a 40.4% decrease in the cost of regression testing.

収録刊行物

参考文献 (10)*注記

もっと見る

キーワード

詳細情報 詳細情報について

問題の指摘

ページトップへ