JP2016110327A - Test case specification joining program, method, and device - Google Patents

Test case specification joining program, method, and device Download PDF

Info

Publication number
JP2016110327A
JP2016110327A JP2014246197A JP2014246197A JP2016110327A JP 2016110327 A JP2016110327 A JP 2016110327A JP 2014246197 A JP2014246197 A JP 2014246197A JP 2014246197 A JP2014246197 A JP 2014246197A JP 2016110327 A JP2016110327 A JP 2016110327A
Authority
JP
Japan
Prior art keywords
combination
test case
test
test cases
conditional
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.)
Withdrawn
Application number
JP2014246197A
Other languages
Japanese (ja)
Inventor
スッパシット モンプラターンチャイ
Monpratarnchai Supasit
スッパシット モンプラターンチャイ
晋 徳本
Susumu Tokumoto
晋 徳本
一樹 宗像
Kazuki Munakata
一樹 宗像
朝子 片山
Asako Katayama
朝子 片山
前田 芳晴
Yoshiharu Maeda
芳晴 前田
忠弘 上原
Tadahiro Uehara
忠弘 上原
英生 谷田
Hideo Tanida
英生 谷田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014246197A priority Critical patent/JP2016110327A/en
Publication of JP2016110327A publication Critical patent/JP2016110327A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently determine a combination of valid test cases.SOLUTION: Test cases included in a plurality of test case specifications in which sequence is previously determined are classified into a normal case and an abnormal case. Processes (S14, S16) for acquiring, from among combinations of test cases specified on the basis of a sequence and a kind of classified test case, a combination of test cases which includes a condition clause not included in a set of selected condition clauses Cand in which the number of such clauses is largest, a process (S20) for determining by a SAT solver whether the acquired combination of test cases is satisfiable, and a process (S26) for adding the condition clauses included in the acquired combination of test cases to the set of selected condition clauses C, are repeated (S28) until the condition clauses included in the set of selected condition clauses Cand the condition clauses included in a set of all condition clauses Cmatch, with a combination of test cases found to be satisfiable outputted (S32).SELECTED DRAWING: Figure 6

Description

本発明は、テストケース仕様書結合プログラム、方法及び装置に関する。   The present invention relates to a test case specification combination program, method, and apparatus.

従来、統合テストにおいて、複数のシステム仕様書それぞれからテストケース仕様書を生成し、これらのテストケース仕様書を結合して1つの統合テスト仕様書を生成する技術が知られている。   2. Description of the Related Art Conventionally, in integration testing, a technique is known in which a test case specification is generated from each of a plurality of system specifications and a single integrated test specification is generated by combining these test case specifications.

特開2012−185642号公報JP 2012-185642 A

テストケース仕様書の結合においては、通常、網羅性向上のため、全てのテストケース仕様書に含まれるテストケースの全組合せの充足可能性を確認する。このため、仕様書が多い場合や、仕様書が多くのテストケースを含む場合には、組合せの数が膨大になり(爆発し)、処理に長時間を要する又は処理に失敗するおそれがある。   When combining test case specifications, it is common to check the satisfiability of all combinations of test cases included in all test case specifications to improve completeness. For this reason, when there are many specifications or when the specifications include many test cases, the number of combinations becomes enormous (explodes), and there is a possibility that the processing will take a long time or the processing may fail.

また、システム仕様書が正常又は異常に分類されるテストケースを含む場合(例えば、チェック系仕様書)には、実際には無効となるはずのテストケースの組合せが統合テスト仕様書に含まれる可能性がある。   In addition, when the system specifications include test cases classified as normal or abnormal (for example, check specifications), a combination of test cases that should actually be invalid can be included in the integrated test specifications. There is sex.

1つの側面では、本発明は、効率的に有効なテストケースの組合せを決定することが可能なテストケース仕様書結合プログラム、方法及び装置を提供することを目的とする。   In one aspect, an object of the present invention is to provide a test case specification combination program, method, and apparatus capable of efficiently determining effective test case combinations.

一つの態様では、テストケース仕様書結合プログラムは、順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合プログラムであって、前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類し、前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返し、充足可能な組合せと判定された前記テストケースの組合せを出力する、処理をコンピュータに実行させ、前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、テストケース仕様書結合プログラムである。   In one aspect, the test case specification combination program is a test case specification combination program for combining a plurality of test case specifications having a predetermined order, and the test cases included in the plurality of test case specifications. Is stored in a storage unit for storing acquired conditional clauses from combinations of test cases identified based on the order and the types of the classified test cases. A process for acquiring a combination of test cases including the conditional clauses that are not stored and having the largest number of conditional clauses not stored in the storage unit, and determining whether the acquired combination of test cases is a satisfactory combination The process and the process of storing the conditional clause included in the acquired combination of the test cases in the storage unit can be repeated until a predetermined timing is satisfied. Output a combination of the test cases determined to be combined, cause the computer to execute processing, and at the predetermined timing, the conditional clauses stored in the storage unit are all included in the plurality of test case specifications. This is a test case specification combination program that has the same timing as the conditional clause.

効率的に有効なテストケースの組合せを決定することができる。   An efficient combination of test cases can be determined.

一実施形態に係る統合テスト装置のハードウェア構成を示鈴である。It is a bell showing the hardware configuration of the integrated test apparatus according to an embodiment. 統合テスト装置の機能ブロック図である。It is a functional block diagram of an integrated test apparatus. ATMの利用シナリオの統合テスト内容を示す図である。It is a figure which shows the integrated test content of the usage scenario of ATM. 図3の統合テストを実行するためのテストケース仕様書の例を示す図である。It is a figure which shows the example of the test case specification for performing the integration test of FIG. 図2のテストケース仕様書結合部の詳細な機能ブロック図である。FIG. 3 is a detailed functional block diagram of a test case specification combining unit in FIG. 2. テストケース仕様書結合部の処理を示すフローチャートである。It is a flowchart which shows the process of a test case specification coupling | bond part. 図7(a)〜図7(c)は、図6の説明に用いるテストケース仕様書を説明するための図である。FIG. 7A to FIG. 7C are diagrams for explaining the test case specifications used in the explanation of FIG. 前処理部の処理を説明するための図である。It is a figure for demonstrating the process of a pre-processing part. 図6のステップS10を説明するための図である。It is a figure for demonstrating step S10 of FIG. 図10(a)は、テストケースの組合せを取得する方法について説明するための図であり、図10(b)は、図10(a)の優先順をまとめたテーブルである。FIG. 10A is a diagram for explaining a method for acquiring a combination of test cases, and FIG. 10B is a table in which the priority order of FIG. 図6のステップS12〜S32の処理を説明するための図(その1)である。FIG. 7 is a diagram (No. 1) for describing the processing in steps S12 to S32 in FIG. 6; 図6のステップS12〜S32の処理を説明するための図(その2)である。FIG. 7 is a diagram (No. 2) for explaining the processing in steps S12 to S32 in FIG. 6; 比較例の処理概要を示す図である。It is a figure which shows the process outline | summary of a comparative example. 比較例において生成されるテストケース組合せを示す図(その1)である。It is FIG. (1) which shows the test case combination produced | generated in a comparative example. 比較例において生成されるテストケース組合せを示す図(その2)である。It is FIG. (2) which shows the test case combination produced | generated in a comparative example. 比較例においてSATソルバ後に抽出される組合せと、該組合せから作成される全条件節集合を示す図である。It is a figure which shows the combination extracted after a SAT solver in a comparative example, and all the conditional clause sets created from this combination. 比較例におけるテストケース組合せのチェックについて説明するための図である。It is a figure for demonstrating the check of the test case combination in a comparative example. 図18(a)は、比較例における出力を示す図であり、図18(b)は、比較例と実施形態とを比較した表である。FIG. 18A is a diagram showing an output in the comparative example, and FIG. 18B is a table comparing the comparative example with the embodiment. 比較例の出力に無効な組合せが含まれることを示す図である。It is a figure which shows that the invalid combination is contained in the output of a comparative example.

以下、統合テスト装置の一実施形態について、図1〜図12に基づいて詳細に説明する。本実施形態の統合テスト装置10は、金融システム向けに、複数のシステム(SS:System Specification)仕様書から、統合テスト(IT:Integration Test)仕様書を自動生成する装置である。   Hereinafter, an embodiment of the integrated test apparatus will be described in detail with reference to FIGS. The integration test apparatus 10 of the present embodiment is an apparatus that automatically generates an integration test (IT) specification from a plurality of system (SS: System Specification) specifications for a financial system.

