JP5605397B2

Method and apparatus for judging necessity of performing integration test

Abstract

This record has no abstract on file.

Term

Projected expiry 11 July 2032.

  1. Priority and filed
  2. Granted
  3. Today
  4. Projected expiry

4 claims: 2 independent, 2 dependent

  1. 1
    A method for determining the necessity of coupling inspection between software components, which are reusable software used as a core asset of a software product line. The first step (S110) of acquiring correspondence information showing the correspondence between each feature constituting the feature model expressing the characteristics of the product group manufactured by the software product line and the type and variation of the software component, and The type of the software component is i (i = 1, 2, ... M:M is the total number of types of software component), and the variation is j (j = 1, 2, ... Ni: Ni is the software component specified by the type i). (Total number of variations), one software component specified by i, j is prepared for each feature as represented by Sij, and is true when the feature is selected and false when the feature is not selected. A second state variable is used to generate a set Cij of the state variables of all the features associated with the software component Sij for each software component Sij according to the correspondence information acquired in the first step. Step (S120) and A software component group consisting of Ni software components specified by i is represented by Six, and a variation of Ni-1 among Six other than the variation specified by j is represented by t (t j), and all elements of Cij are represented by t (t j). The logical formula obtained by combining with a logical product is represented by H (Cij), and the logical formula obtained by logically denying H (Cij) is represented by NH (Cij). Cij) and Ni-The third step (S130 to S210) of generating an individual determination formula IS (Cij) consisting of a logical formula in which one NH (Cit) is connected by a logical product, The fourth step (S310) of designating two or more software components to be checked for the necessity of the coupling inspection, and For the software component specified in the fourth step, a necessity judgment formula is generated by combining all the individual judgment formulas generated in the third step by a logical product, and the necessity judgment formula is always used. If it is false (tautology), no inspection is required, and if the necessity judgment formula is unknown or always true (tautology), it is judged that inspection is necessary, and the fifth step (S340 to S370). A method for determining the necessity of a combination test, which comprises having a computer execute the above. ソフトウェアプロダクトラインのコア資産として使用される再利用可能なソフトウェアであるソフトウェア部品間の結合検査の要否を判定する結合検査要否判定方法であって、 前記ソフトウェアプロダクトラインによって製造されるプロダクト群の特徴を表現したフィーチャモデルを構成する各フィーチャと前記ソフトウェア部品の種類及びバリエーションとの対応関係を表す対応情報を取得する第1のステップ(S110)と、 前記ソフトウェア部品の種類をi(i=1,2,…M:Mはソフトウェア部品の種類の総数),バリエーションをj(j=1,2,…Ni :Ni は種類iで特定されるソフトウェア部品のバリエーションの総数)、i,jによって特定される一つのソフトウェア部品をSijで表すものとして、前記フィーチャ毎に用意され、該フィーチャが選択された場合に真、選択されなかった場合に偽となる状態変数を使用し、前記第1のステップで取得した対応情報に従って、前記ソフトウェア部品Sij毎に、該ソフトウェア部品Sijに対応付けられた全てのフィーチャの前記状態変数の集合Cijを生成する第2のステップ(S120)と、 iによって特定されるNi 個のソフトウェア部品からなるソフトウェア部品群をSix、Sixのうちjによって特定されるバリエーション以外のNi −1個のバリエーションをt(t≠j)で表し、Cijの全要素を論理積で結合することで得られる論理式をH(Cij)、H(Cij)を論理否定することで得られる論理式をNH(Cij)で表すものとして、前記ソフトウェア部品Sij毎に、H(Cij)及びNi −1個のNH(Cit)を論理積で結合した論理式からなる個別判定式IS(Cij)を生成する第3のステップ(S130〜S210)と、 結合検査の要否判定の対象となる二つ以上のソフトウェア部品を指定する第4のステップ(S310)と、 前記第4のステップで指定されたソフトウェア部品について前記第3のステップにて生成された全ての個別判定式を論理積で結合することで要否判定式を生成し、該要否判定式が常に偽(恒偽式)となる場合は検査不要、該要否判定式が真偽不明または常に真(恒真式)となる場合は検査必要と判定する第5のステップ(S340〜S370)と、 をコンピュータに実行させることを特徴とする結合検査要否判定方法。
  2. 2
    It is a combination inspection necessity determination device (1) that determines the necessity of connection inspection between software parts, which is reusable software used as a core asset of a software product line. Correspondence information acquisition means (5, S110) for acquiring correspondence information indicating the correspondence relationship between each feature constituting the feature model expressing the characteristics of the product group manufactured by the software product line and the type and variation of the software component. When, The type of software component is i (i = 1, 2, ... M:M is the total number of types of software component), and the variation is j (j = 1, 2, ... N).i : Ni Is the total number of variations of software parts specified by type i), and one software part specified by i, j is SijAs represented by, a state variable prepared for each of the features, which is true when the feature is selected and false when the feature is not selected, is used, and according to the correspondence information acquired by the correspondence information acquisition means. The software component SijFor each software component SijA set of the state variables C of all features associated withijState set generation means (5, S120) to generate N identified by ii A software component group consisting of individual software components is Six, SixN other than the variation specified by ji -1 variation is represented by t (t j), CijThe logical expression obtained by combining all the elements of H (C)ij), H (Cij) Is logically denied, and the logical expression obtained is NH (C).ij), The software component SijEvery time, H (Cij) And Ni -1 NH (Cit) Is combined by a logical product, and the individual discriminant IS (C)ij), And individual determination formula generation means (5, S130 to S210). Targeting means (5, S310) for designating two or more software components to be determined as to whether or not a joint inspection is necessary, and A necessity judgment formula is generated by combining all the individual judgment formulas generated by the individual judgment formula generation means for the software component designated by the target designation means by a logical product, and the necessity judgment formula is generated. Inspection is not required if the formula is always false (tautology), and inspection is required if the formula is unknown or true (tautology). S350) and Judgment result output means (5, S360 to S370) that outputs the judgment result by the inspection necessity judgment means, and A device for determining the necessity of a coupling inspection. ソフトウェアプロダクトラインのコア資産として使用される再利用可能なソフトウェアであるソフトウェア部品間の結合検査の要否を判定する結合検査要否判定装置(1)であって、 前記ソフトウェアプロダクトラインによって製造されるプロダクト群の特徴を表現したフィーチャモデルを構成する各フィーチャと前記ソフトウェア部品の種類及びバリエーションとの対応関係を表す対応情報を取得する対応情報取得手段(5,S110)と、 前記ソフトウェア部品の種類をi(i=1,2,…M:Mはソフトウェア部品の種類の総数),バリエーションをj(j=1,2,…Ni :Ni は種類iで特定されるソフトウェア部品のバリエーションの総数)、i,jによって特定される一つのソフトウェア部品をSijで表すものとして、前記フィーチャ毎に用意され、該フィーチャが選択された場合に真、選択されなかった場合に偽となる状態変数を使用し、前記対応情報取得手段によって取得された対応情報に従って、前記ソフトウェア部品Sij毎に、該ソフトウェア部品Sijに対応付けられた全てのフィーチャの前記状態変数の集合Cijを生成する状態集合生成手段(5,S120)と、 iによって特定されるNi 個のソフトウェア部品からなるソフトウェア部品群をSix、Sixのうちjによって特定されるバリエーション以外のNi −1個のバリエーションをt(t≠j)で表し、Cijの全要素を論理積で結合することで得られる論理式をH(Cij)、H(Cij)を論理否定することで得られる論理式をNH(Cij)で表すものとして、前記ソフトウェア部品Sij毎に、H(Cij)及びNi −1個のNH(Cit)を論理積で結合した論理式からなる個別判定式IS(Cij)を生成する個別判定式生成手段(5,S130〜S210)と、 結合検査の要否を判定する対象となる二つ以上のソフトウェア部品を指定する対象指定手段(5,S310)と、 該対象指定手段にて指定されたソフトウェア部品について前記個別判定式生成手段にて生成された全ての個別判定式を論理積で結合することで要否判定式を生成し、該要否判定式が常に偽(恒偽式)となる場合は検査不要、該要否判定式が真偽不明または常に真(恒真式)となる場合は検査必要と判定する検査要否判定手段(5,S340〜S350)と、 検査要否判定手段での判定結果を出力する判定結果出力手段(5,S360〜S370)と、 を備えることを特徴とする結合検査要否判定装置。