講演名 2009-08-07
テストケース生成における同値分割法の数式処理システムによる自動化
服部 哲,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) ソフトウェアのテストケース生成を数式処理システムMathematicaによって試みる.本論文では,ソフトウェアのMathematicaによる仕様記述からのブラックボックス法でのテストケース生成を扱う.テストケース生成手続きをMathematicaで実現した2つの例を示す.最初の手続きは同値分割法に基づくものである.定理証明の一種によってテストケースが存在しない場合を示せるという,Mathematicaを用いる一つの利点を示す.2つ目の手続きは,同値分割法に加え,限界値分析も用いたものである.限界値分析のMathematicaでの実現のために,その形式化を行った.2つ目の手続きにより,最初の手続きで生成されなかったテストケースの一部を補うことができる.Mathematicaを用いる最大の理由は,テストケース生成に必須な方程式・不等式の求解ができるからである.また,Mathematicaは関数型プログラミング言語であり,リスト処理のためのMap関数を持つ.これによりテストケース生成手続きが簡潔に記述できることも特徴である.
抄録(英) We try to use a computer algebra system Mathematica as a test case generation system. In this paper, we deal with black-box test case generation from a software specification described in Mathematica. We show two test case generation procedures described also in Mathematica. The first one is based on equivalence partitioning. Mathematica shows a case that test cases do no exist by a kind of theorem proving. This is an advantage in using Mathematica. The second procedure is a modification of the first one adopting boundary value analysis. For implementation of boundary value analysis, we give a formalization for it. Mathematica has a built-in function to solve equations and inequalities. This is the main reason why we take Mathematica. Mathematica is a functional programming language. By using the Map function, we can make a generation procedure compact.
キーワード(和) テストケース自動生成 / 同値分割法 / 限界値分析 / 数式処理システム / 定理証明 / 関数型プログラミング
キーワード(英) Test Case Generation / Equivalence Partitioning / Boundary Value Analysis / Computer Algebra System / Theorem Proving / Functional Programming
資料番号 SS2009-24
発行日

研究会情報
研究会 SS
開催期間 2009/7/30(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Software Science (SS)
本文の言語 ENG
タイトル(和) テストケース生成における同値分割法の数式処理システムによる自動化
サブタイトル(和)
タイトル(英) Automating Equivalence Partitioning in Test Case Generation with a Computer Algebra System
サブタイトル(和)
キーワード(1)(和/英) テストケース自動生成 / Test Case Generation
キーワード(2)(和/英) 同値分割法 / Equivalence Partitioning
キーワード(3)(和/英) 限界値分析 / Boundary Value Analysis
キーワード(4)(和/英) 数式処理システム / Computer Algebra System
キーワード(5)(和/英) 定理証明 / Theorem Proving
キーワード(6)(和/英) 関数型プログラミング / Functional Programming
第 1 著者 氏名(和/英) 服部 哲 / Satoshi HATTORI
第 1 著者 所属(和/英) 東京工業大学大学院情報理工学研究科
Graduate School of Information Science and Engineering, Tokyo Institute of Technology
発表年月日 2009-08-07
資料番号 SS2009-24
巻番号(vol) vol.109
号番号(no) 170
ページ範囲 pp.-
ページ数 6
発行日