図1には、一実施形態に係るテストケース仕様書結合装置としての統合テスト装置10のハードウェア構成が示されている。図1に示すように、統合テスト装置10は、CPU(Central Processing Unit)90、ROM(Read Only Memory)92、RAM(Random Access Memory)94、記憶部(ここではHDD(Hard Disk Drive))96、ネットワークインタフェース97、表示部93、入力部95、及び可搬型記憶媒体用ドライブ99等を備えている。これら統合テスト装置10の構成各部は、バス98に接続されている。統合テスト装置10では、ROM92あるいはHDD96に格納されているプログラム(テストケース仕様書結合プログラムを含む)、或いは可搬型記憶媒体用ドライブ99が可搬型記憶媒体91から読み取ったプログラム(テストケース仕様書結合プログラムを含む)をCPU90が実行することにより、図2に示す機能が実現される。   FIG. 1 shows a hardware configuration of an integrated test apparatus 10 as a test case specification combining apparatus according to an embodiment. As shown in FIG. 1, the integrated test apparatus 10 includes a CPU (Central Processing Unit) 90, a ROM (Read Only Memory) 92, a RAM (Random Access Memory) 94, and a storage unit (here, an HDD (Hard Disk Drive)) 96. A network interface 97, a display unit 93, an input unit 95, a portable storage medium drive 99, and the like. Each component of the integrated test apparatus 10 is connected to a bus 98. In the integrated test apparatus 10, a program stored in the ROM 92 or the HDD 96 (including a test case specification combining program) or a program read from the portable storage medium 91 by the portable storage medium drive 99 (test case specification combining) The function shown in FIG. 2 is realized by the CPU 90 executing (including a program).

図2には、統合テスト装置10の機能ブロック図が示されている。統合テスト装置10では、CPU90がプログラムを実行することで、プログラム変換部12、テストケース仕様書生成部14、テストケース仕様書結合部16、IT仕様書変換部18としての機能が実現されている。   FIG. 2 shows a functional block diagram of the integrated test apparatus 10. In the integrated test apparatus 10, functions as a program conversion unit 12, a test case specification generation unit 14, a test case specification combination unit 16, and an IT specification conversion unit 18 are realized by the CPU 90 executing a program. .

プログラム変換部12は、SS仕様書(例えばEXCELデータ)をそれぞれJava(登録商標)プログラムに変換する。   The program conversion unit 12 converts each SS specification (for example, EXCEL data) into a Java (registered trademark) program.

テストケース仕様書生成部14は、シンボリック実行技術を用いてJava(登録商標)プログラムを解析し、テストケース仕様書(XMLデータ)を生成する。   The test case specification generation unit 14 analyzes a Java (registered trademark) program using a symbolic execution technique, and generates a test case specification (XML data).

テストケース仕様書結合部16は、全てのテストケース仕様書に含まれるテストケースの組合せのうち充足可能な組合せを抽出し、結合したテストケース仕様書として出力する。なお、テストケース仕様書結合部16の詳細については、後述する。   The test case specification combining unit 16 extracts satisfiable combinations from the combinations of test cases included in all the test case specifications, and outputs them as combined test case specifications. Details of the test case specification combining unit 16 will be described later.

IT仕様書変換部18は、結合したテストケース仕様書(XMLデータ)を、人間が理解可能なIT仕様書(例えばEXCELデータ)に変換する。   The IT specification conversion unit 18 converts the combined test case specification (XML data) into an IT specification (for example, EXCEL data) that can be understood by humans.

ここで、本実施形態におけるテストケース仕様書の一例について、図3、図4に基づいて説明する。   Here, an example of the test case specification in the present embodiment will be described with reference to FIGS.

図3は、ATM(Automated Teller Machine)の利用シナリオの統合テスト内容を示し、図4は、図3の統合テストを実行するためのテストケース仕様書の例を示している。図3に示すように、統合テストのチェック項目は6種類(通帳、カード、取引、暗証番号、金額、エラー)あり、各チェック項目に対してあり得るチェック内容が定まっている。本例では、図4に示すように、テストケース仕様書は3つ(X,Y,Z)となり、XとYはチェック系の仕様書で、Zは更新系の仕様書である。ここで、チェック系仕様書とは、システム状態やユーザ入力の様々な条件をチェックし、チェック結果によって正常ケースと異常ケースに分割するものである。一方、更新系仕様書は、システム状態やユーザ入力の様々な条件をチェックし、チェック結果によってシステム状態やユーザ入力値を更新する物である。また、各テストケース仕様書には順序が予め決められており、本例では、X→Y→Zとなっている。更に、テストケース仕様書Xは9件のテストケースを有し、テストケース仕様書Yは4件のテストケースを有し、テストケース仕様書Zは4件のテストケースを有する。   FIG. 3 shows the contents of an integration test of an ATM (Automated Teller Machine) usage scenario, and FIG. 4 shows an example of a test case specification for executing the integration test of FIG. As shown in FIG. 3, there are six types of integration test check items (passbook, card, transaction, password, amount, and error), and the possible check contents are determined for each check item. In this example, as shown in FIG. 4, there are three test case specifications (X, Y, Z), where X and Y are check system specifications, and Z is an update system specification. Here, the check system specifications check various conditions of the system state and user input, and divide into normal cases and abnormal cases according to the check results. On the other hand, the update system specification is for checking various conditions of the system state and user input and updating the system state and user input value according to the check result. The order of each test case specification is determined in advance, and in this example, X → Y → Z. Further, the test case specification X has nine test cases, the test case specification Y has four test cases, and the test case specification Z has four test cases.

例えば、テストケース仕様書Xの場合、ID=X01,X02では、通帳記帳において、カードの有無を問わず、通帳が挿入されていなければエラーになることが示されている。また、ID=X03〜X06では、預入れにおいて、カード及び通帳のいずれか、又は両方でも預入れが可能だが、カード及び通帳の両方がなければエラーになることが示されている。また、ID=X07〜X09では、引き出しの場合、通帳の有無を問わず、カードが挿入されていなければエラーとなり、暗証番号が正しくない場合にもエラーとなることが示されている。   For example, in the case of the test case specification X, ID = X01 and X02 indicate that in the passbook entry, an error occurs if no passbook is inserted regardless of the presence or absence of a card. Further, ID = X03 to X06 indicates that, in depositing, it is possible to deposit either or both of a card and a passbook, but an error occurs if both the card and the passbook are not present. In addition, ID = X07 to X09 indicates that in the case of withdrawal, an error occurs if a card is not inserted regardless of whether there is a bankbook, and an error occurs even if the password is not correct.

また、テストケース仕様書Yの場合、ID=Y01,Y02では、引き出しの場合に、金額が50万円を超えるとエラーになることが示されている。また、ID=Y03,Y04では、預入れの場合に、100万円を超えるとエラーになることが示されている。   In the case of the test case specification Y, ID = Y01 and Y02 indicate that an error occurs if the amount exceeds 500,000 yen in the case of withdrawal. Further, ID = Y03, Y04 indicates that an error occurs if the deposit exceeds 1 million yen.

また、テストケース仕様書Zの場合、ID=Z01〜Z04では、条件によって更新処理が異なることが示されている。   Further, in the case of the test case specification Z, ID = Z01 to Z04 indicates that the update process varies depending on the conditions.

図5には、図2のテストケース仕様書結合部16の具体的な機能ブロック図が示されている。図5に示すように、テストケース仕様書結合部16は、分類部としての前処理部20、テストケース組合せ取得部22、充足可能性判定部24、出力部としての後処理部26を有する。なお、テストケース組合せ取得部22及び充足可能性判定部24を含んで処理部の機能が実現されている。   FIG. 5 shows a specific functional block diagram of the test case specification combining unit 16 of FIG. As shown in FIG. 5, the test case specification combining unit 16 includes a preprocessing unit 20 as a classification unit, a test case combination acquisition unit 22, a satisfiability determination unit 24, and a post-processing unit 26 as an output unit. The function of the processing unit is realized including the test case combination acquisition unit 22 and the satisfiability determination unit 24.

前処理部20は、テストケース仕様書生成部14から出力されたテストケース仕様書(XMLデータ)を読み込み、条件を解析する。また、前処理部20は、テストケース仕様書に含まれる各テストケースを正常ケースと異常ケースに分割する。また、前処理部20は、全てのテストケースに含まれる条件節の集合(全条件節集合Call)を作成する。 The preprocessing unit 20 reads the test case specification (XML data) output from the test case specification generation unit 14 and analyzes the conditions. The preprocessing unit 20 divides each test case included in the test case specification into a normal case and an abnormal case. In addition, the preprocessing unit 20 creates a set of conditional clauses (all conditional clause set C all ) included in all test cases.

テストケース組合せ取得部22は、テストケースの組合せを1組ずつ作成し、その組合せが所定条件を満たす場合に、充足可能性判定を行う組合せとして取得する。   The test case combination acquisition unit 22 creates a combination of test cases one by one, and acquires the combination as a combination that performs satisfiability determination when the combination satisfies a predetermined condition.

