JP7367410B2 - Generation program, generation method, and information processing device - Google Patents

Generation program, generation method, and information processing device Download PDF

Info

Publication number
JP7367410B2
JP7367410B2 JP2019163836A JP2019163836A JP7367410B2 JP 7367410 B2 JP7367410 B2 JP 7367410B2 JP 2019163836 A JP2019163836 A JP 2019163836A JP 2019163836 A JP2019163836 A JP 2019163836A JP 7367410 B2 JP7367410 B2 JP 7367410B2
Authority
JP
Japan
Prior art keywords
system configuration
test
configuration
information
procedure
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.)
Active
Application number
JP2019163836A
Other languages
Japanese (ja)
Other versions
JP2021043582A (en
Inventor
勇次 堀田
佐知子 小野寺
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 JP2019163836A priority Critical patent/JP7367410B2/en
Publication of JP2021043582A publication Critical patent/JP2021043582A/en
Application granted granted Critical
Publication of JP7367410B2 publication Critical patent/JP7367410B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、生成プログラム、生成方法、および情報処理装置に関する。 The present invention relates to a generation program, a generation method, and an information processing device.

近年、システムの構成が大規模化および複雑化しており、それに伴い、システムの構成要素の数および組合せも膨大になっている。例えば、クライアント‐サーバシステムの構成法の1つに、3階層システムがある。3階層システムでは、例えば、ウェブサーバ、アプリケーションサーバ、データベースサーバが連携して動作し、実装するサーバの種類および台数などは様々な構成を選択可能であり、組合せは膨大である。 In recent years, system configurations have become larger and more complex, and the number and combinations of system components have also increased accordingly. For example, one way to configure a client-server system is a three-tier system. In a three-tier system, for example, a web server, an application server, and a database server work together, and various configurations can be selected for the type and number of servers to be implemented, and the number of combinations is enormous.

また、システムの大規模化および複雑化に伴い、構築したシステムに対するテスト手順も同様に長大化の傾向にあり、テスト手順書の作成作業が複雑化している。 Furthermore, as systems become larger and more complex, test procedures for the constructed systems also tend to become longer and longer, making the task of creating test procedure manuals more complex.

これに関し、テスト手順の生成に関連する技術が知られている(例えば、特許文献1および特許文献2)。 In this regard, techniques related to generation of test procedures are known (for example, Patent Document 1 and Patent Document 2).

特開2009-252167号公報JP2009-252167A 特開2013-152667号公報Japanese Patent Application Publication No. 2013-152667

しかしながら、例えば、テスト手順を自動で生成した場合、生成されるテスト手順の精度はまだ十分ではなく、修正などのために煩雑な作業が求められる。そのため、テスト手順を高精度に生成することのできる技術の提供が望まれている。 However, for example, when a test procedure is automatically generated, the accuracy of the generated test procedure is still not sufficient, and complicated work is required for correction. Therefore, it is desired to provide a technology that can generate test procedures with high accuracy.

1つの側面では、本発明は、テスト手順の生成精度を向上させることを目的とする。 In one aspect, the present invention aims to improve the accuracy of test procedure generation.

本発明の一つの態様の生成プログラムは、システム構成とテスト手順とを対応づける構成手順情報を複数含む構成手順管理情報に基づいて特定されるシステム構成間で共通する共通構成要素のうちで、テスト手順の生成対象のシステム構成に含まれる構成要素よりも要素数が少なく且つ生成対象のシステム構成に含まれる構成要素を最も多く有する共通構成要素を有する第1のシステム構成および第2のシステム構成を特定し、第3のシステム構成であって、生成対象のシステム構成に含まれる構成要素と共通構成要素との差分の構成要素を追加すると第4のシステム構成へと変更される関係を有する第3のシステム構成および第4のシステム構成を、構成手順管理情報に基づいて特定し、第1のシステム構成と第2のシステム構成とで共通している共通テスト項目と、第4のシステム構成のテスト項目のうちで第3のシステム構成のテスト項目に含まれていない追加テスト項目とに基づいて、生成対象のシステム構成と対応するテスト項目を決定し、構成要素の組合せに応じて実行される組合せテスト項目の情報を含む属性情報に基づいて、組合せテスト項目が、他のテスト項目よりも後ろに配置されるように生成対象のシステム構成と対応するテスト項目を並べたテスト手順を出力する、処理をコンピュータに実行させる。 The generation program according to one aspect of the present invention performs a test on common components that are common between system configurations that are specified based on configuration procedure management information that includes a plurality of configuration procedure information that associates system configurations and test procedures. A first system configuration and a second system configuration that have a common component that has fewer elements than the components included in the system configuration to be generated and that has the largest number of components included in the system configuration to be generated. A third system configuration that has a relationship that changes to a fourth system configuration when a component that is a difference between a component included in the system configuration to be generated and a common component is added. The system configuration and the fourth system configuration are identified based on the configuration procedure management information, and the common test items common to the first system configuration and the second system configuration and the fourth system configuration are tested. The system configuration to be generated and the corresponding test items are determined based on the additional test items that are not included in the test items of the third system configuration among the items, and the combinations that are executed according to the combination of the components are determined. A process that outputs a test procedure in which the system configuration to be generated and the corresponding test items are arranged so that the combination test item is placed after other test items, based on attribute information including test item information. have the computer execute it.

テスト手順の生成精度を向上させることができる。 The accuracy of test procedure generation can be improved.

例示的なテスト手順の生成について説明する図である。FIG. 3 is a diagram illustrating generation of an exemplary test procedure. 実施形態に係る情報処理装置のブロック構成を例示する図である。FIG. 1 is a diagram illustrating a block configuration of an information processing device according to an embodiment. 実施形態に係るテスト項目の解析処理の動作フローを示す図である。FIG. 3 is a diagram illustrating an operational flow of test item analysis processing according to the embodiment. 実施形態に係る差異情報を例示する図である。FIG. 3 is a diagram illustrating difference information according to the embodiment. 実施形態に係る最小追加構成要素情報を例示する図である。FIG. 6 is a diagram illustrating minimum additional component information according to the embodiment. 組合せテスト項目の特定を例示する図である。FIG. 3 is a diagram illustrating identification of combination test items. 組合せテスト項目の伝搬を例示する図である。FIG. 3 is a diagram illustrating propagation of combination test items. 実施形態に係る属性情報を例示する図である。FIG. 3 is a diagram illustrating attribute information according to an embodiment. 実施形態に係る解析情報を例示する図である。FIG. 3 is a diagram illustrating analysis information according to an embodiment. 実施形態に係るテスト手順生成処理の動作フローを例示する図である。FIG. 3 is a diagram illustrating an operational flow of test procedure generation processing according to the embodiment. 共通構成要素と追加構成要素との特定処理を例示する図である。FIG. 6 is a diagram illustrating a process for specifying common components and additional components. 入力されたシステム構成のテスト手順の生成を例示する図である。FIG. 3 is a diagram illustrating generation of a test procedure for an input system configuration. 例示的な構成要素およびテスト項目を示す情報の図である。FIG. 2 is a diagram of information showing example components and test items. 実施形態に係る情報処理装置を実現するためのコンピュータのハードウェア構成を例示する図である。1 is a diagram illustrating a hardware configuration of a computer for realizing an information processing apparatus according to an embodiment.

以下、図面を参照しながら、本発明のいくつかの実施形態について詳細に説明する。なお、複数の図面において対応する要素には同一の符号を付す。 Hereinafter, some embodiments of the present invention will be described in detail with reference to the drawings. Note that the same reference numerals are given to corresponding elements in a plurality of drawings.

上述のように、テスト手順の生成精度を向上させるための技術の提供が望まれている。なお、テスト手順とは、テスト項目を実行する順序を示す情報である。テスト項目は、例えば、その工程で実行するテストの内容である。 As mentioned above, it is desired to provide a technique for improving the accuracy of test procedure generation. Note that the test procedure is information indicating the order in which test items are executed. The test item is, for example, the content of the test to be executed in the process.

システム構成が与えられた際に、そのシステム構成と対応するテスト手順を生成するための一つのアプローチとして、機械学習を用いることが考えられる。しかしながら、例えば、システムの構築要素の組みと、その組の構成要素におけるテスト手順とを対応づけた教師データを大量に用意することが難しい状況がある。そして、仮に少量の教師データで機械学習を行ってモデルを構築しても、正しいテスト手順を作成するモデルを構築することはできない。 Given a system configuration, one approach to generating test procedures that corresponds to the system configuration is to use machine learning. However, for example, there are situations in which it is difficult to prepare a large amount of training data that associates a set of system building elements with a test procedure for the constituent elements of that set. Even if a model were built using machine learning using a small amount of training data, it would not be possible to build a model that would create correct test procedures.

また、システム構成と、そのシステム構成と対応するテスト手順とを対応づける情報を複数比較することで、システム構成の構成要素と対応するテスト項目をある程度は推定することができる。しかしながら、テスト項目には、構成要素に固有のテストである固有テスト項目と、構成要素を組合せた結果として実行が要求される組合せテスト項目とがある。 Further, by comparing multiple pieces of information that associate a system configuration with a corresponding test procedure, it is possible to estimate to some extent the test items that correspond to the components of the system configuration. However, test items include specific test items that are tests specific to a component, and combination test items that are required to be executed as a result of combining components.

固有テスト項目は、構成要素単体に対するテスト項目であり、例えば、ウェブサーバであれば、ウェブサーバが起動したかのテストや、クライアントからのリクエストに対するウェブサーバの応答のテストなどを含んでよい。 Specific test items are test items for individual components, and for example, in the case of a web server, they may include a test to see if the web server has started, a test for the web server's response to a request from a client, and the like.

また、組合せテスト項目は、構成要素の組みに対するテスト項目であり、例えば、ウェブサーバとアプリケーションサーバとの間の連携テストなどの複数の構成要素を組合せた結果として実行が要求されるテストである。 Further, a combination test item is a test item for a combination of constituent elements, and is, for example, a test that is requested to be executed as a result of combining a plurality of constituent elements, such as a cooperation test between a web server and an application server.

なお、組合せテスト項目は、それぞれの構成要素の固有テスト項目のテストが完了した後に実行しないと、テストしてもシステムの状態を判定できないことが多い。そのため、組合せテスト項目よりも前に固有テスト項目が実行される。 Note that the state of the system cannot often be determined even if the combination test items are tested unless they are executed after the tests of the unique test items of each component are completed. Therefore, the unique test items are executed before the combination test items.

ここで、新たなシステム構成と対応するテスト手順を生成するとする。この場合に、どのテスト項目が固有テスト項目で、どのテスト項目が組合せテスト項目であるかが分からないと、誤った実行順序のテスト手順を生成してしまうことがある。或いは、どのテスト項目が固有テスト項目で、どのテスト項目が組合せテスト項目であるかが分からないと、新たなシステム構成と対応するテスト手順を生成する際に、余計なテスト項目を含めてしまったり、テスト項目が漏れてしまったりすることがある。以下、システム構成の比較に基づく、テスト手順の生成について例示する。 Now, assume that a new system configuration and a corresponding test procedure are generated. In this case, if it is not known which test items are unique test items and which test items are combination test items, a test procedure with an incorrect execution order may be generated. Alternatively, if you do not know which test items are unique test items and which test items are combination test items, you may end up including unnecessary test items when generating a new system configuration and corresponding test procedures. , test items may be omitted. An example of generating a test procedure based on a comparison of system configurations will be described below.

図1は、例示的なテスト手順の生成について説明する図である。図1(a)は、システム構成に含まれる構成要素のグループと、そのシステム構成に対するテスト手順とを対応づける構成手順管理情報101を例示する図である。構成手順管理情報101には、例えば、項番、システム構成、テスト手順を対応づけたレコードが登録されている。項番は、例えば、レコードのシステム構成を識別するための識別情報である。システム構成は、レコードの項番で識別されるシステム構成に含まれる構成要素の情報である。例えば、図1では、項番:1のシステムは構成要素C1、C2、およびC3の3つの構成要素を含んでいる。また、テスト手順は、レコードの項番で識別されるシステム構成に対して実行されるテスト手順を示す情報である。例えば、図1では、項番:1で識別されるシステムには、T1‐T2‐T3‐T4‐T5‐T6の順序でテスト項目が実行される。なお、構成手順管理情報101のレコードを、一実施形態においては構成手順情報と呼ぶことがある。 FIG. 1 is a diagram illustrating the generation of an exemplary test procedure. FIG. 1A is a diagram illustrating configuration procedure management information 101 that associates groups of components included in a system configuration with test procedures for that system configuration. In the configuration procedure management information 101, for example, records in which item numbers, system configurations, and test procedures are associated are registered. The item number is, for example, identification information for identifying the system configuration of the record. The system configuration is information on the components included in the system configuration identified by the item number of the record. For example, in FIG. 1, the system with item number 1 includes three components C1, C2, and C3. Further, the test procedure is information indicating a test procedure to be executed for the system configuration identified by the item number of the record. For example, in FIG. 1, test items are executed in the order of T1-T2-T3-T4-T5-T6 for the system identified by item number 1. Note that the record of the configuration procedure management information 101 may be referred to as configuration procedure information in one embodiment.

また、図1では、構成要素をC1、C2、C3などのようにCに番号nを付して表しているが、これらは実際には、例えば、ウェブサーバ、アプリケーションサーバ、データベースなどの構成要素であってよい。一例では、構成要素C1はApacheであり、また、構成要素C2はTomcatである。また、図1では、テスト項目をT1、T2、T3などのようにTに番号nを付して表しているが、これらは実際にはテストで実行される処理であってよい。一例として構成要素がMySQLである場合には、テスト項目は、“mysqlshow ‐u root mysql”などのコマンドの実行であってよい。 In addition, in FIG. 1, the components are represented by adding a number n to C such as C1, C2, C3, etc., but these are actually components such as a web server, an application server, a database, etc. It may be. In one example, component C1 is Apache and component C2 is Tomcat. Further, in FIG. 1, test items are represented by adding a number n to T such as T1, T2, T3, etc., but these may actually be processes executed in a test. For example, if the component is MySQL, the test item may be the execution of a command such as "mysqlshow -u root mysql".

そして、構成手順管理情報101の複数のレコードを比較することで、システム構成の構成要素と対応するテスト項目を推定することが可能である。 By comparing a plurality of records of the configuration procedure management information 101, it is possible to estimate the test items corresponding to the components of the system configuration.

例えば、項番1のシステム構成:C1‐C2‐C3と、項番4のシステム構成:C1‐C5‐C6とを比較すると、構成要素C1は共通しているが、その他の構成要素は異なっている。また、項番1の手順:T1‐T2‐T3‐T4‐T5‐T6と、項番4の手順:T1‐T2‐T16‐T17‐T18‐T19とを比較すると、T1およびT2は一致しているが、その他のテスト項目は、異なっている。そのため、構成要素:C1のテスト項目はT1およびT2であると特定することができる。なお、項番2および項番3にも同様に構成要素:C1が含まれており、C1のテスト項目として特定したT1およびT2が、項番2および項番3のテスト手順にも含まれている。従って、構成要素:C1のテスト項目がT1およびT2であるとの推定は正しいことが推定される。 For example, when comparing system configuration No. 1: C1-C2-C3 and system configuration No. 4: C1-C5-C6, component C1 is common, but other components are different. There is. Also, when comparing the procedure in item number 1: T1-T2-T3-T4-T5-T6 and the procedure in item number 4: T1-T2-T16-T17-T18-T19, T1 and T2 match. However, other test items are different. Therefore, the test items of component C1 can be specified as T1 and T2. Note that item number 2 and item number 3 also include component C1, and T1 and T2, which were identified as test items for C1, are also included in the test procedures for item number 2 and item number 3. There is. Therefore, it is presumed that the estimation that the test items of component C1 are T1 and T2 is correct.

しかしながら、このようなレコード間の比較では、対応するテスト項目の特定が難しい構成要素もある。例えば、項番1のシステム構成:C1‐C2‐C3のテスト手順はT1‐T2‐T3‐T4‐T5‐T6である。このうちT1とT2は、構成要素C1のテスト項目であると推定されているため、残りのテスト項目:T3‐T4‐T5‐T6は、項番1のシステム構成の構成要素:C2およびC3のいずれかのテスト項目であることが推定される。しかし、テスト項目:T3‐T4‐T5‐T6のうち、どのテスト項目が構成要素C2の固有テスト項目であり、どのテスト項目が構成要素C3の固有テスト項目であるのかは分からない。或いは、テスト項目:T3‐T4‐T5‐T6に組合せテスト項目が含まれているのか否かは分からない。 However, in such comparisons between records, there are some components for which it is difficult to identify corresponding test items. For example, the test procedure for the system configuration of item number 1: C1-C2-C3 is T1-T2-T3-T4-T5-T6. Of these, T1 and T2 are estimated to be test items for the component C1, so the remaining test items: T3-T4-T5-T6 are for the system configuration components C2 and C3 of item number 1. It is presumed that this is one of the test items. However, it is not known which test item among the test items T3-T4-T5-T6 is a test item unique to component C2 and which test item is unique to component C3. Alternatively, it is not known whether the test items: T3-T4-T5-T6 include a combination test item.

また、項番3のシステム構成と、項番4のシステム構成とを比較すると、構成要素:C7が項番3のシステム構成では追加されている点で異なっている。項番3のテスト手順:T1‐T2‐T14‐T16‐T17‐T9‐T15‐T20と、項番4のテスト手順:T1‐T2‐T16‐T17‐T18‐T19とを比較すると、テスト項目:T9‐T14‐T15‐T20が項番3では追加されている。そのため、構成要素:C7と、テスト項目:T9‐T14‐T15‐T20とが関連することが推定される。しかしながら、テスト項目:T9‐T14‐T15‐T20のうち構成要素:C7の固有テスト項目がどれであるのか、および組合せテスト項目が含まれているのか否かは特定できない。 Furthermore, when comparing the system configuration of Item No. 3 and the system configuration of Item No. 4, the difference is that component C7 is added in the system configuration of Item No. 3. Comparing the test procedure for item number 3: T1-T2-T14-T16-T17-T9-T15-T20 and the test procedure for item number 4: T1-T2-T16-T17-T18-T19, the test items: T9-T14-T15-T20 are added in item number 3. Therefore, it is estimated that the component: C7 and the test items: T9-T14-T15-T20 are related. However, it is not possible to specify which of the test items: T9-T14-T15-T20 is the unique test item of the component: C7, and whether or not a combination test item is included.

そして、こうした曖昧な情報に基づいて新たなシステム構成に対するテスト手順を生成しようとしても、余計なテスト項目が含まれてしまったり、実行がすべきテスト項目を追加できなかったり、或いは誤った実行順序となってしまったりすることがある。例えば、図1(c)は、新たなシステムのシステム構成と、そのシステム構成に対して生成した新たなテスト手順とを例示する図である。図1(c)に示すシステムのシステム構成は、C1‐C7‐C2‐C3であり、テスト手順が既知の項番1のシステム構成に、新たな構成要素C7を追加したシステム構成を有している。この場合に、項番1のテスト手順:T1‐T2‐T3‐T4‐T5‐T6に、図1(b)のC7のテスト項目:T9‐T14‐T15‐T20を追加し、新たなテスト手順:T1‐T2‐T3‐T4‐T5‐T6‐T9‐T14‐T15‐T20を生成できる。しかしながら、追加したT9‐T14‐T15‐T20に組合せテスト項目が含まれていれば、余計なテスト項目を追加してしまっている恐れもあるし、或いは、本来組合せで実行が要求されるテスト項目が漏れてしまっている恐れもある。また、誤った実行順序のテスト手順を生成してしまう恐れもある。そのため、テスト手順の生成を効率化することのできる技術の提供が望まれている。 Even if you try to generate test procedures for a new system configuration based on such ambiguous information, unnecessary test items may be included, test items that should be executed may not be added, or the execution order may be incorrect. Sometimes this happens. For example, FIG. 1C is a diagram illustrating the system configuration of a new system and a new test procedure generated for the system configuration. The system configuration of the system shown in FIG. 1(c) is C1-C7-C2-C3, and has a system configuration in which a new component C7 is added to the system configuration of item number 1 for which the test procedure is known. There is. In this case, test item C7 in Figure 1(b): T9-T14-T15-T20 is added to test procedure No. 1: T1-T2-T3-T4-T5-T6, and a new test procedure is created. : T1-T2-T3-T4-T5-T6-T9-T14-T15-T20 can be generated. However, if the added T9-T14-T15-T20 includes combination test items, there is a risk that unnecessary test items have been added, or test items that are originally required to be executed in combination may have been added. There is also a possibility that it may have leaked. Additionally, there is a risk of generating test procedures with incorrect execution order. Therefore, it is desired to provide a technology that can streamline the generation of test procedures.

以下で述べる実施形態では、システム構成間で共通なテスト項目とシステム構成間の変更で追加されるテスト項目とを組合せて、テスト手順の生成対象のシステム構成に対するテスト項目を特定する。また、特定したテスト項目が固有テスト項目か、組合せテスト項目かの情報を用いてテスト項目を並べたテスト手順を生成する。そのため、生成精度を向上させることができる。以下、実施形態を更に詳細に説明する。 In the embodiment described below, test items common between system configurations and test items added due to changes between system configurations are combined to identify test items for the system configuration for which a test procedure is to be generated. Furthermore, a test procedure in which the test items are arranged is generated using information as to whether the identified test item is a unique test item or a combination test item. Therefore, generation accuracy can be improved. Hereinafter, embodiments will be described in more detail.

図2は、実施形態に係る情報処理装置200のブロック構成を例示する図である。情報処理装置200は、例えば、制御部201及び記憶部202を含む。制御部201は、例えば特定部211、決定部212、および出力部213などとして動作してよい。記憶部202は、例えば、構成手順管理情報101、並びに後述する差異情報400、最小追加構成要素情報500、属性情報800、および解析情報900などの情報を記憶していてよい。これらの各部の詳細及び記憶部202に格納されている情報の詳細については後述する。 FIG. 2 is a diagram illustrating a block configuration of the information processing device 200 according to the embodiment. The information processing device 200 includes, for example, a control section 201 and a storage section 202. The control unit 201 may operate as, for example, a specifying unit 211, a determining unit 212, an output unit 213, and the like. The storage unit 202 may store information such as configuration procedure management information 101, difference information 400, minimum additional component information 500, attribute information 800, and analysis information 900, which will be described later. The details of each of these units and the information stored in the storage unit 202 will be described later.

続いて、実施形態に係るテスト手順の生成について説明する。例えば、IT(information technology)システムのテストではテスト項目の実行順序に依存関係があるという性質を使うことで、以下で述べる実施形態では固有テスト項目と組合せテスト項目との特定を行う。そして、その結果を用いることでテスト手順の生成精度の向上を図る。 Next, generation of a test procedure according to the embodiment will be described. For example, in the test of an information technology (IT) system, by using the property that there is a dependency in the execution order of test items, the embodiment described below identifies specific test items and combination test items. The results are then used to improve the accuracy of test procedure generation.

以下、実施形態に係るテスト項目の解析処理の例を説明する。図3は、実施形態に係るテスト項目の解析処理の動作フローを示す図である。例えば、制御部201は、テスト項目の解析処理の実行指示が入力されると、図3の動作フローを開始してよい。 An example of test item analysis processing according to the embodiment will be described below. FIG. 3 is a diagram showing an operational flow of test item analysis processing according to the embodiment. For example, the control unit 201 may start the operation flow shown in FIG. 3 when an instruction to execute the test item analysis process is input.

ステップ301(以降、ステップを“S”と記載し、例えば、S301と表記する)において制御部201は、構成手順管理情報101の各レコードの構成要素とテスト手順の情報を読み込む。 In step 301 (hereinafter, step will be abbreviated as "S", for example, S301), the control unit 201 reads the constituent elements of each record of the configuration procedure management information 101 and information on the test procedure.

S302において制御部201は、構成手順管理情報101の各レコード間の差異を抽出し、差異情報400を生成する。一実施形態では制御部201は、構成手順管理情報101のそれぞれのレコードを、構成手順管理情報101に登録されている別のレコードのそれぞれと比較し、差異情報400を生成してよい。 In S<b>302 , the control unit 201 extracts differences between each record of the configuration procedure management information 101 and generates difference information 400 . In one embodiment, the control unit 201 may generate difference information 400 by comparing each record of the configuration procedure management information 101 with each of other records registered in the configuration procedure management information 101.

図4は、実施形態に係る差異情報400を例示する図である。差異情報400には、例えば、番号、基準項番、相手項番、追加構成要素、削除構成要素、共通構成要素、追加テスト項目、および削除テスト項目が対応づけられたレコードが登録されている。番号は、差異情報400のレコードの識別するための識別情報である。基準項番および相手項番は、例えば、S302の処理で比較を行う対象であり、構成手順管理情報101から選択された2つのレコードの項番であってよい。なお、基準項番は、比較元となる項番であり、相手項番は比較相手の項番である。例えば、差異情報400の番号:1のレコードでは、基準項番として項番:1が選択されており、また、基準項番:1と比較を行う対象の相手項番として項番:2が選択されている。以下、番号:1のレコードを例に更に説明を行う。 FIG. 4 is a diagram illustrating difference information 400 according to the embodiment. The difference information 400 includes records in which, for example, numbers, reference item numbers, partner item numbers, additional components, deleted components, common components, additional test items, and deleted test items are associated with each other. The number is identification information for identifying the record of the difference information 400. The reference item number and the partner item number are, for example, objects to be compared in the process of S302, and may be the item numbers of two records selected from the configuration procedure management information 101. Note that the reference item number is the item number that is the source of comparison, and the partner item number is the item number of the comparison partner. For example, in the record with number 1 of difference information 400, item number 1 is selected as the reference item number, and item number 2 is selected as the target item number to be compared with reference item number: 1. has been done. Further explanation will be given below using the record numbered 1 as an example.

追加構成要素は、基準項番のシステム構成の構成要素から相手項番のシステム構成の構成要素に変更するために、追加される構成要素である。例えば、構成手順管理情報101を参照すると、基準項番:1のシステム構成はC1‐C2‐C3であり、また、相手項番:2のシステム構成はC1‐C4‐C2‐C3である。これらを比較すると、基準項番:1のシステム構成に対し、相手項番:2では構成要素:C4が追加されていることが分かる。そのため、追加構成要素にはC4が登録されている。 The additional component is a component added to change the system configuration component of the reference item number to the system configuration component of the partner item number. For example, referring to the configuration procedure management information 101, the system configuration of reference item number: 1 is C1-C2-C3, and the system configuration of partner item number: 2 is C1-C4-C2-C3. Comparing these, it can be seen that a component: C4 is added to the system configuration of reference item number: 1 in counterpart item number: 2. Therefore, C4 is registered as an additional component.

削除構成要素は、基準項番のシステム構成の構成要素から相手項番のシステム構成の構成要素に変更するために、削除される構成要素である。なお、基準項番:1のシステム構成:C1‐C2‐C3から相手項番:2のシステム構成:C1‐C4‐C2‐C3に変更する際に、削除される構成要素はないため、差異情報400の最上段のエントリでは、空を示す「-」が登録されている。 The deleted component is a component that is deleted in order to change from a component of the system configuration of the reference item number to a component of the system configuration of the partner item number. In addition, when changing from the system configuration of standard item number 1: C1-C2-C3 to the system configuration of partner item number: 2: C1-C4-C2-C3, there are no components to be deleted, so the difference information In the top entry of 400, "-" indicating empty is registered.

共通構成要素は、基準項番のシステム構成の構成要素と、相手項番のシステム構成の構成要素とで共通している構成要素である。例えば、基準項番:1のシステム構成:C1‐C2‐C3と、相手項番:2のシステム構成:C1‐C4‐C2‐C3とではC1‐C2‐C3が共通しているため、差異情報400の最上段のエントリではC1‐C2‐C3が登録されている。 The common component is a component that is common between the system configuration component of the reference item number and the system configuration component of the partner item number. For example, the system configuration of standard item number: 1: C1-C2-C3 and the system configuration of partner item number: 2: C1-C4-C2-C3 have C1-C2-C3 in common, so the difference information In the top entry of 400, C1-C2-C3 are registered.

追加テスト項目は、基準項番のシステム構成のテスト手順から相手項番のシステム構成のテスト手順に変更するために、追加されるテスト項目である。換言すると、追加テスト項目は、例えば、相手項番のシステム構成のテスト手順のうちで、基準項番のシステム構成のテスト手順に含まれていないテスト項目である。例えば、構成手順管理情報101を参照すると、基準項番:1のテスト手順はT1‐T2‐T3‐T4‐T5‐T6であり、また、例えば、相手項番:2のテスト手順はT1‐T2‐T7‐T8‐T3‐T4‐T9‐T10‐T11である。これらを比較すると、基準項番:1のシステム構成に対し、相手項番:2ではテスト項目:T7‐T8‐T9‐T10‐T11が追加されている。そのため、追加テスト項目にはT7‐T8‐T9‐T10‐T11が登録されている。 The additional test item is a test item added to change the test procedure for the system configuration of the standard item number to the test procedure for the system configuration of the target item number. In other words, the additional test item is, for example, a test item that is not included in the test procedure for the system configuration of the reference item number among the test procedures for the system configuration of the partner item number. For example, referring to the configuration procedure management information 101, the test procedure for reference item number: 1 is T1-T2-T3-T4-T5-T6, and, for example, the test procedure for partner item number: 2 is T1-T2. -T7-T8-T3-T4-T9-T10-T11. Comparing these, test items: T7-T8-T9-T10-T11 are added to the system configuration of standard item number: 1 in counterpart item number: 2. Therefore, T7-T8-T9-T10-T11 are registered as additional test items.

削除テスト項目は、基準項番のシステム構成のテスト手順から相手項番のシステム構成のテスト手順に変更するために、削除されるテスト項目である。なお、基準項番:1のテスト手順:T1‐T2‐T3‐T4‐T5‐T6から相手項番:2のテスト手順:T1‐T2‐T7‐T8‐T3‐T4‐T9‐T10‐T11に変更するには、テスト項目:T5‐T6が削除される。そのため、差異情報400の最上段のエントリではT5‐T6が登録されている。 The deleted test item is a test item that is deleted in order to change the test procedure for the system configuration of the reference item number to the test procedure for the system configuration of the partner item number. In addition, from the test procedure for standard item number 1: T1-T2-T3-T4-T5-T6 to the test procedure for partner item number: 2: T1-T2-T7-T8-T3-T4-T9-T10-T11. To change, test items: T5-T6 are deleted. Therefore, T5-T6 are registered in the top entry of the difference information 400.

例えば、以上のように、S302においてシステム構成の組合せ間の差異を抽出し、差異情報400にレコードを登録すると、フローはS303に進む。 For example, as described above, when differences between combinations of system configurations are extracted in S302 and records are registered in the difference information 400, the flow advances to S303.

S303において制御部201は、最小の追加構成要素となるレコードの情報を抽出する。例えば、制御部201は、差異情報400に登録されているレコードのうちから、基準項番に登録されているそれぞれの項番ごとに、追加構成要素が最小のレコードを抽出して最小追加構成要素情報500を生成してよい。 In S303, the control unit 201 extracts information on a record that is the smallest additional component. For example, the control unit 201 extracts the record with the minimum additional component from among the records registered in the difference information 400 for each item number registered in the standard item number, and extracts the record with the minimum additional component. Information 500 may be generated.

図5は、実施形態に係る最小追加構成要素情報500を例示する図である。最小追加構成要素情報500は、例えば、差異情報400の一部のレコードを抽出した情報であってよく、最小追加構成要素情報500のレコードには差異情報400と同様の情報が登録されていてよい。 FIG. 5 is a diagram illustrating minimum additional component information 500 according to the embodiment. The minimum additional component information 500 may be, for example, information obtained by extracting some records of the difference information 400, and the same information as the difference information 400 may be registered in the record of the minimum additional component information 500. .

S304において制御部201は、組合せテスト項目を特定する。例えば、制御部201は、最小追加構成要素情報500のレコードに登録されている2つのレコードにおいて、追加構成要素が異なるにもかかわらず追加テスト項目に同じテスト項目が含まれている場合に、その追加テスト項目を組合せテスト項目と判定してよい。 In S304, the control unit 201 specifies combination test items. For example, if two records registered in the minimum additional component information 500 contain the same test item as additional test items even though the additional components are different, the control unit 201 controls the The additional test item may be determined to be a combination test item.

図6は、組合せテスト項目の特定を例示する図である。図6(a)は、上述の構成手順管理情報101である。また、図6(b)には、最小追加構成要素情報500の番号:1で識別されるレコードのシステム構成の情報と、番号:18で識別されるレコードのシステム構成の情報とが示されている。番号:1で識別されるレコードは、項番:1のシステム構成と、項番:2のシステム構成との比較であり、項番:2では構成要素:C4が追加されている。また、番号:18で識別されるレコードは、項番:4のシステム構成と、項番:3のシステム構成との比較であり、項番:3では構成要素:C7が追加されている。 FIG. 6 is a diagram illustrating identification of combination test items. FIG. 6A shows the configuration procedure management information 101 described above. Further, FIG. 6(b) shows the system configuration information of the record identified by number 1 and the system configuration information of the record identified by number 18 of the minimum additional component information 500. There is. The record identified by number: 1 is a comparison between the system configuration of item number: 1 and the system configuration of item number: 2, and in item number: 2, component: C4 is added. Furthermore, the record identified by number: 18 is a comparison between the system configuration of item number: 4 and the system configuration of item number: 3, and in item number: 3, component: C7 is added.

また、図6(c)に示すように、テスト手順を比較すると、番号:1で識別されるレコードは、項番:1のテスト手順と、項番:2のテスト手順との比較であり、項番:2ではテスト項目:T7、T8、T9、T10、T11が追加されている。また、番号:18で識別されるレコードは、項番:4のテスト手順と、項番:3のテスト手順との比較であり、項番:3ではテスト項目:T14、T9、T15、T20が追加されている。 Furthermore, as shown in FIG. 6(c), when comparing the test procedures, the record identified by number: 1 is a comparison between the test procedure of item number: 1 and the test procedure of item number: 2, In item number: 2, test items: T7, T8, T9, T10, and T11 are added. In addition, the record identified by number 18 is a comparison between the test procedure of item number 4 and the test procedure of item number 3, and in item number 3, test items: T14, T9, T15, and T20 are compared. has been added.

ここで、番号:1で識別されるレコードで追加される構成要素:C4と、番号:18で識別されるレコードで追加される構成要素:C7とは異なっているにもかかわらず、共通するテスト項目:T9が追加されている。この場合、テスト項目:T9は、構成要素:C4または構成要素:C7に固有の固有テスト項目ではなく、組合せテスト項目であると判定することができる。 Here, the component added in the record identified by number: 1: C4 and the component added in the record identified by number: 18: C7 are different, but the test is common. Item: T9 has been added. In this case, it can be determined that the test item: T9 is not a unique test item specific to the component: C4 or the component: C7, but is a combination test item.

また、例えば、制御部201は、S304において、追加構成要素があり、かつ、削除構成要素がないにもかかわらず、削除テスト項目がある場合、その削除テスト項目を組合せテスト項目であると判定してよい。これは、構成要素を追加したにもかかわらず、削除されるテスト項目は、構成要素の追加により実行しなくてもよくなった組合せテスト項目と判定することができるためである。 For example, in S304, if there is a deleted test item even though there is an added component and there is no deleted component, the control unit 201 determines that the deleted test item is a combination test item. It's fine. This is because a test item that is deleted despite the addition of a component can be determined to be a combination test item that no longer needs to be executed due to the addition of the component.

例えば、図6に示す例では、番号:1で識別されるレコードで構成要素:C4が追加されているにもかかわらず、テスト項目:T5およびT6が削除されている。そのため、テスト項目:T5およびT6は、組合せテスト項目と判定することができる。同様に、番号:18で識別されるレコードで構成要素:C7が追加されているにもかかわらず、テスト項目:T18およびT19が削除されている。そのため、テスト項目:T18およびT19は、組合せテスト項目と判定することができる。 For example, in the example shown in FIG. 6, test items T5 and T6 have been deleted even though component C4 has been added in the record identified by number 1. Therefore, test items: T5 and T6 can be determined to be a combination test item. Similarly, in the record identified by number: 18, although component: C7 has been added, test items: T18 and T19 have been deleted. Therefore, test items T18 and T19 can be determined to be combination test items.

例えば、以上のようにして、S304において制御部201は、最小追加構成要素情報500のレコードの情報を用いて、組合せテスト項目を特定することができる。 For example, as described above, in S304, the control unit 201 can specify the combination test item using the information in the record of the minimum additional component information 500.

続いて、S305において制御部201は、組合せテスト項目を伝搬させて更に組合せテスト項目を特定する。例えば、制御部201は、組合せテスト項目と判定されたテスト項目よりも、構成手順管理情報101のテスト手順において後ろ側に配置されているテスト項目を全て組合せテスト項目と判定してよい。以下、組合せテスト項目の伝搬について更に詳細に説明する。 Subsequently, in S305, the control unit 201 propagates the combination test items and further specifies combination test items. For example, the control unit 201 may determine all test items that are arranged later in the test procedure of the configuration procedure management information 101 than the test items determined to be combination test items to be combination test items. The propagation of combination test items will be explained in more detail below.

一般に、テスト手順では、構成要素に固有の固有テスト項目のテストが先に実行され、その後、構成要素の組合せに対する組合せテスト項目のテストが実行されるという順番がある。例えば、システム構成が、サーバAとサーバBとを含む場合、サーバAの構築のテスト(サーバAの固有テスト項目)、サーバBの構築テスト(サーバBの固有テスト項目)が完了した後に、サーバA-サーバB間の連携テストといった組合せテストが実行される。各構成要素(サーバAおよびサーバB)に固有の固有テスト項目のテストが正しく完了しないまま、組合せテスト項目をテストしてもシステムの状態を判定できないことが多い。そのため、固有テスト項目のテストの完了後に組合せテスト項目のテストが実行されるという前提を置くことができる。 Generally, in a test procedure, tests for specific test items specific to components are first performed, and then tests for combination test items for combinations of components are performed. For example, if the system configuration includes server A and server B, after the construction test of server A (test items specific to server A) and the construction test of server B (test items specific to server B) are completed, A combination test such as a cooperation test between A and server B is executed. In many cases, it is not possible to determine the state of the system even if the combined test items are tested before the tests of the unique test items specific to each component (server A and server B) are not completed correctly. Therefore, it can be assumed that the test for the combination test item is executed after the test for the unique test item is completed.

そして、この前提を利用することで、更なる組合せテスト項目の特定が可能である。例えば、或るテスト項目が組合せテスト項目だと分かったとする。この場合に、この前提によれば、そのテスト項目の後続のテスト項目は全て組合せテスト項目であると判定することができる。 By using this premise, further combination test items can be specified. For example, suppose that a certain test item turns out to be a combination test item. In this case, according to this premise, it is possible to determine that all test items subsequent to that test item are combination test items.

図7は、組合せテスト項目の伝搬を例示する図である。図7には、システム構成1からシステム構成3の3つのシステム構成のテスト手順の一部が示されている。ここで、例えば、テスト項目:T2が組合せテスト項目であると分かったとする。この場合、システム構成1のテスト手順においてテスト項目:T2に続くテスト項目:T3、およびシステム構成2のテスト手順においてテスト項目:T2に続くテスト項目:T7はいずれも組合せテスト項目であると判定することができる。 FIG. 7 is a diagram illustrating the propagation of combination test items. FIG. 7 shows part of the test procedure for three system configurations, system configuration 1 to system configuration 3. For example, assume that test item T2 is found to be a combination test item. In this case, test item T3 following test item T2 in the test procedure for system configuration 1 and test item T7 following test item T2 in the test procedure for system configuration 2 are both determined to be combination test items. be able to.

また、例えば、以上のように、テスト項目:T3およびT7が組合せテスト項目であると特定されたとする。この場合、新たに特定された組合せテスト項目:T3およびT7を用いて更に組合せテスト項目を特定することが可能である。例えば、図7において、システム構成3のテスト手順はテスト項目:T3を含んでおり、テスト項目:T3に続くテスト項目:T11も、組合せテスト項目であると判定することができる。このように組合せテスト項目の特定を伝搬させていくことで、構成手順管理情報101に登録されているテスト手順から多くの組合せテスト項目を特定することが可能である。S305では、制御部201は、この伝搬処理を、組合せテスト項目が新たに特定されなくなるまで繰り返し、組合せテスト項目を特定してよい。 Further, for example, assume that test items T3 and T7 are identified as combination test items as described above. In this case, it is possible to further specify a combination test item using the newly specified combination test items: T3 and T7. For example, in FIG. 7, the test procedure for system configuration 3 includes test item: T3, and test item: T11 following test item: T3 can also be determined to be a combination test item. By propagating the identification of combination test items in this way, it is possible to identify many combination test items from the test procedures registered in the configuration procedure management information 101. In S305, the control unit 201 may identify a combination test item by repeating this propagation process until no new combination test item is identified.

S306において制御部201は、特定した組合せテスト項目の情報を属性情報800に設定する。 In S<b>306 , the control unit 201 sets information on the identified combination test item in the attribute information 800 .

図8は、実施形態に係る属性情報800を例示する図である。なお、属性情報800には構成手順管理情報101のテスト手順に含まれているテスト項目と、そのテスト項目に対する属性の情報とが対応づけて登録されていてよい。なお、属性は、初期状態では全て固有に設定されていてよい。そして、S304およびS305の処理で、組合せテスト項目として特定されたテスト項目について、制御部201は、属性を組合せに設定して属性情報800を更新してよい。図8の属性情報800では、テスト項目:T1およびT2は、属性が固有であり、これらのテスト項目が固有テスト項目であることがわかる。また、テスト項目:T9およびT10は、属性が組合せであり、これらのテスト項目が組合せテスト項目であることがわかる。 FIG. 8 is a diagram illustrating attribute information 800 according to the embodiment. Note that in the attribute information 800, test items included in the test procedure of the configuration procedure management information 101 and attribute information for the test items may be registered in association with each other. Note that all attributes may be uniquely set in the initial state. The control unit 201 may then update the attribute information 800 by setting the attribute to a combination for the test item identified as a combination test item in the processes of S304 and S305. In the attribute information 800 in FIG. 8, it can be seen that test items T1 and T2 have unique attributes, and these test items are unique test items. It can also be seen that test items T9 and T10 have combination attributes, and these test items are combination test items.

S307において制御部201は、各構成要素について、固有テスト項目の特定を試みる。例えば、制御部201は、最小追加構成要素情報500において追加構成要素が1つであるレコードを特定する。そして、追加構成要素が1つであるレコードの追加テスト項目のうちで、属性情報800において属性が固有に設定されているテスト項目を、追加構成要素に示される構成要素の固有テスト項目として特定してよい。また、この手法で固有テスト項目が特定できない構成要素については、更に、図1(b)を参照して例示したように、複数のテスト手順の比較から構成要素と対応する固有テスト項目を特定してもよい。この場合にも、属性情報800を利用することで組合せテスト項目を排除できるため、高い精度で構成要素と対応する固有テスト項目を特定することができる。 In S307, the control unit 201 attempts to identify specific test items for each component. For example, the control unit 201 identifies a record with one additional component in the minimum additional component information 500. Then, among the additional test items of the record with one additional component, the test item whose attribute is uniquely set in the attribute information 800 is identified as the unique test item of the component indicated by the additional component. It's fine. Furthermore, for components for which specific test items cannot be identified using this method, the specific test items corresponding to the components can be identified by comparing multiple test procedures, as illustrated with reference to Figure 1(b). It's okay. In this case as well, since combination test items can be excluded by using the attribute information 800, specific test items that correspond to the constituent elements can be specified with high accuracy.

S308において制御部201は、特定した構成要素と、固有テスト項目との対応関係を解析情報900に登録し、本動作フローは終了する。 In S308, the control unit 201 registers the correspondence between the identified components and the specific test items in the analysis information 900, and this operational flow ends.

図9は、実施形態に係る解析情報900を例示する図である。解析情報900には、テスト項目と、構成要素に関する構成情報とが対応づけて登録されている。テスト項目は、例えば、構成手順管理情報101のテスト手順に含まれているテスト項目である。構成情報には、レコードのテスト項目が固有テスト項目である場合には、その固有テスト項目でテストされる構成要素が登録されている。一方、レコードのテスト項目が組合せテスト項目である場合には、構成情報には組合せテスト項目であることを示す情報が登録されている。 FIG. 9 is a diagram illustrating analysis information 900 according to the embodiment. In the analysis information 900, test items and configuration information regarding constituent elements are registered in association with each other. The test item is, for example, a test item included in the test procedure of the configuration procedure management information 101. In the configuration information, when the test item of the record is a unique test item, the component to be tested by the unique test item is registered. On the other hand, if the test item of the record is a combination test item, information indicating that it is a combination test item is registered in the configuration information.

以上で述べたように、図3の動作フローによれば、構成要素と対応する固有テスト項目を特定することができる。また、構成要素の組合せに対して実行される組合せテスト項目も特定することができる。 As described above, according to the operation flow shown in FIG. 3, specific test items corresponding to the constituent elements can be specified. It is also possible to specify combination test items to be executed on combinations of components.

<テスト手順の生成>
続いて、図3の動作フローで得られた情報を用いて、入力されたテスト手順の生成対象のシステム構成に対してテスト手順を生成する処理について説明する。
<Generation of test procedure>
Next, a process of generating a test procedure for a system configuration for which an input test procedure is to be generated will be described using information obtained in the operation flow of FIG. 3.

図10は、実施形態に係るテスト手順生成処理の動作フローを例示する図である。例えば、制御部201は、テスト手順を生成する対象のシステム構成が入力されると、図10の動作フローを開始してよい。なお、以下では、テスト手順を生成する対象のシステム構成としてC1‐C7‐C2‐C3が入力されたものとして処理の例を説明する。 FIG. 10 is a diagram illustrating an operational flow of test procedure generation processing according to the embodiment. For example, the control unit 201 may start the operation flow shown in FIG. 10 when the system configuration for which a test procedure is to be generated is input. In the following, an example of processing will be described assuming that C1-C7-C2-C3 is input as the system configuration for which a test procedure is to be generated.

S1001において制御部201は、入力されたシステム構成と一致するシステム構成が、構成手順管理情報101に登録されているか否かを判定する。例えば、入力されたシステム構成:C1‐C7‐C2‐C3と一致するシステム構成が構成手順管理情報101に登録されている場合、制御部201は、Yesと判定してよく、フローはS1002に進む。S1002において制御部201は、入力されたシステム構成と一致するシステム構成を有する構成手順管理情報101のレコードからテスト手順を取得し、入力されたシステム構成に対するテスト手順として出力し、本動作フローは終了する。 In S1001, the control unit 201 determines whether a system configuration that matches the input system configuration is registered in the configuration procedure management information 101. For example, if a system configuration that matches the input system configuration: C1-C7-C2-C3 is registered in the configuration procedure management information 101, the control unit 201 may determine Yes, and the flow proceeds to S1002. . In S1002, the control unit 201 obtains a test procedure from the record of the configuration procedure management information 101 having a system configuration that matches the input system configuration, outputs it as a test procedure for the input system configuration, and this operation flow ends. do.

一方、S1001において、入力されたシステム構成:C1‐C7‐C2‐C3と一致するシステム構成が構成手順管理情報101に登録されていない場合、制御部201は、Noと判定してよく、フローはS1003に進む。 On the other hand, in S1001, if the system configuration that matches the input system configuration: C1-C7-C2-C3 is not registered in the configuration procedure management information 101, the control unit 201 may determine No, and the flow is Proceed to S1003.

S1003において制御部201は、入力されたシステム構成:C1‐C7‐C2‐C3のテスト手順の生成に用いるテスト手順の情報を特定する。一例では、制御部201は、入力されたシステム構成のテスト手順を生成するために、共通構成要素と、追加構成要素とを特定してよい。 In S1003, the control unit 201 identifies test procedure information used to generate a test procedure for the input system configuration: C1-C7-C2-C3. In one example, the control unit 201 may identify common components and additional components in order to generate a test procedure for the input system configuration.

図11は、S1003の処理で実行される共通構成要素と、追加構成要素との特定処理を例示する図である。 FIG. 11 is a diagram illustrating a process for identifying common components and additional components that is executed in the process of S1003.

S1101において制御部201は、入力されたシステム構成:C1‐C7‐C2‐C3と所定の条件を満たして類似している共通構成要素を有するレコードを差異情報400から取得してよい。一例では、制御部201は、入力システム構成:C1‐C7‐C2‐C3よりも少ない構成要素を有する共通構成要素のうちで最も類似している共通構成要素が登録されているレコードを差異情報400から取得してよい。図4の例では、差異情報400の番号:1のレコードは、共通構成要素:C1‐C2‐C3に、追加構成要素:C4が追加されるものであり、制御部201は、この番号:1のレコードを特定してよい。 In S1101, the control unit 201 may obtain from the difference information 400 a record that has common components that are similar to the input system configuration: C1-C7-C2-C3 and satisfy a predetermined condition. In one example, the control unit 201 uses the difference information 401 to select a record in which the most similar common component among the common components having fewer components than the input system configuration: C1-C7-C2-C3 is registered. You may obtain it from In the example of FIG. 4, the record with number: 1 of the difference information 400 is a record in which an additional component: C4 is added to the common components: C1-C2-C3, and the control unit 201 has this number: 1. record.

S1102において制御部201は、例えば、入力されたシステム構成:C1‐C7‐C2‐C3から、特定した共通構成要素C1‐C2‐C3を差し引いた差分:C7を追加構成要素に含むレコードを差異情報400から特定する。図4の例では、差異情報400の番号:18のレコードは、追加構成要素:C7を含んでおり、制御部201は、この番号:18のレコードを特定してよい。追加構成要素を特定すると、図11の動作フローは終了し、フローはS1004に進む。 In S1102, the control unit 201, for example, sets the record including the difference obtained by subtracting the identified common component C1-C2-C3 from the input system configuration: C1-C7-C2-C3: C7 as an additional component as difference information. Specify from 400. In the example of FIG. 4, the record numbered 18 in the difference information 400 includes an additional component C7, and the control unit 201 may specify the record numbered 18. Once the additional component is identified, the operational flow in FIG. 11 ends and the flow advances to S1004.

S1004において制御部201は、特定した情報に基づいて、入力されたシステム構成に対するテスト項目を決定する。そして、S1005において制御部201は、特定したテスト項目の順序を決定する。 In S1004, the control unit 201 determines test items for the input system configuration based on the specified information. Then, in S1005, the control unit 201 determines the order of the identified test items.

図12は、S1004およびS1005で実行される入力されたシステム構成に対するテスト項目の決定と実行順序の決定を例示する図である。 FIG. 12 is a diagram illustrating the determination of test items and execution order for the input system configuration executed in S1004 and S1005.

図12(a)には、入力されたシステム構成に対してS1003の処理で特定した共通構成要素および追加構成要素と対応するシステム構成が示されている。図12(a)に示すように、入力されたシステム構成:C1‐C7‐C2‐C3は、差異情報400の番号1のレコードの共通構成要素:C1‐C2‐C3に、番号18のレコードの追加構成要素:C7を追加することで生成できる。また、追加構成要素:C7は、差異情報400の番号18のレコードに示されるように、項番:4を項番:3のシステム構成に変更するために追加される構成要素である。 FIG. 12A shows a system configuration corresponding to the common components and additional components identified in the process of S1003 with respect to the input system configuration. As shown in FIG. 12(a), the input system configuration: C1-C7-C2-C3 is the common component of the record number 1 of the difference information 400: C1-C2-C3, and the input system configuration: Additional component: Can be generated by adding C7. Further, the additional component: C7 is a component added to change the system configuration of item number: 4 to item number: 3, as shown in the record numbered 18 in the difference information 400.

図12(b)では、以上に述べた図12(a)のシステム構成が、テスト手順に置き換えられている。例えば、共通構成要素のC1‐C2‐C3と対応するテスト項目は、項番:1のテスト手順:T1‐T2‐T3‐T4‐T5‐T6から、差異情報400の番号1の削除テスト項目:T5‐T6を削除することで生成することができる。即ち、共通構成要素:C1‐C2‐C3のテスト項目は、T1‐T2‐T3‐T4と求めることができる。なお、項番:1のテスト手順から削除テスト項目を削除して生成される共通構成要素:C1‐C2‐C3のテスト項目:T1‐T2‐T3‐T4は、項番:1のテスト手順と、項番:2のテスト手順との間で共通している共通テスト項目である。 In FIG. 12(b), the system configuration of FIG. 12(a) described above is replaced with a test procedure. For example, the test item corresponding to the common component C1-C2-C3 is the test procedure with item number 1: T1-T2-T3-T4-T5-T6, and the test item with number 1 deleted from the difference information 400: It can be generated by deleting T5-T6. That is, the test items for the common components: C1-C2-C3 can be determined as T1-T2-T3-T4. In addition, test items: T1-T2-T3-T4 of common component C1-C2-C3, which are generated by deleting the deleted test items from the test procedure of item number: 1, are the same as the test procedure of item number: 1. , Item number: This is a common test item that is common to the test procedure of 2.

また、追加構成要素:C7は、項番:4のシステム構成:C1‐C5‐C6を項番:3のシステム構成:C1‐C7‐C5‐C6に変更する際に追加されている。そのため、項番:4のシステム構成:C1‐C5‐C6を項番:3のシステム構成:C1‐C7‐C5‐C6に変更する際に追加される追加テスト項目:T14‐T9‐T15‐T20を追加構成要素:C7のテスト項目として用いることができる。 Further, the additional component: C7 is added when changing the system configuration of item number: 4: C1-C5-C6 to the system configuration of item number: 3: C1-C7-C5-C6. Therefore, additional test items added when changing the system configuration of Item No. 4: C1-C5-C6 to the system configuration of Item No. 3: C1-C7-C5-C6: T14-T9-T15-T20 can be used as a test item for additional component: C7.

従って、制御部201は、共通構成要素:C1‐C2‐C3のテスト手順:T1‐T2‐T3‐T4に、構成要素:C7のテスト手順:T14‐T9‐T15‐T20を追加することで、入力されたシステム構成のテスト項目を特定してよい。それにより、テスト項目:T1‐T2‐T3‐T4‐T14‐T9‐T15‐T20が特定される。 Therefore, the control unit 201 adds the test procedure: T14-T9-T15-T20 of the component: C7 to the test procedure: T1-T2-T3-T4 of the common component: C1-C2-C3. Test items for the input system configuration may be specified. As a result, test items: T1-T2-T3-T4-T14-T9-T15-T20 are specified.

続いて、制御部201は、特定したテスト項目の順序を決定する(S1005)。例えば、制御部201は、解析情報900を参照することで特定したテスト項目:T1‐T2‐T3‐T4‐T14‐T9‐T15‐T20のうちから、組合せテスト項目を特定する。例えば、制御部201は、解析情報900を参照することで、T9‐T15‐T20が組合せテスト項目であると特定することができる。そのため、制御部201は、固有テスト項目:T1‐T2‐T3‐T4‐T14を前に配置し、その後に組合せテスト項目:T9‐T15‐T20を配置するように並べて、テスト手順:T1‐T2‐T3‐T4‐T14‐T9‐T15‐T20を生成してよい。なお、例えば、テスト手順における固有テスト項目の並び順および組合せテスト項目の並び順については、S1003でテスト手順の生成に用いた構成手順管理情報101内でのテスト手順の並びを維持するように、テスト手順が決定されてよい。 Subsequently, the control unit 201 determines the order of the identified test items (S1005). For example, the control unit 201 specifies a combination test item from among the test items T1-T2-T3-T4-T14-T9-T15-T20 specified by referring to the analysis information 900. For example, the control unit 201 can specify that T9-T15-T20 are combination test items by referring to the analysis information 900. Therefore, the control unit 201 arranges the unique test items: T1-T2-T3-T4-T14 in front, and then arranges the combination test items: T9-T15-T20, and the test procedure: T1-T2. -T3-T4-T14-T9-T15-T20. For example, regarding the order of specific test items and the order of combination test items in the test procedure, the order of the test procedures in the configuration procedure management information 101 used to generate the test procedure in S1003 is maintained. A test procedure may be determined.

S1006において制御部201は、生成したテスト手順を出力し、本動作フローは終了する。 In S1006, the control unit 201 outputs the generated test procedure, and this operation flow ends.

以上で述べたように、実施形態によれば、入力されたシステム構成に対するテスト手順のテスト項目を、共通構成要素と追加構成要素とを組合せて特定するため、不要な組合せテスト項目が生成したテスト手順に含まれてしまうことを抑制できる。例えば、図1(c)の例では、テスト手順に含まれてしまっている組合せテスト項目:T5およびT6を、上記の動作フローによれば削除することができる。 As described above, according to the embodiment, the test items of the test procedure for the input system configuration are specified by combining the common components and the additional components. This can prevent it from being included in the procedure. For example, in the example of FIG. 1(c), the combination test items T5 and T6 that have been included in the test procedure can be deleted according to the above operation flow.

また、実施形態によれば、固有テスト項目と組合せテスト項目とを特定できるため、固有テスト項目の後に組合せテスト項目を配置するようにテスト手順を生成することができる。そのため、テスト手順の生成精度を向上させることができる。例えば、図1(c)の例では、組合せテスト項目:T9の後に配置されてしまっている固有テスト項目:T14を、組合せテスト項目:T9の前に配置することができる。 Further, according to the embodiment, since the unique test items and the combination test items can be specified, a test procedure can be generated so that the combination test items are placed after the unique test items. Therefore, the accuracy of test procedure generation can be improved. For example, in the example of FIG. 1C, the unique test item: T14, which has been placed after the combination test item: T9, can be placed before the combination test item: T9.

また、例えば、実施形態によれば、大量の教師データを用意することが難しく、機械学習によりモデルを構築できない状況でも、精度の高いテスト手順を生成することが可能である。 Further, for example, according to the embodiment, it is possible to generate a highly accurate test procedure even in a situation where it is difficult to prepare a large amount of training data and a model cannot be constructed by machine learning.

なお、上述の実施形態においてC1、C2、C3などのようにCに番号nを付して表した構成要素は、実際にはウェブサーバ、アプリケーションサーバ、データベースなどの構成要素であってよい。また、T1、T2、T3などのようにTに番号nを付して表したテスト項目は、実際にはテストで実行されるコマンドなどであってよい。 Note that in the above-described embodiment, the components expressed by attaching a number n to C such as C1, C2, C3, etc. may actually be components such as a web server, an application server, and a database. Further, test items expressed by adding a number n to T, such as T1, T2, T3, etc., may actually be commands or the like to be executed in a test.

図13は、例示的な構成要素およびテスト項目を示す情報である。図13(a)の例では、構成要素C1は、Apacheであり、また、構成要素C2は、Tomcatである。また、図13(b)の例では、テスト項目T1は、MySQLのmysqlshowコマンドの実行であり、テスト項目T2は、MySQLの“mysqlshow ‐u root mysql”の実行である。なお、上述の実施形態のように、構成要素をCnで管理し、また、テスト項目をTnで管理する場合には、記憶部202には、図13(a)に示す構成要素の対応情報と、図13(b)に示すテスト項目の対応情報とが記憶されていてもよい。 FIG. 13 is information showing exemplary components and test items. In the example of FIG. 13(a), the component C1 is Apache, and the component C2 is Tomcat. Further, in the example of FIG. 13(b), test item T1 is execution of the MySQL mysqlshow command, and test item T2 is execution of MySQL "mysqlshow -u root mysql". Note that, as in the above-described embodiment, when components are managed by Cn and test items are managed by Tn, the storage unit 202 stores the correspondence information of the components shown in FIG. , and the test item correspondence information shown in FIG. 13(b) may be stored.

また、上述の実施形態は、S1003の処理において入力されたシステム構成のテスト手順の生成に用いる共通構成要素と追加構成要素とを特定する手法の一例を示している。しかしながら、入力されたシステム構成のテスト手順に用いる情報の特定の仕方は、これに限定されるものではない。 Further, the above-described embodiment shows an example of a method for identifying common components and additional components used to generate a test procedure for the system configuration input in the process of S1003. However, the method of specifying the information used in the test procedure of the input system configuration is not limited to this.

例えば、別の実施形態では、制御部201は、差異情報400に登録されている共通構成要素のレコードと、追加構成要素のレコードとを評価して、評価の高いレコードの情報を用いて入力されたシステム構成のテスト手順を生成してもよい。評価は、例えば、共通構成要素が多く、追加構成要素が少ないレコードの組ほど高い評価となるように行われてよい。即ち、例えば、入力されたシステム構成:C1‐C7‐C2‐C3を生成する場合に、共通構成要素:C1‐C7および追加構成要素:C2‐C3のレコードの組よりも、共通構成要素:C1‐C7‐C2および追加構成要素:C3のレコードの組を高く評価する。これは、例えば、共通構成要素が多く、追加構成要素が少ないレコードの組でテスト手順を生成した方が精度の高いテスト手順が生成される傾向があるためである。 For example, in another embodiment, the control unit 201 evaluates the common component record and the additional component record registered in the difference information 400, and inputs the information using the information of the highly evaluated record. A test procedure for the system configuration may be generated. The evaluation may be performed such that, for example, a set of records that has more common components and fewer additional components has a higher evaluation. That is, for example, when generating the input system configuration: C1-C7-C2-C3, the common component: C1 is created rather than the set of records of common component: C1-C7 and additional component: C2-C3. -C7-C2 and additional components: Appreciate the set of records in C3. This is because, for example, generating a test procedure using a set of records with many common components and few additional components tends to generate a test procedure with higher accuracy.

また、更に、評価は、テスト手順の生成に用いる共通構成要素および追加構成要素の組と、入力されたシステム構成との一致度が高いほど、高い評価となるように行われてよい。 Furthermore, the evaluation may be performed such that the higher the degree of matching between the set of common components and additional components used to generate the test procedure and the input system configuration, the higher the evaluation.

以上の評価基準は、いずれかの評価基準を共通構成要素および追加構成要素の特定に用いてもよいし、評価基準を組合せて共通構成要素および追加構成要素の特定に用いてもよい。以下では、評価基準を組合せてテスト手順の生成に用いる共通構成要素および追加構成要素を特定する例を述べる。 Any one of the above evaluation criteria may be used to identify common components and additional components, or a combination of evaluation criteria may be used to identify common components and additional components. Below, we describe an example of combining evaluation criteria to identify common components and additional components for use in generating test procedures.

例えば、(a)入力されたシステム構成が、C1‐C7‐C2‐C3であるとする。また、(b)構成手順管理情報101のレコードの構成要素をC1‐C2‐C3とする。更に、入力されたシステム構成のテスト手順の生成に用いる(c)共通構成要素がC1‐C2‐C3であり、また、(d)追加構成要素がC7であるとする。 For example, (a) assume that the input system configuration is C1-C7-C2-C3. Furthermore, (b) the constituent elements of the record of the configuration procedure management information 101 are assumed to be C1-C2-C3. Furthermore, it is assumed that (c) the common components used to generate a test procedure for the input system configuration are C1-C2-C3, and (d) the additional component is C7.

この場合に:
Na=(a)の要素数
Nb=(b)の要素数
Nc=(c)の要素数
Nd=(d)の要素数
とする。
In this case:
Let Na=number of elements in (a), Nb=number of elements in (b), Nc=number of elements in (c), and Nd=number of elements in (d).

また、以下を定義する。
・MAX(i,j):iおよびjの最大値とする。例えば、MAX(i,j)は、i>jであればiであり、i≦jであればjである。
・C(x,y):xとyの合成とする。なお、並びの順序は順序不同であってよい。例えば、C((c),(d))=C1‐C2‐C3‐C7=C1‐C7‐C2‐C3である。
・#(x)はxの構成要素数とする。例えば、#(C((c),(d)))=#(C1‐C2‐C3‐C7)=4である。
・S(x,y)はxとyとの間で一致する構成要素の数とする。例えば、S(C1‐C2‐C3,C1‐C7‐C3‐C2)=3(順序不同でC1‐C2‐C3が一致)である。
・R(x,y)はxに対するyの構成要素の数の割合である。例えば、R(Nc,Na)=3/4=0.75である。
・P(x,y)はxとyが完全一致の場合に1となり、そうでない場合に0となる関数である。例えば、P(C1‐C2,C2‐C1)=1(順不同で一致)である。
In addition, the following is defined.
- MAX (i, j): The maximum value of i and j. For example, MAX(i,j) is i if i>j, and j if i≦j.
・C(x,y): A combination of x and y. Note that the order of arrangement may be random. For example, C((c),(d))=C1-C2-C3-C7=C1-C7-C2-C3.
- #(x) is the number of constituent elements of x. For example, #(C((c),(d)))=#(C1-C2-C3-C7)=4.
- S (x, y) is the number of matching components between x and y. For example, S(C1-C2-C3, C1-C7-C3-C2)=3 (C1-C2-C3 match in any order).
- R(x, y) is the ratio of the number of components of y to x. For example, R(Nc, Na)=3/4=0.75.
- P(x, y) is a function that becomes 1 when x and y completely match, and becomes 0 otherwise. For example, P(C1-C2, C2-C1)=1 (match in any order).

例えば、以上の定義を用いて、(a)入力されたシステム構成に対して、(c)共通構成要素および(d)追加構成要素の組を、以下の式で評価することができる。
評価値:V((a),(b),(c),(d))=S((a),C((c),(d)))/MAX(Na,#(C((c),(d))))*R(Nc,Na)*P((b),(c))
For example, using the above definition, for (a) the input system configuration, the set of (c) common components and (d) additional components can be evaluated using the following formula.
Evaluation value: V((a),(b),(c),(d))=S((a),C((c),(d)))/MAX(Na,#(C((c) ), (d))))*R(Nc,Na)*P((b),(c))

制御部201は、例えば、差異情報400から(c)共通構成要素および(d)追加構成要素を選択し、また、構成手順管理情報101から(d)を選択し、総当たりの組合せで上記の評価値:Vを評価してよい。そして、制御部201は、得られた評価値:Vの高い(c)共通構成要素および(d)追加構成要素の組を用いてS1004以降のテスト手順を生成する処理を実行してよい。上記評価値:Vの式を用いた計算例を以下に示す。 For example, the control unit 201 selects (c) common components and (d) additional components from the difference information 400, and also selects (d) from the configuration procedure management information 101, and performs the above combinations by round robin. Evaluation value: V may be evaluated. Then, the control unit 201 may execute a process of generating the test procedure from S1004 onward using the set of the (c) common component and the (d) additional component with the obtained high evaluation value: V. An example of calculation using the formula for the above evaluation value: V is shown below.

(例1)
(a):C1‐C7‐C2‐C3
(b):C1‐C2‐C3
(c):C1‐C2‐C3
(d):C7
V((a),(b),(c),(d)=S(C1‐C7‐C2‐C3,C1‐C2‐C3‐C7)/MAX(4,#(C1‐C2‐C3‐C7))*R(3,4)*P(C1‐C2‐C3,C1‐C2‐C3)=(4/4)*(3/4)*1=0.75
(Example 1)
(a): C1-C7-C2-C3
(b): C1-C2-C3
(c): C1-C2-C3
(d):C7
V((a),(b),(c),(d)=S(C1-C7-C2-C3,C1-C2-C3-C7)/MAX(4,#(C1-C2-C3-C7 ))*R(3,4)*P(C1-C2-C3,C1-C2-C3)=(4/4)*(3/4)*1=0.75

(例2)
(a):C1‐C7‐C2‐C3
(b):C1‐C2
(c):C1‐C2
(d):C3‐C7
V((a),(b),(c),(d)=S(C1‐C7‐C2‐C3,C1‐C2‐C3‐C7)/MAX(4,#(C1‐C2‐C3‐C7)*R(2,4)*P(C1‐C2, C1‐C2)=(4/4)*(2/4)*1=0.5
(Example 2)
(a): C1-C7-C2-C3
(b): C1-C2
(c): C1-C2
(d):C3-C7
V((a),(b),(c),(d)=S(C1-C7-C2-C3,C1-C2-C3-C7)/MAX(4,#(C1-C2-C3-C7 )*R(2,4)*P(C1-C2, C1-C2)=(4/4)*(2/4)*1=0.5

この場合、例2のV=0.5の(c)共通構成要素および(d)追加構成要素の組よりも、例1のV=0.75の(c)共通構成要素および(d)追加構成要素の組の方が評価は高い。そのため、制御部201は、例1の(c)共通構成要素および(d)追加構成要素の組を用いてS1004以降のテスト手順を生成する処理を実行してよい。 In this case, the set of (c) common component and (d) additional component with V=0.75 in Example 1 is better than the set of (c) common component and (d) additional component with V=0.5 in Example 2. The evaluation is higher for the component set. Therefore, the control unit 201 may execute the process of generating the test procedure after S1004 using the set of (c) common components and (d) additional components in Example 1.

以上で述べたように、所定の評価基準に従って、テスト手順の生成に用いる(c)共通構成要素および(d)追加構成要素の組を特定することもできる。 As mentioned above, it is also possible to identify a set of (c) common components and (d) additional components for use in generating a test procedure according to predetermined evaluation criteria.

なお、上記のP(x,y)の別の定義としては、P(x,y)=S(x,y)/MAX(#(x),#(y))を用いることもできる。この場合、一致数が多いほど重みが増す。 Note that as another definition of the above P(x, y), P(x, y)=S(x, y)/MAX(#(x), #(y)) can also be used. In this case, the greater the number of matches, the greater the weight.

以上において、実施形態を例示したが、実施形態はこれに限定されるものではない。例えば、上述の動作フローは例示であり、実施形態はこれに限定されるものではない。可能な場合には、動作フローは、処理の順番を変更して実行されてもよく、別に更なる処理を含んでもよく、又は、一部の処理が省略されてもよい。例えば、上述の図3のS307およびS308の処理は実行されなくてもよい。この場合、制御部201は、S1005の処理では属性情報800を用いて組合せテスト項目を特定してよい。 Although the embodiments have been illustrated above, the embodiments are not limited thereto. For example, the above-described operational flow is an example, and the embodiments are not limited thereto. If possible, the operational flow may be executed by changing the order of processing, may include additional processing, or may omit some processing. For example, the processes of S307 and S308 in FIG. 3 described above may not be executed. In this case, the control unit 201 may identify the combination test item using the attribute information 800 in the process of S1005.

また、上述の実施形態では最小追加構成要素情報500を作成して用いる例を述べているが、実施形態はこれに限定されるものではない。例えば、別の実施形態では最小追加構成要素情報500は作成されなくてもよく、代りに、制御部201は、差異情報400から情報を取得してもよい。 Moreover, although the above embodiment describes an example in which the minimum additional component information 500 is created and used, the embodiment is not limited to this. For example, in another embodiment, the minimum additional component information 500 may not be created, and the control unit 201 may obtain the information from the difference information 400 instead.

また、上述の実施形態では、S1005の処理で固有テスト項目を前に配置し、その後に組合せテスト項目を配置するようにテスト手順を生成する例を述べている。しかしながら、実施形態はこれに限定されるものではない。例えば、別の実施形態では、更に、制御部201は、テスト手順を生成に用いる共通構成要素を含む差異情報400のレコードから、追加テスト項目の固有テスト項目と組合せテスト項目とが相手項番のテスト手順において挿入されている位置を特定してよい。そして、制御部201は、特定した固有テスト項目と組合せテスト項目とが挿入されるそれぞれの位置に、S1003で特定した追加構成要素の追加テスト項目から固有テスト項目と組合せテスト項目とを分けて挿入してもよい。 Furthermore, in the above-described embodiment, an example is described in which a test procedure is generated so that the unique test items are placed first and the combination test items are placed after them in the process of S1005. However, embodiments are not limited thereto. For example, in another embodiment, the control unit 201 further determines whether the unique test item of the additional test item and the combination test item have the same The location of the insertion may be determined during the test procedure. Then, the control unit 201 separately inserts the unique test item and the combination test item from the additional test items of the additional component identified in S1003 at the respective positions where the identified unique test item and combination test item are to be inserted. You may.

なお、上述の実施形態において、図10のS1003および図11の動作フローでは、情報処理装置200の制御部201は、例えば、特定部211として動作する。また、図10のS1004の処理では、情報処理装置200の制御部201は、例えば、決定部212として動作する。図10のS1005およびS1006の処理では、情報処理装置200の制御部201は、例えば、出力部213として動作する。 Note that in the above-described embodiment, in S1003 of FIG. 10 and the operation flow of FIG. 11, the control unit 201 of the information processing apparatus 200 operates as the specifying unit 211, for example. Further, in the process of S1004 in FIG. 10, the control unit 201 of the information processing apparatus 200 operates as the determining unit 212, for example. In the processes of S1005 and S1006 in FIG. 10, the control unit 201 of the information processing device 200 operates as the output unit 213, for example.

図14は、実施形態に係る情報処理装置200を実現するためのコンピュータ1400のハードウェア構成を例示する図である。図14の情報処理装置200を実現するためのハードウェア構成は、例えば、プロセッサ1401、メモリ1402、記憶装置1403、読取装置1404、通信インタフェース1406、及び入出力インタフェース1407を備える。なお、プロセッサ1401、メモリ1402、記憶装置1403、読取装置1404、通信インタフェース1406、入出力インタフェース1407は、例えば、バス1408を介して互いに接続されている。 FIG. 14 is a diagram illustrating a hardware configuration of a computer 1400 for realizing the information processing device 200 according to the embodiment. A hardware configuration for realizing the information processing apparatus 200 in FIG. 14 includes, for example, a processor 1401, a memory 1402, a storage device 1403, a reading device 1404, a communication interface 1406, and an input/output interface 1407. Note that the processor 1401, memory 1402, storage device 1403, reading device 1404, communication interface 1406, and input/output interface 1407 are connected to each other via a bus 1408, for example.

プロセッサ1401は、例えば、シングルプロセッサであっても、マルチプロセッサやマルチコアであってもよい。プロセッサ1401は、メモリ1402を利用して例えば上述の動作フローの手順を記述したプログラムを実行することにより、上述した各制御部201の一部または全部の機能を提供する。例えば、情報処理装置200のプロセッサ1401は、記憶装置1403に記憶されているプログラムを実行することで、特定部211、決定部212、および出力部213として動作してよい。 The processor 1401 may be, for example, a single processor, a multiprocessor, or a multicore. The processor 1401 provides some or all of the functions of each of the control units 201 described above by using the memory 1402 to execute, for example, a program that describes the procedure of the above-described operational flow. For example, the processor 1401 of the information processing device 200 may operate as the specifying unit 211, the determining unit 212, and the output unit 213 by executing a program stored in the storage device 1403.

メモリ1402は、例えば半導体メモリであり、RAM領域及びROM領域を含んでいてよい。記憶装置1403は、例えばハードディスク、フラッシュメモリ等の半導体メモリ、又は外部記憶装置である。なお、RAMは、Random Access Memoryの略称である。また、ROMは、Read Only Memoryの略称である。 Memory 1402 is, for example, a semiconductor memory and may include a RAM area and a ROM area. The storage device 1403 is, for example, a hard disk, a semiconductor memory such as a flash memory, or an external storage device. Note that RAM is an abbreviation for Random Access Memory. Further, ROM is an abbreviation for Read Only Memory.

読取装置1404は、プロセッサ1401の指示に従って着脱可能記憶媒体1405にアクセスする。着脱可能記憶媒体1405は、例えば、半導体デバイス(USBメモリ等)、磁気的作用により情報が入出力される媒体(磁気ディスク等)、光学的作用により情報が入出力される媒体(CD‐ROM、DVD等)などにより実現される。なお、USBは、Universal Serial Busの略称である。CDは、Compact Discの略称である。DVDは、Digital Versatile Diskの略称である。 Reading device 1404 accesses removable storage medium 1405 according to instructions from processor 1401. The removable storage medium 1405 is, for example, a semiconductor device (such as a USB memory), a medium in which information is input/output by magnetic action (such as a magnetic disk), or a medium in which information is input/output by optical action (CD-ROM, etc.). DVD, etc.). Note that USB is an abbreviation for Universal Serial Bus. CD is an abbreviation for Compact Disc. DVD is an abbreviation for Digital Versatile Disk.

上述の記憶部202は、例えばメモリ1402、記憶装置1403、及び着脱可能記憶媒体1405を含んでよい。情報処理装置200の記憶装置1403には、例えば、構成手順管理情報101、差異情報400、最小追加構成要素情報500、属性情報800、および解析情報900が格納されていてよい。また、情報処理装置200の記憶装置1403には、図13(a)の構成要素の対応情報と、図13(b)のテスト項目の対応情報とが記憶されていてもよい。 The storage unit 202 described above may include, for example, a memory 1402, a storage device 1403, and a removable storage medium 1405. The storage device 1403 of the information processing device 200 may store, for example, configuration procedure management information 101, difference information 400, minimum additional component information 500, attribute information 800, and analysis information 900. Further, the storage device 1403 of the information processing apparatus 200 may store correspondence information of the components shown in FIG. 13(a) and correspondence information of the test items shown in FIG. 13(b).

通信インタフェース1406は、プロセッサ1401の指示に従って外部の装置とデータを送受信する。入出力インタフェース1407は、例えば、入力装置及び出力装置との間のインタフェースであってよい。入力装置は、例えばユーザからの指示を受け付けるキーボードやマウスなどのデバイスである。出力装置は、例えばディスプレーなどの表示装置、及びスピーカなどの音声装置である。 A communication interface 1406 transmits and receives data to and from an external device according to instructions from the processor 1401. The input/output interface 1407 may be, for example, an interface between an input device and an output device. The input device is, for example, a device such as a keyboard or mouse that receives instructions from a user. The output device is, for example, a display device such as a display, and an audio device such as a speaker.

実施形態に係る各プログラムは、例えば、下記の形態で情報処理装置200に提供される。
(1)記憶装置1403に予めインストールされている。
(2)着脱可能記憶媒体1405により提供される。
(3)プログラムサーバなどのサーバから提供される。
Each program according to the embodiment is provided to the information processing device 200 in the following format, for example.
(1) Installed in the storage device 1403 in advance.
(2) Provided by a removable storage medium 1405.
(3) Provided by a server such as a program server.

なお、図14を参照して述べた情報処理装置200を実現するためのコンピュータ1400のハードウェア構成は、例示であり、実施形態はこれに限定されるものではない。例えば、図14のハードウェア構成から一部の構成要素が置き換えられたり、削除されたりしてもよく、また、新たな構成要素が追加されてもよい。また、上述の制御部201の一部または全部の機能がFPGA及びSoCなどによるハードウェアとして実装されてもよい。なお、FPGAは、Field Programmable Gate Arrayの略称である。SoCは、System‐on‐a‐Chipの略称である。 Note that the hardware configuration of the computer 1400 for realizing the information processing apparatus 200 described with reference to FIG. 14 is an example, and the embodiment is not limited to this. For example, some components may be replaced or deleted from the hardware configuration of FIG. 14, or new components may be added. Furthermore, some or all of the functions of the control unit 201 described above may be implemented as hardware such as FPGA and SoC. Note that FPGA is an abbreviation for Field Programmable Gate Array. SoC is an abbreviation for System-on-a-Chip.

以上において、いくつかの実施形態が説明される。しかしながら、実施形態は上記の実施形態に限定されるものではなく、上述の実施形態の各種変形形態及び代替形態を包含するものとして理解されるべきである。例えば、各種実施形態は、その趣旨及び範囲を逸脱しない範囲で構成要素を変形して具体化できることが理解されよう。また、前述した実施形態に開示されている複数の構成要素を適宜組合せることにより、種々の実施形態が実施され得ることが理解されよう。更には、実施形態に示される全構成要素からいくつかの構成要素を削除して又は置換して、或いは実施形態に示される構成要素にいくつかの構成要素を追加して種々の実施形態が実施され得ることが当業者には理解されよう。 Above, several embodiments are described. However, the embodiments are not limited to the embodiments described above, but should be understood to include various modifications and alternative forms of the embodiments described above. For example, it will be understood that the various embodiments can be embodied by changing the components without departing from the spirit and scope thereof. Furthermore, it will be understood that various embodiments can be implemented by appropriately combining a plurality of components disclosed in the embodiments described above. Furthermore, various embodiments can be implemented by deleting or replacing some components from all the components shown in the embodiments, or adding some components to the components shown in the embodiments. Those skilled in the art will understand that this can be done.

101 :構成手順管理情報
200 :情報処理装置
201 :制御部
202 :記憶部
211 :特定部
212 :決定部
213 :出力部
1400 :コンピュータ
1401 :プロセッサ
1402 :メモリ
1403 :記憶装置
1404 :読取装置
1405 :着脱可能記憶媒体
1406 :通信インタフェース
1407 :入出力インタフェース
1408 :バス
101: Configuration procedure management information 200: Information processing device 201: Control unit 202: Storage unit 211: Specification unit 212: Determination unit 213: Output unit 1400: Computer 1401: Processor 1402: Memory 1403: Storage device 1404: Reading device 1405: Removable storage medium 1406: Communication interface 1407: Input/output interface 1408: Bus

Claims (5)

システム構成とテスト手順とを対応づける構成手順情報を複数含む構成手順管理情報に基づいて特定されるシステム構成間で共通する共通構成要素のうちで、テスト手順の生成対象のシステム構成に含まれる構成要素よりも要素数が少なく且つ前記生成対象のシステム構成に含まれる前記構成要素を最も多く有する共通構成要素を有する第1のシステム構成および第2のシステム構成を特定し、
第3のシステム構成であって、前記生成対象のシステム構成に含まれる前記構成要素と前記共通構成要素との差分の構成要素を追加すると第4のシステム構成へと変更される関係を有する前記第3のシステム構成および前記第4のシステム構成を、前記構成手順管理情報に基づいて特定し、
前記第1のシステム構成と前記第2のシステム構成とで共通している共通テスト項目と、前記第4のシステム構成のテスト項目のうちで前記第3のシステム構成のテスト項目に含まれていない追加テスト項目とに基づいて、前記生成対象のシステム構成と対応するテスト項目を決定し、
構成要素の組合せに応じて実行される組合せテスト項目の情報を含む属性情報に基づいて、前記組合せテスト項目が、他のテスト項目よりも後ろに配置されるように前記生成対象のシステム構成と対応するテスト項目を並べたテスト手順を出力する、
処理をコンピュータに実行させる生成プログラム。
Configurations that are included in the system configuration for which test procedures are generated, among common components that are common between system configurations that are identified based on configuration procedure management information that includes multiple pieces of configuration procedure information that associate system configurations and test procedures. identifying a first system configuration and a second system configuration having a common component that has a smaller number of elements than the element and has the largest number of the components included in the system configuration to be generated;
The third system configuration has a relationship in which the system configuration is changed to a fourth system configuration when a difference component between the component included in the system configuration to be generated and the common component is added. identifying the system configuration of No. 3 and the fourth system configuration based on the configuration procedure management information;
A common test item that is common to the first system configuration and the second system configuration, and a test item that is not included in the test item of the third system configuration among the test items of the fourth system configuration. determining test items corresponding to the system configuration to be generated based on the additional test items;
The combination test item corresponds to the system configuration to be generated so that it is placed after other test items based on attribute information including information on a combination test item to be executed according to a combination of components. Outputs a test procedure listing the test items to be tested.
A generation program that causes a computer to perform a process.
更に、前記構成手順管理情報に含まれる構成手順情報のうちで、第1の構成手順情報のシステム構成から第2の構成手順情報のシステム構成への変更と、第3の構成手順情報のシステム構成から第4の構成手順情報のシステム構成への変更とで、追加される構成要素が異なっているにもかかわらず同じテスト項目が追加される場合に、前記同じテスト項目を前記組合せテスト項目と判定する、処理をコンピュータに実行させる、請求項1に記載の生成プログラム。 Furthermore, among the configuration procedure information included in the configuration procedure management information, the system configuration of the first configuration procedure information is changed to the system configuration of the second configuration procedure information, and the system configuration of the third configuration procedure information is changed. When the same test item is added even though the added components are different due to the change to the system configuration of the fourth configuration procedure information, the same test item is determined to be the combination test item. The generation program according to claim 1, which causes a computer to execute the process. 更に、前記構成手順管理情報に含まれる複数の構成手順情報のテスト手順において、前記組合せテスト項目と判定されたテスト項目よりも後ろに配置されているテスト項目を、前記組合せテスト項目と判定する、処理をコンピュータに実行させる請求項2に記載の生成プログラム。 Further, in the test procedure of the plurality of configuration procedure information included in the configuration procedure management information, a test item placed after the test item determined to be the combination test item is determined to be the combination test item. The generation program according to claim 2, which causes a computer to execute the processing. システム構成とテスト手順とを対応づける構成手順情報を複数含む構成手順管理情報に基づいて特定されるシステム構成間で共通する共通構成要素のうちで、テスト手順の生成対象のシステム構成に含まれる構成要素よりも要素数が少なく且つ前記生成対象のシステム構成に含まれる前記構成要素を最も多く有する共通構成要素を有する第1のシステム構成および第2のシステム構成を特定し、
第3のシステム構成であって、前記生成対象のシステム構成に含まれる前記構成要素と前記共通構成要素との差分の構成要素を追加すると第4のシステム構成へと変更される関係を有する前記第3のシステム構成および前記第4のシステム構成を、前記構成手順管理情報に基づいて特定し、
前記第1のシステム構成と前記第2のシステム構成とで共通している共通テスト項目と、前記第4のシステム構成のテスト項目のうちで前記第3のシステム構成のテスト項目に含まれていない追加テスト項目とに基づいて、前記生成対象のシステム構成と対応するテスト項目を決定し、
構成要素の組合せに応じて実行される組合せテスト項目の情報を含む属性情報に基づいて、前記組合せテスト項目が、他のテスト項目よりも後ろに配置されるように前記生成対象のシステム構成と対応するテスト項目を並べたテスト手順を出力する、
ことを含む、コンピュータが実行する生成方法。
Configurations that are included in the system configuration for which test procedures are generated, among common components that are common between system configurations that are identified based on configuration procedure management information that includes multiple pieces of configuration procedure information that associate system configurations and test procedures. identifying a first system configuration and a second system configuration having a common component that has a smaller number of elements than the element and has the largest number of the components included in the system configuration to be generated;
The third system configuration has a relationship in which the system configuration is changed to a fourth system configuration when a difference component between the component included in the system configuration to be generated and the common component is added. identifying the system configuration of No. 3 and the fourth system configuration based on the configuration procedure management information;
A common test item that is common to the first system configuration and the second system configuration, and a test item that is not included in the test item of the third system configuration among the test items of the fourth system configuration. determining test items corresponding to the system configuration to be generated based on the additional test items;
The combination test item corresponds to the system configuration to be generated so that it is placed after other test items based on attribute information including information on a combination test item to be executed according to a combination of components. Outputs a test procedure listing the test items to be tested.
computer-implemented generation methods, including
システム構成とテスト手順とを対応づける構成手順情報を複数含む構成手順管理情報に基づいて特定されるシステム構成間で共通する共通構成要素のうちで、テスト手順の生成対象のシステム構成に含まれる構成要素よりも要素数が少なく且つ前記生成対象のシステム構成に含まれる前記構成要素を最も多く有する共通構成要素を有する第1のシステム構成および第2のシステム構成を特定し、および第3のシステム構成であって、前記生成対象のシステム構成に含まれる前記構成要素と前記共通構成要素との差分の構成要素を追加すると第4のシステム構成へと変更される関係を有する前記第3のシステム構成および前記第4のシステム構成を、前記構成手順管理情報に基づいて特定する、特定部と、
前記第1のシステム構成と前記第2のシステム構成とで共通している共通テスト項目と、前記第4のシステム構成のテスト項目のうちで前記第3のシステム構成のテスト項目に含まれていない追加テスト項目とに基づいて、前記生成対象のシステム構成と対応するテスト項目を決定する決定部と、
構成要素の組合せに応じて実行される組合せテスト項目の情報を含む属性情報に基づいて、前記組合せテスト項目が、他のテスト項目よりも後ろに配置されるように前記生成対象のシステム構成と対応するテスト項目を並べたテスト手順を出力する出力部と、
を含む、情報処理装置。
Configurations that are included in the system configuration for which test procedures are generated, among common components that are common between system configurations that are identified based on configuration procedure management information that includes multiple pieces of configuration procedure information that associate system configurations and test procedures. identifying a first system configuration and a second system configuration having a common component that has a smaller number of elements than the element and having the largest number of the components included in the system configuration to be generated; and a third system configuration. the third system configuration having a relationship that when a difference component between the component included in the system configuration to be generated and the common component is added, the system configuration is changed to a fourth system configuration; a specifying unit that specifies the fourth system configuration based on the configuration procedure management information;
A common test item that is common to the first system configuration and the second system configuration, and a test item that is not included in the test item of the third system configuration among the test items of the fourth system configuration. a determining unit that determines a test item corresponding to the system configuration to be generated based on the additional test item;
The combination test item corresponds to the system configuration to be generated so that it is placed after other test items based on attribute information including information on a combination test item to be executed according to a combination of components. an output unit that outputs a test procedure listing test items to be tested;
Information processing equipment, including.
JP2019163836A 2019-09-09 2019-09-09 Generation program, generation method, and information processing device Active JP7367410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019163836A JP7367410B2 (en) 2019-09-09 2019-09-09 Generation program, generation method, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019163836A JP7367410B2 (en) 2019-09-09 2019-09-09 Generation program, generation method, and information processing device

Publications (2)

Publication Number Publication Date
JP2021043582A JP2021043582A (en) 2021-03-18
JP7367410B2 true JP7367410B2 (en) 2023-10-24

Family

ID=74864122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019163836A Active JP7367410B2 (en) 2019-09-09 2019-09-09 Generation program, generation method, and information processing device

Country Status (1)

Country Link
JP (1) JP7367410B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578499B (en) * 2023-07-13 2023-09-22 建信金融科技有限责任公司 Intelligent analysis and test method and system for public component function change influence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252167A (en) 2008-04-10 2009-10-29 Ricoh Co Ltd Test item creation device, test item creation system, test item creation method and test item creation program
JP2015207059A (en) 2014-04-17 2015-11-19 富士通株式会社 Procedure creation program, procedure creation method, and procedure creation device
JP2017111533A (en) 2015-12-15 2017-06-22 富士通株式会社 Control program, control apparatus, and control method
WO2018174223A1 (en) 2017-03-23 2018-09-27 日本電気株式会社 Operation management server, development operation support system, method thereof and non-transient computer readable medium storing program thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252167A (en) 2008-04-10 2009-10-29 Ricoh Co Ltd Test item creation device, test item creation system, test item creation method and test item creation program
JP2015207059A (en) 2014-04-17 2015-11-19 富士通株式会社 Procedure creation program, procedure creation method, and procedure creation device
JP2017111533A (en) 2015-12-15 2017-06-22 富士通株式会社 Control program, control apparatus, and control method
WO2018174223A1 (en) 2017-03-23 2018-09-27 日本電気株式会社 Operation management server, development operation support system, method thereof and non-transient computer readable medium storing program thereof

Also Published As

Publication number Publication date
JP2021043582A (en) 2021-03-18

Similar Documents

Publication Publication Date Title
JP6954003B2 (en) Determining device and method of convolutional neural network model for database
US10437574B2 (en) System and method for providing code completion features for code modules
US8601459B2 (en) Control structure refinement of loops using static analysis
JP6925433B2 (en) Data validation device, data validation method and data validation program
US8000951B2 (en) Timing analysis method and apparatus for enhancing accuracy of timing analysis and improving work efficiency thereof
JP7367410B2 (en) Generation program, generation method, and information processing device
Sargsyan et al. Directed fuzzing based on program dynamic instrumentation
US6792581B2 (en) Method and apparatus for cut-point frontier selection and for counter-example generation in formal equivalence verification
US7512923B2 (en) Automatic estimation method, apparatus, and recording medium
US8015523B2 (en) Method and system for sequential netlist reduction through trace-containment
US8713509B2 (en) Circuit design approximation
EP4258121A1 (en) Program detection method and device
JP2019133534A (en) Merging method, merging device, and merging program
KR101534493B1 (en) Source code security weakness detection apparatus and method based on structure conversion
US20040163078A1 (en) Method for rapidly prototyping, testing and verifying application software
US10345378B2 (en) Apparatus and method for performing a scalability check on a hardware description language representation of a circuit
US20210056241A1 (en) Design support device and computer readable medium
Mathaikutty et al. SoC design space exploration through automated IP selection from systemC IP library
JP6583033B2 (en) Driver generation program, apparatus, and method
US10620922B2 (en) Compiler platform for test method
US10545742B2 (en) Annotation-driven framework for generating state machine updates
JP6107488B2 (en) Directed graph generation method, directed graph generation program, and directed graph generation device
US8584063B1 (en) Assertion-based design partitioning
US20220121819A1 (en) Unsupervised embedding methods for similarity based industrial component model requesting systems
JP6926921B2 (en) Compile program, compilation method and parallel processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230531

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230912

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230925

R150 Certificate of patent or registration of utility model

Ref document number: 7367410

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150