充足可能性判定部24は、テストケース組合せ取得部22が取得したテストケースの組合せをSATソルバ(Satisfiability Solver)実行用数式コードに変換する。また、充足可能性判定部24は、SATソルバ実行用数式コードを入力とし、SATソルバを実行して、充足可能(SAT)となった組合せを抽出する。ここで、SATソルバは、Yicesなどであり、与えられた条件や式を解析して充足可能性を判定する。この場合、SATソルバは、与えられた条件や式を満たす解釈やモデル、値セットが1つでも見つかった場合に充足可能(SAT)を出力し、見つからなかった場合に充足不可能(UNSAT)を出力する。   The satisfiability determination unit 24 converts the test case combination acquired by the test case combination acquisition unit 22 into a mathematical code for executing a SAT solver (SATisfiability Solver). Further, the satisfiability determination unit 24 receives the mathematical code for executing the SAT solver, executes the SAT solver, and extracts combinations that become satisfiable (SAT). Here, the SAT solver is Yices or the like, and a satisfiability is determined by analyzing given conditions and expressions. In this case, the SAT solver outputs satisfiable (SAT) when at least one interpretation, model, or value set satisfying the given condition or expression is found, and unsatisfiable (UNSAT) when it is not found. Output.

後処理部26は、テストケースのIDを整理するなどして、充足可能なテストケースの組合せを正規化し、正規化したテストケースの組合せをXMLデータに変換して、IT仕様書変換部18に出力する。   The post-processing unit 26 normalizes satisfactory test case combinations by organizing test case IDs, etc., converts the normalized test case combinations into XML data, and sends them to the IT specification conversion unit 18. Output.

次に、本実施形態のテストケース仕様書結合部16が実行する処理について、図6のフローチャートに沿って詳細に説明する。図6の処理の前提として、図7(a)に示すようなテストケース仕様書がテストケース仕様書生成部14から入力されるものとする。具体的には、テストケース仕様書は、X,Y,Zの3種類があり、X,Yがチェック系仕様書で、Zが更新系仕様書となっている。また、テストケース使用書の順序は、X→Y→Zの順となっており、生成されたテストケース件数(テストケース仕様書が含むテストケースの数)は、Xが4、Yが4、Zが3となっている。   Next, processing executed by the test case specification combining unit 16 of this embodiment will be described in detail along the flowchart of FIG. As a premise of the processing in FIG. 6, it is assumed that a test case specification as shown in FIG. 7A is input from the test case specification generation unit 14. Specifically, there are three types of test case specifications, X, Y, and Z, where X and Y are check system specifications and Z is an update system specification. The order of the test case usage documents is in the order of X → Y → Z, and the number of generated test cases (the number of test cases included in the test case specification) is 4 for X, 4 for Y, Z is 3.

また、テストケース仕様書の各テストケースの条件(前処理部20によるXML解析後のテストケースのIDと条件式)は、図7(b)のようになっているものとする。なお、条件式は、実際には、図4に示すような式となる場合が多いが、本実施形態では、図7(b)に示すように、条件式を分かり易く表現するために変数(A,B…)を用いることとしている。図7(b)の各条件に含まれる変数は、図7(c)の変数のタイプ・値一覧に示すようになっている。なお、図7(b)の例では、error=0が正常を意味し、error=1が異常を意味している。また、テストケース仕様書Zは更新系仕様書であるため、正常ケース、異常ケースを分割するためのerror節は存在しない。   Further, it is assumed that the conditions for each test case in the test case specification (ID and conditional expression of the test case after the XML analysis by the preprocessing unit 20) are as shown in FIG. In practice, the conditional expression is often an expression as shown in FIG. 4, but in the present embodiment, as shown in FIG. 7B, a variable ( A, B ...) is used. The variables included in each condition in FIG. 7B are as shown in the variable type / value list in FIG. 7C. In the example of FIG. 7B, error = 0 means normal and error = 1 means abnormal. Further, since the test case specification Z is an updated specification, there is no error clause for dividing the normal case and the abnormal case.

また、前処理部20は、図6の処理の前に、テストケース仕様書に含まれる各テストケースを正常ケースと異常ケースに分割する。この場合、前処理部20は、各テストケースに含まれるerror節に基づいて、図8(a)に示すテストケースを、図8(b)に示すように正常ケース(上段)と、異常ケース(下段)とに分割する。なお、テストケース仕様書Zは、更新系仕様書であるので、全てのテストケースが正常ケースとなる。また、各テストケースのerror節は、分割後に各条件から削除される。なお、図6の処理が開始される時点では、選択済条件節集合Cselectedを空にしておく(図11の最上段参照)。なお、選択済条件節集合Cselectedには、テストケース組合せ取得部22が取得したテストケースの組合せに含まれる条件節が随時格納される。なお、予め正常ケースと異常ケースに分割されている場合には、上記処理は不要となる。 Further, the preprocessing unit 20 divides each test case included in the test case specification into a normal case and an abnormal case before the processing of FIG. In this case, based on the error clause included in each test case, the preprocessing unit 20 converts the test case shown in FIG. 8A into a normal case (upper stage) and an abnormal case as shown in FIG. Divide into (lower). Since the test case specification Z is an update specification, all test cases are normal cases. Also, the error clause of each test case is deleted from each condition after the division. At the time when the processing of FIG. 6 is started, the selected conditional clause set C selected is left empty (see the top row in FIG. 11). In the selected conditional clause set C selected , conditional clauses included in the test case combination acquired by the test case combination acquisition unit 22 are stored as needed. It should be noted that the above processing is not necessary when the case is divided into a normal case and an abnormal case in advance.

図6の処理では、まず、ステップS10において、前処理部20が、全条件節の和集合を全条件節集合Callとする。具体的には、図9において(1)〜(6)を付して示すように、各テストケースに含まれる条件節を取り出し、その和集合を全条件節集合Callとする。 In the process of FIG. 6, first, in step S10, the preprocessing unit 20 sets the union of all condition clauses as the all condition clause set C all . Specifically, as shown by attaching (1) to (6) in FIG. 9, the conditional clauses included in each test case are extracted, and the union is set as an all conditional clause set C all .

次いで、ステップS12では、テストケース組合せ取得部22が、次の組合せを取得する。ここで、テストケース組合せ取得部22は、以下の条件の下、次の組合せを取得する。
(A)正常ケースを多く含むテストケースの組合せを優先する。
(B)テストケース組合せに含まれる条件節のうち、選択済条件節集合Cselectedに含まれない条件節が多い組合せを優先して選択する。
(C)空の異常ケースを含む組合せは空とする、という条件の下、次の組合せを取得する。
Next, in step S12, the test case combination acquisition unit 22 acquires the next combination. Here, the test case combination acquisition unit 22 acquires the next combination under the following conditions.
(A) A combination of test cases including many normal cases is given priority.
(B) Among the conditional clauses included in the test case combination, a combination having a large number of conditional clauses not included in the selected conditional clause set C selected is preferentially selected.
(C) The following combination is acquired under the condition that a combination including an empty abnormal case is empty.

上記(A)の条件を適用すると、図10(a)の(1)に示すように、「X_正常→Y_正常→Z_正常」が最優先となる。また、次に優先されるのは、「X_正常→Y_正常→Z_異常」だが、Z_異常は空であるので、(C)の条件より、組合せが空となる。また、次に優先されるのは、「X_正常→Y_異常」であり、その次に優先されるのは、「X_異常」である。なお、図10(b)は、(A)、(C)の条件を適用した場合の優先順をまとめたテーブルである。   When the condition (A) is applied, “X_normal → Y_normal → Z_normal” has the highest priority as shown in (1) of FIG. The next priority is “X_normal → Y_normal → Z_abnormal”, but Z_abnormal is empty, so the combination is empty from the condition (C). The next priority is “X_normal → Y_abnormal”, and the next priority is “X_abnormal”. FIG. 10B is a table summarizing the priority order when the conditions (A) and (C) are applied.

したがって、ステップS12では、テストケース組合せ取得部22は、最も優先される「X_正常→Y_正常→Z_正常」の組合せの1つ(ここでは、X01→Y01→Z01を取得する(図11の符号(S12−1)参照)。なお、以下においては、テストケースの組合せを「X01Y01Z01」のように表記する。   Accordingly, in step S12, the test case combination acquisition unit 22 acquires one of the most prioritized combinations of “X_normal → Y_normal → Z_normal” (here, X01 → Y01 → Z01 (reference numeral in FIG. 11). (See (S12-1)) In the following, a combination of test cases is expressed as “X01Y01Z01”.

次いで、ステップS14では、テストケース組合せ取得部22が、条件節の和集合Ccombを取得する。この場合、テストケースの組合せX01Y01Z01においては、Ccombとして、「A=1 & B<100 & C!="p" & C!="q" & B>0 & D=true」が取得される(図11の符号(S14−1)参照)。 Next, in step S14, the test case combination acquisition unit 22 acquires a union C comb of conditional clauses. In this case, "A = 1 & B <100 & C! =" P "& C! =" Q "&B> 0 & D = true" is acquired as C comb in the test case combination X01Y01Z01. (See symbol (S14-1) in FIG. 11).

次いで、ステップS16では、テストケース組合せ取得部22が、Ccomb⊂Cselectedであるか否かを判断する。すなわち、テストケース組合せに含まれる全ての条件節が選択済条件節集合Cselectedに含まれる条件節に含まれているか否かを判断する。ここでは、Cselectedは、空であるので、判断は否定され、ステップS18に移行する。なお、ステップS16の判断が肯定された場合には、ステップS12に移行する。 Next, in step S <b> 16, the test case combination acquisition unit 22 determines whether C comb combC selected . That is, it is determined whether or not all the conditional clauses included in the test case combination are included in the conditional clauses included in the selected conditional clause set C selected . Here, since C selected is empty, the determination is denied and the process proceeds to step S18. If the determination in step S16 is affirmative, the process proceeds to step S12.

ステップS18に移行すると、テストケース組合せ取得部22は、条件を組み合わせる。次いで、ステップS20では、充足可能性判定部24は、組み合わせた条件の充足可能性判定をSATソルバにより実行する。なお、ここでは、図11の符号(S20−1)に示すように、SATソルバの結果、SATであったとする。   If transfering it to step S18, the test case combination acquisition part 22 will combine conditions. Next, in step S20, the satisfiability determination unit 24 performs satisfiability determination of the combined conditions using a SAT solver. Here, it is assumed that the result of the SAT solver is SAT, as indicated by reference numeral (S20-1) in FIG.

次いで、ステップS22では、充足可能性判定部24が、SATソルバの結果、SATであったか否かを判断する。ここでの判断が否定された場合には、ステップS12に移行するが、肯定された場合には、ステップS24に移行する。   Next, in step S22, the satisfiability determination unit 24 determines whether the result of the SAT solver is SAT. If the determination is negative, the process proceeds to step S12. If the determination is positive, the process proceeds to step S24.

ステップS24に移行すると、充足可能性判定部24は、テストケースの組合せを出力のテストケース組合せに追加する(図11の符号(S24−1)参照)。次いで、ステップS26では、充足可能性判定部24が、テストケースの組合せに含まれる条件節のうち選択済条件節集合Cselectedに既存しない条件節をCselectedに追加する。この場合、ステップS14で取得した条件節の和集合Ccombの全てが選択済条件節集合Cselectedに追加される(図11の符号(S26−1)参照)。 In step S24, the satisfiability determining unit 24 adds the test case combination to the output test case combination (see the reference sign (S24-1) in FIG. 11). Next, in step S26, the satisfiability determining unit 24 adds a conditional clause that does not exist in the selected conditional clause set C selected among the conditional clauses included in the combination of test cases to C selected . In this case, all of the union C combs of the conditional clauses acquired in step S14 are added to the selected conditional clause set C selected (see reference numeral (S26-1) in FIG. 11).

次いで、ステップS28では、充足可能性判定部24が、Cselected=Callであるか否かを判断する。なお、本処理においては、全てのテストケースの全ての条件節が、少なくとも1回、出力のテストケース組合せに出現していればよいという概念に基づいて、ステップS28の判断は行われる。ここでは、図9の全条件節集合Callと、選択済条件節集合Cselectedとは一致しないので、判断は否定され、ステップS12に戻る。 Next, in step S28, the satisfiability determination unit 24 determines whether or not C selected = C all . In this process, the determination in step S28 is made based on the concept that all conditional clauses of all test cases only need to appear in the output test case combination at least once. Here, since all the conditional clause sets C all and the selected conditional clause set C selected in FIG. 9 do not match, the determination is negative and the processing returns to step S12.

ステップS12に戻ると、上述した処理を繰り返す。すなわち、ステップS12では、テストケース組合せ取得部22は、最も優先される「X_正常→Y_正常→Z_正常」の組合せのうち、上述した(B)の条件(テストケース組合せに含まれる条件節のうち、選択済条件節集合Cselectedに含まれない条件節が多い組合せを優先して選択する)に基づいて、テストケースの組合せを取得する。ここでは、最も優先されるX_正常→Y_正常→Z_正常の組合せのうち(B)の条件を満たす組合せ「X03Y04Z02」が取得される(図11の符号(S12−2)参照)。 When returning to step S12, the above-described processing is repeated. That is, in step S12, the test case combination acquisition unit 22 selects the condition (B) described above (of the conditional clause included in the test case combination) from among the highest priority combinations “X_normal → Y_normal → Z_normal”. Among them, a combination of test cases is acquired based on the selection of combinations with many conditional clauses not included in the selected conditional clause set C selected . Here, the combination “X03Y04Z02” satisfying the condition (B) is acquired from among the most prioritized combinations of X_normal → Y_normal → Z_normal (refer to reference numeral (S12-2) in FIG. 11).

次いで、ステップS14では、テストケース組合せ取得部22が、組合せ「X03Y04Z02」の条件節の和集合Ccombとして「A=2 & B≧200 & A!=3 & C="s" & B>300 & D=false」を取得する(図11の符号(S14−2)参照)。その後、ステップS16の判断が否定されると、ステップS18において、条件が組み合わされ、ステップS20において、充足可能性判定部24は、組み合わせた条件の充足可能性判定をSATソルバにより実行する。なお、ここでは、図11の符号(S20−2)に示すように、SATソルバの結果、SATであったとする。従って、ステップS22の判断は肯定され、ステップS24において、充足可能性判定部24は、テストケースの組合せを出力のテストケース組合せに追加する(図11の符号(S24−2)参照)。次いで、ステップS26では、充足可能性判定部24が、テストケースの組合せに含まれる条件節のうち選択済条件節集合Cselectedに既存しない条件節(図11の符号(S14−2)において下線を付した全ての条件節)をCselectedに追加する(図11の符号(S26−2)参照)。その後は、ステップS28において、充足可能性判定部24が、Cselected=Callであるか否かを判断する。ここでは、図9の全条件節集合Callと、選択済条件節集合Cselectedとは一致しないので、ステップS28の判断は否定され、ステップS12に戻る。 Next, in step S14, the test case combination acquisition unit 22 sets “A = 2 & B ≧ 200 & A! = 3 & C =“ s ”&B> 300 as the union C comb of the conditional clauses of the combination“ X03Y04Z02 ”. & D = false ”(see reference numeral (S14-2) in FIG. 11). Thereafter, when the determination in step S16 is negative, the conditions are combined in step S18, and in step S20, the satisfiability determination unit 24 performs satisfiability determination of the combined conditions by the SAT solver. Here, it is assumed that the result of the SAT solver is SAT, as indicated by reference numeral (S20-2) in FIG. Accordingly, the determination in step S22 is affirmed, and in step S24, the satisfiability determination unit 24 adds the test case combination to the output test case combination (see reference numeral (S24-2) in FIG. 11). Next, in step S26, the satisfiability determination unit 24 underlines the conditional clauses that are not present in the selected conditional clause set C selected among the conditional clauses included in the combination of test cases (in the reference numeral (S14-2) in FIG. 11). All the conditional clauses added) are added to C selected (see reference numeral (S26-2) in FIG. 11). Thereafter, in step S28, the satisfiability determining unit 24 determines whether or not C selected = C all . Here, since all the conditional clause sets C all and the selected conditional clause set C selected in FIG. 9 do not match, the determination in step S28 is denied and the process returns to step S12.

ステップS12に戻ると、テストケース組合せ取得部22は、上記と同様、最も優先される「X_正常→Y_正常→Z_正常」の組合せから次の組合せを取得しようとする。ただし、選択済条件節集合Cselectedに含まれない条件節を有するテストケースの組合せが存在していない(S16:肯定)。したがって、テストケース組合せ取得部22は、次に優先される「X_正常→Y_異常」の組合せ(図10(a)、図10(b)の(3)の組合せ)の中から次の組合せを取得する。この場合、テストケース組合せ取得部22は、図12に示すように、(B)の条件に基づいて、テストケースの組合せ「X01Y02」を取得する(符号(S12−3)参照)。 Returning to step S12, the test case combination acquisition unit 22 attempts to acquire the next combination from the most preferential combination of “X_normal → Y_normal → Z_normal”, as described above. However, there is no combination of test cases having conditional clauses not included in the selected conditional clause set C selected (S16: Yes). Therefore, the test case combination acquisition unit 22 selects the next combination from the “X_normal → Y_abnormal” combination (the combination (3) in FIG. 10 (a) and FIG. 10 (b)). get. In this case, as shown in FIG. 12, the test case combination acquisition unit 22 acquires the test case combination “X01Y02” based on the condition (B) (see reference numeral (S12-3)).

次いで、ステップS14では、テストケース組合せ取得部22が、組合せ「X01Y02」の条件節の和集合Ccombとして「A=1 & B<100 & A!=2 & C!="p"」を取得する(図12の符号(S14−3)参照)。その後、ステップS16の判断が否定されると、ステップS18において、条件が組み合わされ、ステップS20において、充足可能性判定部24は、組み合わせた条件の充足可能性判定をSATソルバにより実行する。なお、ここでは、図12の符号(S20−3)に示すように、SATソルバの結果、SATであったとする。従って、ステップS22の判断は肯定され、ステップS24において、充足可能性判定部24は、テストケースの組合せを出力のテストケース組合せに追加する(図12の符号(S24−3)参照)。次いで、ステップS26では、充足可能性判定部24が、テストケースの組合せに含まれる条件節のうち選択済条件節集合Cselectedに既存しない条件節(図12の符号(S14−3)において下線を付した条件節)をCselectedに追加する(図12の符号(S26−3)参照)。その後は、ステップS28において、充足可能性判定部24が、Cselected=Callであるか否かを判断する。ここでは、図9の全条件節集合Callと、選択済条件節集合Cselectedとは一致しないので、ステップS28の判断は否定され、ステップS12に戻る。 Subsequently, in step S14, the test case combination acquisition unit 22 acquires “A = 1 & B <100 & A! = 2 & C! =“ P ”” as the union C comb of the conditional clauses of the combination “X01Y02”. (Refer to reference sign (S14-3) in FIG. 12). Thereafter, when the determination in step S16 is negative, the conditions are combined in step S18, and in step S20, the satisfiability determination unit 24 performs satisfiability determination of the combined conditions by the SAT solver. Here, it is assumed that the result of the SAT solver is SAT, as indicated by reference numeral (S20-3) in FIG. Therefore, the determination in step S22 is affirmed, and in step S24, the satisfiability determination unit 24 adds the test case combination to the output test case combination (see reference numeral (S24-3) in FIG. 12). Next, in step S26, the satisfiability determination unit 24 underlines the conditional clauses that are not present in the selected conditional clause set C selected among the conditional clauses included in the combination of test cases (reference numeral (S14-3) in FIG. 12). The conditional clause attached) is added to C selected (see symbol (S26-3) in FIG. 12). Thereafter, in step S28, the satisfiability determining unit 24 determines whether or not C selected = C all . Here, since all the conditional clause sets C all and the selected conditional clause set C selected in FIG. 9 do not match, the determination in step S28 is denied and the process returns to step S12.

ステップS12に戻ると、テストケース組合せ取得部22は、上記と同様、「X_正常→Y_異常」の組合せの中から次の組合せを取得する。この場合、テストケース組合せ取得部22は、図12に示すように、(B)の条件に基づいて、テストケースの組合せ「X03Y03」を取得する(符号(S12−4)参照)。   Returning to step S12, the test case combination acquisition unit 22 acquires the next combination from the combinations of “X_normal → Y_abnormal” as described above. In this case, as shown in FIG. 12, the test case combination acquisition unit 22 acquires the test case combination “X03Y03” based on the condition (B) (see reference numeral (S12-4)).

次いで、ステップS14では、テストケース組合せ取得部22が、組合せ「X03Y03」の条件節の和集合Ccombとして「A=2 & B≧200 & A!=3 & C="p"」を取得する(図12の符号(S14−4)参照)。その後、ステップS16の判断が否定されると、ステップS18において、条件が組み合わされ、ステップS20において、充足可能性判定部24は、組み合わせた条件の充足可能性判定をSATソルバにより実行する。なお、ここでは、図12の符号(S20−4)に示すように、SATソルバの結果、SATであったとする。従って、ステップS22の判断は肯定され、ステップS24において、充足可能性判定部24は、テストケースの組合せを出力のテストケース組合せに追加する(図12の符号(S24−4)参照)。次いで、ステップS26では、充足可能性判定部24が、テストケースの組合せに含まれる条件節のうち選択済条件節集合Cselectedに既存しない条件節(図12の符号(S14−4)において下線を付した条件節)をCselectedに追加する(図12の符号(S26−4)参照)。その後は、ステップS28において、充足可能性判定部24が、Cselected=Callであるか否かを判断する。ここでは、図9の全条件節集合Callと、選択済条件節集合Cselectedとは一致するので、ステップS28の判断は肯定され、ステップS30に移行する。 Subsequently, in step S14, the test case combination acquisition unit 22 acquires “A = 2 & B ≧ 200 & A! = 3 & C =“ p ”as the union C comb of the conditional clauses of the combination“ X03Y03 ”. (Refer to a sign (S14-4) in FIG. 12). Thereafter, when the determination in step S16 is negative, the conditions are combined in step S18, and in step S20, the satisfiability determination unit 24 performs satisfiability determination of the combined conditions by the SAT solver. Here, it is assumed that the result of the SAT solver is SAT, as indicated by reference numeral (S20-4) in FIG. Accordingly, the determination in step S22 is affirmed, and in step S24, the satisfiability determination unit 24 adds the test case combination to the output test case combination (see reference numeral (S24-4) in FIG. 12). Next, in step S26, the satisfiability determination unit 24 underlines the conditional clauses that do not already exist in the selected conditional clause set C selected among the conditional clauses included in the test case combination (in the code (S14-4) in FIG. 12). The conditional clause attached) is added to C selected (see symbol (S26-4) in FIG. 12). Thereafter, in step S28, the satisfiability determining unit 24 determines whether or not C selected = C all . Here, since all condition clause sets C all and selected conditional clause set C selected in FIG. 9 match, the determination in step S28 is affirmed, and the process proceeds to step S30.

ステップS30に移行すると、充足可能性判定部24は、最初の仕様書が異常の組合せがあれば、出力のテストケース組合せにそのまま追加する。本実施形態では、「X_異常」である「X02」と「X04」が、出力のテストケース組合せに追加される(図12の符号(S30−1)、(S30−2)参照)。ステップS30の後は、ステップS32に移行し、後処理部26は、出力のテストケース組合せをXMLデータに変換して、IT仕様書変換部18に出力する。その後は、図6の全処理が終了する。   In step S30, the satisfiability determining unit 24 adds the test specification combination as it is to the output test case combination if there is an abnormality in the first specification. In the present embodiment, “X02” and “X04”, which are “X_abnormal”, are added to the output test case combination (see symbols (S30-1) and (S30-2) in FIG. 12). After step S30, the process proceeds to step S32. The post-processing unit 26 converts the output test case combination into XML data and outputs the XML data to the IT specification conversion unit 18. Thereafter, the entire process of FIG. 6 ends.

ここで、本実施形態では、図6の処理を実行することにより、SATソルバを網羅的に実行する場合と比べて、実行回数を減少することができる。本例ではSATソルバの実行回数は4回で済む。また、出力のテストケース組合せは、全て有効なものとなる。   Here, in the present embodiment, the number of executions can be reduced by executing the processing of FIG. 6 as compared to the case of exhaustively executing the SAT solver. In this example, the SAT solver needs to be executed four times. In addition, all combinations of output test cases are valid.

(比較例)
次に、比較例について、図13〜図19に基づいて説明する。
(Comparative example)
Next, a comparative example will be described based on FIGS.

図13には、比較例の手順の概要が示されている。図13に示すように、比較例においては、(1)テストケース仕様書から、テストケースの全組合せを網羅的に生成し、(2)SATソルバによる充足可能性判定により充足可能な組合せを抽出し、(3)条件網羅によりテストケース組合せを絞り込む処理を実行する。なお、条件網羅による絞込みについては、上記実施形態と同様、全てのテストケースの全ての条件節が、少なくとも1回、出力のテストケース組合せに出現していればよいという概念に基づいている。以下、比較例における処理の主体は、「テストケース仕様書結合部16’」であるものとして、説明する。   FIG. 13 shows an outline of the procedure of the comparative example. As shown in FIG. 13, in the comparative example, (1) all combinations of test cases are comprehensively generated from the test case specifications, and (2) combinations that can be satisfied are extracted by the satisfiability determination by the SAT solver. (3) A process of narrowing down test case combinations through condition coverage is executed. Note that narrowing down by condition coverage is based on the concept that all conditional clauses of all test cases only need to appear in the output test case combination at least once, as in the above embodiment. In the following description, it is assumed that the subject of processing in the comparative example is the “test case specification combining unit 16 ′”.

この比較例の手順を実現するため、まず、(1)テストケース仕様書結合部16’は、X,Y、Zの全組合せを網羅的な順番に取得し、図14、図15に示すように、4×4×3=48件のテストケース組合せを生成する。なお、error節は比較例では用いないので、図14、図15では削除している。また、条件節が重複する組合せは、1つを残し、その他を削除する。例えば、図14のNo.13と、No.15が重複し、No.16とNo.18が重複するので、No.13とNo.16を残し、No.15とNo.18を削除する。   In order to realize the procedure of this comparative example, first, (1) the test case specification combining unit 16 ′ acquires all combinations of X, Y, and Z in an exhaustive order, as shown in FIGS. 4 × 4 × 3 = 48 test case combinations are generated. Since the error clause is not used in the comparative example, it is deleted in FIGS. In addition, one combination of conditional clauses is left, and the other is deleted. For example, in FIG. 13 and no. 15 is duplicated and no. 16 and no. 18 is duplicated, no. 13 and no. 16 and no. 15 and No. 18 is deleted.

次いで、(2)テストケース仕様書結合部16’は、各テストケースの組合せの充足可能性判定をSATソルバにより実行し、SATな組合せのみを抽出する。なお、図14、図15の条件節のうち、下線が付された条件節は、UNSATの原因となった競合する条件節を意味する。この場合、図14、図15に示すような充足可能性の判定結果から、図16の上段に示すような26組の組合せが抽出されることになる。   Next, (2) the test case specification combination unit 16 ′ executes satisfiability determination of each test case combination by the SAT solver, and extracts only SAT combinations. 14 and FIG. 15, the underlined conditional clause means a competing conditional clause that causes UNSAT. In this case, 26 combinations as shown in the upper part of FIG. 16 are extracted from the determination result of the satisfiability as shown in FIGS.

次いで、(3−1)テストケース仕様書結合部16’は、全てのテストケースの組合せの条件節の和集合を求め、全条件節集合Callを作成する(図16の下段参照)。次いで、(3−2)テストケース仕様書結合部16’は、選択済条件節集合Cselectedを空にし、(3−3)テストケース組合せを1つずつ取得し、チェックを行う。 Next, (3-1) the test case specification combining unit 16 ′ obtains a union of the conditional clauses of all the test case combinations, and creates an all conditional clause set C all (see the lower part of FIG. 16). Next, (3-2) the test case specification combining unit 16 ′ empties the selected conditional clause set C selected , (3-3) acquires one test case combination at a time, and performs a check.

(3−3)のチェックにおいては、テストケース仕様書結合部16’は、取得したテストケースの組合せの条件節の全てが、選択済条件節集合Cselectedに既存するか否かをチェックし、既存している場合には、そのテストケースの組合せを消去する。一方、取得したテストケースの組合せの条件節の少なくとも1つが選択済条件節集合Cselectedに既存していない場合には、取得したテストケースの組合せを消去せずに、既存していない条件節を選択済条件節集合Cselectedに含める。そして、選択済条件節集合Cselectedが全条件節集合Callと一致した場合に、チェックを終了する。 In the check of (3-3), the test case specification combining unit 16 ′ checks whether all the conditional clauses of the acquired combination of test cases exist in the selected conditional clause set C selected , If it exists, delete the test case combination. On the other hand, if at least one of the conditional clauses of the acquired test case combination does not exist in the selected conditional clause set C selected , the existing test clause combination is not deleted, and the existing conditional clause is not deleted. Included in the selected conditional clause set C selected . Then, when the selected conditional clause set C selected matches all the conditional clause sets C all , the check is finished.

具体的には、テストケース仕様書結合部16’は、図17に示すように、No.1、No.2…の順にテストケースの組合せを取得して、チェックを行う。すなわち、No.1のテストケースの組合せが取得されると、条件節の全てが選択済条件節集合Cselectedに含まれていないので、組合せは消去されずに、条件節の全てが選択済条件節集合Cselectedに含められる(図17の実線矢印)。次いで、No.2の組合せが取得されると、条件節の全てが選択済条件節集合Cselectedに含まれているので、組合せは消去される。この場合、選択済み条件節集合Cselectedには何も含められない(図17の破線矢印)。また、No.3の組合せが取得されると、条件節の一部が選択済条件節集合Cselectedに含まれていないので、組合せは消去されずに、選択済条件節集合Cselectedに含まれていない条件節が選択済条件節集合Cselectedに含められる。次いで、No.4の組合せが取得されると、条件節の全てが選択済条件節集合Cselectedに含まれているので、組合せは消去される。以降、No.17の組合せまで同様の処理を実行すると、選択済条件節集合Cselectedが全条件節集合Callと一致するので、チェックを終了する(No.18〜26のチェックは行わない)。 Specifically, as shown in FIG. 1, no. The test case combinations are acquired in the order of 2. That is, no. When the combination of one test case is acquired, all of the conditional clauses are not included in the selected conditional clause set C selected. Therefore, the combination is not deleted and all of the conditional clauses are selected in the selected conditional clause set C selected. (Solid arrow in FIG. 17). Then, No. When the combination of 2 is acquired, since all of the conditional clauses are included in the selected conditional clause set C selected , the combination is deleted. In this case, nothing is included in the selected conditional clause set C selected (broken arrow in FIG. 17). No. When the combination of 3 is acquired, since a part of the conditional clause is not included in the selected conditional clause set C selected , the combination is not deleted, and the conditional clause not included in the selected conditional clause set C selected. Are included in the selected conditional clause set C selected . Then, No. When the combination of 4 is acquired, since all of the conditional clauses are included in the selected conditional clause set C selected , the combination is deleted. Hereinafter, no. When the same processing is executed up to 17 combinations, the selected conditional clause set C selected matches all the conditional clause sets C all , so the check ends (Nos. 18 to 26 are not checked).

以上の処理により、比較例では、図18(a)に示すような6つのテストケースの組合せを出力することになる。図18(b)には、比較例と本実施形態におけるSATソルバの実行回数及び絞込みでの条件チェック回数を対比した表が示されている。比較例においては、SATソルバの実行回数が48回となり、絞込みでの条件チェック回数(図17のチェック回数)が17回となった。一方、本実施形態では、前述のように、SATソルバの回数が4回、絞込みでの条件チェック回数も4回となっている。この結果から、本実施形態では、SATソルバの実行回数、絞込みでの条件チェック回数を減少させることができたことがわかる。   With the above processing, in the comparative example, a combination of six test cases as shown in FIG. FIG. 18B shows a table comparing the number of executions of the SAT solver and the number of condition checks in narrowing down in the comparative example and the present embodiment. In the comparative example, the number of executions of the SAT solver was 48, and the number of condition checks in narrowing down (the number of checks in FIG. 17) was 17. On the other hand, in the present embodiment, as described above, the number of SAT solvers is four, and the number of condition checks in narrowing is four. From this result, it can be seen that in the present embodiment, the number of executions of the SAT solver and the number of condition checks in narrowing down can be reduced.

また、比較例においては、図19に示すように、無効となる組合せが4つ存在する。例えば、組合せ「X01Y02Z01」は、Y02が異常ケースであり、Z01と組み合わせても無駄であり、実際には無効になる組合せである。また、組合せ「X01Y03Z03」も、Y03が異常ケースであるので、Z03と組み合わせても無駄であり、実際には無効になる組合せである。また、「X02Y01Z02」は、X02が異常ケースであるため、Y01,Z02と組み合わせても無駄であり、実際には無効になる組合せである。更に、「X03Y03Z02」は、Y03が異常ケースであるため、Z02と組み合わせても無駄であり、実際には無効になる組合せである。これに対し、本実施形態では、予めテストケースを正常ケースと、異常ケースとに分けてテストケースを組合せているため、無効な組合せは出力されないという利点がある。   Further, in the comparative example, there are four invalid combinations as shown in FIG. For example, the combination “X01Y02Z01” is a combination in which Y02 is an abnormal case, is useless even when combined with Z01, and is actually invalid. Further, the combination “X01Y03Z03” is also a combination that is useless even in combination with Z03 because Y03 is an abnormal case, and is actually invalid. Further, “X02Y01Z02” is a combination that is useless even in combination with Y01 and Z02 because X02 is an abnormal case, and is actually invalid. Further, “X03Y03Z02” is a combination that is useless even in combination with Z02 because Y03 is an abnormal case, and is actually invalid. On the other hand, the present embodiment has an advantage that an invalid combination is not output because the test case is divided into a normal case and an abnormal case in advance to combine the test cases.

以上、詳細に説明したように、本実施形態によると、前処理部20が、順序が予め定まっている複数のテストケース仕様書に含まれるテストケースを正常ケースと異常ケースの2種類に分類する。そして、テストケース組合せ取得部22が実行する、順序と、分類されたテストケースの種類(正常ケース又は異常ケース)と、に基づいて特定されるテストケースの組合せの中から、選択済条件節集合Cselectedに含まれていない条件節を含み、その数が最も多いテストケースの組合せを取得する処理(S14、S16)と、充足可能性判定部24が実行する、取得したテストケースの組合せが充足可能な組合せかをSATソルバにより判定する処理(S20)と、取得したテストケースの組合せに含まれる条件節を選択済条件節集合Cselectedに追加する処理(S26)を、選択済条件節集合Cselectedに含まれる条件節と全条件節集合Callに含まれる条件節とが一致するまで繰り返し(S28)、後処理部26が、充足可能(SAT)と判定されたテストケースの組合せを出力する(S32)。これにより、テストケースを正常ケースと異常ケースに分割し、分割した結果に基づいてテストケースの組合せを特定するので、無効なテストケースの組合せが出力されるのを抑制することができる。特に、本実施形態では、テストケース組合せ取得部22は、テストケースの組合せを取得する際に、正常ケースを優先し、異常ケースの後に他のテストケースを組み合わせないこととしているので、無効なテストケースの組合せが出力されるのを防止することができる。また、上記のように正常ケースと異常ケースに分類して処理することで、テストケース仕様書が多い場合でも組合せが爆発する可能性が低くなり、処理の効率化を図ることが可能となる。また、選択済条件節集合Cselectedに含まれていない条件節を最も多く含むテストケースの組合せからSATソルバを実行し、当該テストケースの組合せに含まれる条件節を選択済条件節集合Cselectedに追加するので、網羅的にテストケースを特定する場合と比較して、選択済条件節集合Cselectedに含まれる条件節と全条件節集合Callに含まれる条件節とが一致するまでの時間を短くすることができるとともに、SATソルバの回数を低減することができる。更に、選択済条件節集合Cselectedに含まれていない条件節を含むテストケースの組合せについてのみ、充足可能な組合せかをSATソルバにより判定する(S20)ので、比較例のようにSATソルバによる判定の後に選択済条件節集合Cselectedに含まれていない条件節を含むか否かを判断する場合と比べ、SATソルバの回数を低減することができる。以上のように、本実施形態によれば、効率的に有効なテストケースの組合せを決定することができる。 As described above in detail, according to the present embodiment, the preprocessing unit 20 classifies test cases included in a plurality of test case specifications whose order is determined in advance into two types of normal cases and abnormal cases. . Then, a set of selected conditional clauses is selected from the combinations of test cases specified based on the order and the types of test cases classified (normal cases or abnormal cases) executed by the test case combination acquisition unit 22. The process (S14, S16) for acquiring the combination of test cases including the conditional clause not included in C selected and having the largest number, and the acquired combination of test cases executed by the satisfiability determination unit 24 are satisfied. A process of determining whether the combination is possible by the SAT solver (S20), and a process of adding a conditional clause included in the acquired combination of test cases to the selected conditional clause set C selected (S26). Repeat until the conditional clause included in selected matches the conditional clause included in all conditional clause sets C all (S28), and the post-processing unit 26 determines that it can be satisfied (SAT). The combination of the test cases that have been performed is output (S32). Thereby, the test case is divided into the normal case and the abnormal case, and the combination of the test cases is specified based on the divided result, so that it is possible to suppress the output of the invalid test case combination. In particular, in the present embodiment, the test case combination acquisition unit 22 prioritizes a normal case and does not combine another test case after an abnormal case when acquiring a test case combination. It is possible to prevent the combination of cases from being output. In addition, by classifying and processing the normal case and the abnormal case as described above, the possibility that the combination will explode becomes low even when there are many test case specifications, and the processing efficiency can be improved. Further, the SAT solver is executed from a combination of test cases including the largest number of conditional clauses not included in the selected conditional clause set C selected , and the conditional clauses included in the combination of the test cases are changed to the selected conditional clause set C selected . As a result, the time until the conditional clauses included in the selected conditional clause set C selected and the conditional clauses included in the entire conditional clause set C all are compared with the case where the test cases are comprehensively specified. It can be shortened and the number of SAT solvers can be reduced. Furthermore, since only combinations of test cases including conditional clauses not included in the selected conditional clause set C selected are determined to be satisfactory combinations by the SAT solver (S20), determination by the SAT solver is performed as in the comparative example. The number of SAT solvers can be reduced compared to the case where it is determined whether or not a conditional clause that is not included in the selected conditional clause set C selected is included. As described above, according to the present embodiment, an effective combination of test cases can be determined efficiently.

また、本実施形態では、後処理部26は、順序が最初のテストケース仕様書(X)に含まれる異常ケースをIT仕様書変換部18に出力する。これにより、他のテストケースと組み合わせることがないが、独立して充足可能なテストケースを漏れなく出力することが可能となる。   In the present embodiment, the post-processing unit 26 outputs an abnormal case included in the test case specification (X) in the first order to the IT specification conversion unit 18. This makes it possible to output test cases that can be satisfied independently without being combined with other test cases.

なお、上記実施形態では、金融システム向けのテスト仕様書に関する処理について説明したが、これに限らず、その他のチェック系仕様書を含む複数のテストケース仕様書を結合する処理において、上記実施形態を適用することも可能である。   In the above-described embodiment, the processing related to the test specification for the financial system has been described. However, the present invention is not limited to this, and the above-described embodiment is not limited to the processing for combining a plurality of test case specifications including other check-type specifications. It is also possible to apply.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体(ただし、搬送波は除く)に記録しておくことができる。   The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium (except for a carrier wave).

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)などの可搬型記録媒体の形態で販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When the program is distributed, for example, it is sold in the form of a portable recording medium such as a DVD (Digital Versatile Disc) or a CD-ROM (Compact Disc Read Only Memory) on which the program is recorded. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

なお、以上の実施形態の説明に関して、更に以下の付記を開示する。
(付記1) 順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合プログラムであって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類し、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返し、
充足可能な組合せと判定された前記テストケースの組合せを出力する、処理をコンピュータに実行させ、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合プログラム。
(付記2) 前記出力する処理では、更に、前記順序が最初のテストケース仕様書に含まれる異常に分類されたテストケースを出力する、ことを特徴とする付記1に記載のテストケース仕様書結合プログラム。
(付記3) 前記繰り返す処理において、前記テストケースの組合せを特定する際に、正常に分類されたテストケースを優先し、異常に分類されたテストケースと前記順序が該異常に分類されたテストケースの後方のテストケースとは組み合わせない、ことを特徴とする付記1又は2に記載のテストケース仕様書結合プログラム。
(付記4) 順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合方法であって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類し、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返し、
充足可能な組合せと判定された前記テストケースの組合せを出力する、処理をコンピュータが実行し、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合方法。
(付記5) 前記出力する処理では、更に、前記順序が最初のテストケース仕様書に含まれる異常に分類されたテストケースを出力する、ことを特徴とする付記4に記載のテストケース仕様書結合方法。
(付記6) 前記繰り返す処理において、前記テストケースの組合せを特定する際に、正常に分類されたテストケースを優先し、異常に分類されたテストケースと前記順序が該異常に分類されたテストケースの後方のテストケースとは組み合わせない、ことを特徴とする付記4又は5に記載のテストケース仕様書結合方法。
(付記7) 順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合装置であって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類する分類部と、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返す処理部と、
充足可能な組合せと判定された前記テストケースの組合せを出力する出力部と、を備え、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合装置。
(付記8) 前記出力部は、前記順序が最初のテストケース仕様書に含まれる異常に分類されたテストケースを更に出力する、ことを特徴とする付記7に記載のテストケース仕様書結合装置。
(付記9) 前記処理部は、前記テストケースの組合せを特定する際に、正常に分類されたテストケースを優先し、異常に分類されたテストケースと前記順序が該異常に分類されたテストケースの後方のテストケースとは組み合わせない、ことを特徴とする付記7又は8に記載のテストケース仕様書結合装置。
In addition, the following additional remarks are disclosed regarding description of the above embodiment.
(Supplementary note 1) A test case specification combining program for combining a plurality of test case specifications having a predetermined order,
The test cases included in the plurality of test case specifications are classified into two types, normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases The process of storing the conditional clause included in the storage unit is repeated until a predetermined timing,
Outputting a combination of the test cases determined to be a satisfactory combination, causing the computer to execute a process;
The test case specification combination program, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit matches all conditional clauses included in the plurality of test case specifications.
(Supplementary Note 2) The test case specification combination according to Supplementary Note 1, wherein the output process further outputs test cases classified as abnormal in the order included in the first test case specification. program.
(Additional remark 3) In the said repeating process, when specifying the combination of the said test case, the test case classified normally is given priority, and the test case classified as abnormal and the test case classified as the abnormal The test case specification combination program according to appendix 1 or 2, characterized by not being combined with a test case behind
(Supplementary Note 4) A test case specification combining method for combining a plurality of test case specifications having a predetermined order,
The test cases included in the plurality of test case specifications are classified into two types, normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases The process of storing the conditional clause included in the storage unit is repeated until a predetermined timing,
A computer executes a process of outputting a combination of the test cases determined to be a satisfactory combination,
The test case specification combining method, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit coincides with all conditional clauses included in the plurality of test case specifications.
(Additional remark 5) In the said output process, the test case specification combined | bonding of Additional remark 4 characterized by further outputting the test case classified into the abnormality in which the said order is contained in the first test case specification Method.
(Additional remark 6) In the said repeating process, when specifying the combination of the said test cases, the test case classified normally is given priority, and the test case classified as abnormal and the test case classified as the abnormal The test case specification combining method according to appendix 4 or 5, wherein the test case specification combination method is not combined with a test case behind the test case.
(Appendix 7) A test case specification combining device for combining a plurality of test case specifications having a predetermined order,
A classification unit for classifying the test cases included in the plurality of test case specifications into two types of normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases A processing unit that repeats the process of storing the included conditional clause in the storage unit until a predetermined timing;
An output unit that outputs the combination of the test cases determined to be a satisfactory combination, and
The test case specification combining apparatus, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit coincides with all conditional clauses included in the plurality of test case specifications.
(Supplementary note 8) The test case specification combining device according to supplementary note 7, wherein the output unit further outputs a test case classified as abnormal in which the order is included in the first test case specification.
(Additional remark 9) When the said process part specifies the combination of the said test case, it gives priority to the test case classified normally, the test case classified abnormally, and the test case in which the said order was classified into this abnormality 9. The test case specification combining device according to appendix 7 or 8, characterized in that the test case specification combining device is not combined with a test case behind.

10 統合テスト装置(テストケース仕様書結合装置)
20 前処理部(分類部)
22 テストケース組合せ取得部(処理部の一部)
24 充足可能性判定部(処理部の一部)
26 後処理部(出力部)
10 Integrated test device (Test case specification combining device)
20 Pre-processing part (classification part)
22 Test case combination acquisition unit (part of processing unit)
24 Satisfiability determination unit (part of processing unit)
26 Post-processing section (output section)

Claims (5)

順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合プログラムであって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類し、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返し、
充足可能な組合せと判定された前記テストケースの組合せを出力する、処理をコンピュータに実行させ、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合プログラム。
A test case specification combining program for combining a plurality of test case specifications having a predetermined order,
The test cases included in the plurality of test case specifications are classified into two types, normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases The process of storing the conditional clause included in the storage unit is repeated until a predetermined timing,
Outputting a combination of the test cases determined to be a satisfactory combination, causing the computer to execute a process;
The test case specification combination program, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit matches all conditional clauses included in the plurality of test case specifications.
前記出力する処理では、更に、前記順序が最初のテストケース仕様書に含まれる異常に分類されたテストケースを出力する、ことを特徴とする請求項1に記載のテストケース仕様書結合プログラム。   2. The test case specification combination program according to claim 1, wherein in the output process, a test case classified as abnormal is included in the first test case specification in the order. 前記繰り返す処理において、前記テストケースの組合せを特定する際に、正常に分類されたテストケースを優先し、異常に分類されたテストケースと前記順序が該異常に分類されたテストケースの後方のテストケースとは組み合わせない、ことを特徴とする請求項1又は2に記載のテストケース仕様書結合プログラム。   In the iterative process, when specifying a combination of the test cases, the test cases classified normally are given priority, the test cases classified abnormally, and the tests behind the test cases classified as abnormal 3. The test case specification combination program according to claim 1, wherein the test case specification combination program is not combined with a case. 順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合方法であって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類し、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返し、
充足可能な組合せと判定された前記テストケースの組合せを出力する、処理をコンピュータが実行し、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合方法。
A test case specification combining method for combining a plurality of test case specifications having a predetermined order,
The test cases included in the plurality of test case specifications are classified into two types, normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases The process of storing the conditional clause included in the storage unit is repeated until a predetermined timing,
A computer executes a process of outputting a combination of the test cases determined to be a satisfactory combination,
The test case specification combining method, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit coincides with all conditional clauses included in the plurality of test case specifications.
順序が予め定まっている複数のテストケース仕様書を結合するテストケース仕様書結合装置であって、
前記複数のテストケース仕様書に含まれるテストケースを正常と異常の2種類に分類する分類部と、
前記順序と、分類された前記テストケースの種類と、に基づいて特定されるテストケースの組合せの中から、取得済みの条件節を格納する格納部に格納されていない条件節を含み、該格納部に格納されていない条件節の数が最も多いテストケースの組合せを取得する処理と、取得した前記テストケースの組合せが充足可能な組合せかを判定する処理と、取得した前記テストケースの組合せに含まれる条件節を前記格納部に格納する処理とを、所定のタイミングまで繰り返す処理部と、
充足可能な組合せと判定された前記テストケースの組合せを出力する出力部と、を備え、
前記所定のタイミングは、前記格納部に格納された条件節が、前記複数のテストケース仕様書に含まれる全ての条件節と一致したタイミングである、ことを特徴とするテストケース仕様書結合装置。
A test case specification combining device for combining a plurality of test case specifications having a predetermined order,
A classification unit for classifying the test cases included in the plurality of test case specifications into two types of normal and abnormal,
A combination of test cases identified based on the order and the type of the classified test case, including a conditional clause that is not stored in a storage unit that stores the acquired conditional clause; A process for acquiring a combination of test cases having the largest number of conditional clauses not stored in a section, a process for determining whether the acquired combination of test cases is a satisfactory combination, and a combination of the acquired test cases A processing unit that repeats the process of storing the included conditional clause in the storage unit until a predetermined timing;
An output unit that outputs the combination of the test cases determined to be a satisfactory combination, and
The test case specification combining apparatus, wherein the predetermined timing is a timing at which a conditional clause stored in the storage unit coincides with all conditional clauses included in the plurality of test case specifications.
JP2014246197A 2014-12-04 2014-12-04 Test case specification joining program, method, and device Withdrawn JP2016110327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014246197A JP2016110327A (en) 2014-12-04 2014-12-04 Test case specification joining program, method, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014246197A JP2016110327A (en) 2014-12-04 2014-12-04 Test case specification joining program, method, and device

Publications (1)

Publication Number Publication Date
JP2016110327A true JP2016110327A (en) 2016-06-20

Family

ID=56124274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014246197A Withdrawn JP2016110327A (en) 2014-12-04 2014-12-04 Test case specification joining program, method, and device

Country Status (1)

Country Link
JP (1) JP2016110327A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112017002777T5 (en) 2016-06-01 2019-02-14 Toppan Printing Co., Ltd. A reproduction color profile correction device, a reproduction color profile correction process, a reproduction color profile correction program and a computer readable medium having a reproduction color profile correction program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112017002777T5 (en) 2016-06-01 2019-02-14 Toppan Printing Co., Ltd. A reproduction color profile correction device, a reproduction color profile correction process, a reproduction color profile correction program and a computer readable medium having a reproduction color profile correction program

Similar Documents

Publication Publication Date Title
US11790679B2 (en) Data extraction and duplicate detection
US20220215389A1 (en) Transaction authorization process using blockchain
US11321349B2 (en) Deployment of object code
US8616443B2 (en) Systems and methods employing delimiter searches to identify sensitive information in data
US20110131002A1 (en) Method for automatic testing of software
JP6650502B2 (en) Determination apparatus, determination method, and determination program
US20200410562A1 (en) Supplier invoice reconciliation and payment using event driven platform
US9563669B2 (en) Closed itemset mining using difference update
US20140181007A1 (en) Trademark reservation system
KR20180113144A (en) Method for processing a payment based on blockchain and Apparatus thereof
CN106933689A (en) A kind of method and apparatus for computing device
CN104753909A (en) Updated information authentication method, device and system
CN109901987A (en) A kind of method and apparatus generating test data
US10699029B2 (en) Data de-identification method, data de-identification apparatus and non-transitory computer readable storage medium executing the same
CN111563040A (en) Block chain intelligent contract code testing method and device
CN108510141B (en) Insurance data processing method and device
US9582270B2 (en) Effective feature location in large legacy systems
Reinhartz-Berger et al. External variability of software: classification and ontological foundations
Wirawan et al. Incorporating transaction lifecycle information in blockchain process discovery
CN114358147A (en) Training method, identification method, device and equipment of abnormal account identification model
JP2016110327A (en) Test case specification joining program, method, and device
US20150363889A1 (en) Methods and Systems for Electronic Receipt Tracking, Storage, and Provision
Boubaker et al. An event-b based approach for ensuring correct configurable business processes
JP2017004097A (en) Information analysis system and information analysis method
US20160162818A1 (en) System and method for recommending data analysis services

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170804

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20171225