JP2011028313A - Automatic verification item generation device - Google Patents

Automatic verification item generation device Download PDF

Info

Publication number
JP2011028313A
JP2011028313A JP2009170277A JP2009170277A JP2011028313A JP 2011028313 A JP2011028313 A JP 2011028313A JP 2009170277 A JP2009170277 A JP 2009170277A JP 2009170277 A JP2009170277 A JP 2009170277A JP 2011028313 A JP2011028313 A JP 2011028313A
Authority
JP
Japan
Prior art keywords
verification
verification item
conceptual
functions
items
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.)
Pending
Application number
JP2009170277A
Other languages
Japanese (ja)
Inventor
Tomomi Katsumata
ともみ 勝又
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2009170277A priority Critical patent/JP2011028313A/en
Publication of JP2011028313A publication Critical patent/JP2011028313A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic verification item generation device for achieving efficient verification without omission. <P>SOLUTION: This automatic verification item generation device (100) for automatically generating verification items of a system that is a development target based on a specification of the system includes: a conceptual function extraction means (10) extracting conceptual functions based the specification; a constituent element-like function extraction means (11) extracting constituent element-like functions constituting each of the conceptual functions based on the specification; a verification item setting means (12) setting each of the constituent element-like functions as the verification item; and a priority order determination means (13) determining priority order of the verification items based on a duplication degree of each of the constituent element-like functions capable of being duplicately used in each of the conceptual functions. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、開発対象となるシステムの検証項目をそのシステムの仕様に基づいて自動生成するための検証項目自動生成装置に関し、特に、コンピュータ読み取り可能なそのシステムの仕様に基づいて優先順位が付された検証項目を自動生成するための検証項目自動生成装置に関する。   The present invention relates to a verification item automatic generation apparatus for automatically generating verification items of a system to be developed based on the specifications of the system, and in particular, priorities are assigned based on the specifications of the system that can be read by a computer. The present invention relates to a verification item automatic generation apparatus for automatically generating verification items.

従来、UML(Unified Modeling Language)で定義されるユースケースと二つのユースケース間の関係を示す関連情報とから成るユースケース図に基づいて各ユースケースが表す機能の検証に優先度を設定し優先度の高い機能の検証を優先させることによって、開発対象の検証作業の効率化を図るようにした検証支援装置が知られている(例えば、特許文献1参照。)。   Conventionally, priorities were set for the verification of functions represented by each use case based on a use case diagram consisting of use cases defined in UML (Unified Modeling Language) and related information indicating the relationship between two use cases. A verification support apparatus is known in which priority is given to verification of a high-level function so as to improve the efficiency of verification work of a development target (see, for example, Patent Document 1).

この検証支援装置は、各ユースケースの上下関係(包含関係)を把握し、最上位のユースケースの優先度を所定の基準値として設定しながら他のユースケースの優先度をその基準値からの差として表し、ユースケースが下位概念になるほど機能も複雑化するとして、最下位のユースケースの優先度が最も高くなるように設定し、更に、その優先度を検証者に提示することによって、検証者がどの検証項目を優先して検証するかを決定できるようにする。   This verification support device grasps the hierarchical relationship (inclusion relationship) of each use case, sets the priority of the highest use case as a predetermined reference value, and sets the priority of other use cases from the reference value. Expressed as a difference, the function becomes more complex as the use case becomes a subordinate concept, and the priority is set so that the lowest use case has the highest priority, and further, the priority is presented to the verifier. Enable a person to decide which verification items have priority for verification.

また、検証対象のシステム影響度とその業務影響度とに基づいてそのリスク度を決定し、そのリスク度と検証対象毎に予め決定されたテストシナリオとに基づいてそのテストシナリオの優先度を決定し、更に、その優先度をテスト計画立案者に提示することによって、そのテスト計画立案者がどのテストシナリオをどのような順番でテストするか、或いは、テストケースの深さ(テストケースのパターンの数)をどのようにするかを決定できるようにする情報処理装置が知られている(例えば、特許文献2参照。)。   Also, the degree of risk is determined based on the system impact level to be verified and the business impact level, and the priority of the test scenario is determined based on the risk level and a test scenario predetermined for each verification target. In addition, by presenting the priority to the test planner, the test planner determines which test scenario to test in what order, or the test case depth (the test case pattern There is known an information processing apparatus that can determine how the number is to be determined (see, for example, Patent Document 2).

特開2006−252489号公報JP 2006-252489 A 特開2007−226526号公報JP 2007-226526 A

しかしながら、特許文献1に記載の検証支援装置は、開発対象の各機能の間の上下関係を考慮した、各機能に関する検証項目とその優先度とを関連付けた検証項目リストを検証者に提供するが、複雑さの増した下位のユースケースの優先度が高くなるように設定してその下位のユースケースの検証を優先させるので、検証者がその優先度に従って下位のユースケースの検証を先行して行った後、後続の上位のユースケースの検証で不具合が発見された場合には、既に成功裏に行われた下位のユースケースに対する検証結果を無意味なものにしてしまうこととなる。   However, the verification support apparatus described in Patent Literature 1 provides a verifier with a verification item list in which verification items related to each function and their priorities are associated with each other in consideration of the vertical relationship between the functions to be developed. Since the priority of lower-level use cases is prioritized by setting the priority of lower-level use cases with increased complexity, the verifier will precede the verification of lower-level use cases according to the priority. If a failure is found in the subsequent upper use case verification after the execution, the verification result for the lower use case that has already been successfully performed becomes meaningless.

また、特許文献2に記載の情報処理装置は、複数の検証対象を包含するシステムに関連する業務に対する各検証対象の影響度を考慮した、各検証対象に一対一で対応するテストシナリオの望ましい実行順をテスト計画立案者に提供するが、各検証対象の機能的なつながりを考慮していないため、実行順の遅いテストシナリオで不具合を発見した場合には、既に成功裏に行われた実行順の早いテストシナリオの検証結果を無意味なものにしてしまうこととなる。   In addition, the information processing apparatus described in Patent Document 2 desirably executes a test scenario corresponding to each verification target on a one-to-one basis, taking into consideration the degree of influence of each verification target on a task related to a system including a plurality of verification targets. The order is provided to the test planner, but since the functional connection of each verification target is not considered, if a failure is found in a test scenario with a slow execution order, the execution order that has already been performed successfully This would make the verification result of a quick test scenario meaningless.

上述の点に鑑み、本発明は、効率的で漏れのない検証を実現させる検証項目自動生成装置を提供することを目的とする。   In view of the above points, an object of the present invention is to provide a verification item automatic generation device that realizes efficient and leak-free verification.

上述の目的を達成するために、本発明の実施例に係る検証項目自動生成装置は、開発対象となるシステムの検証項目を該システムの仕様に基づいて自動生成するための検証項目自動生成装置であって、前記仕様に基づいて概念的機能を抽出する概念的機能抽出手段と、前記仕様に基づいて前記概念的機能のそれぞれを構成する構成要素的機能を抽出する構成要素的機能抽出手段と、前記構成要素的機能のそれぞれを前記検証項目として設定する検証項目設定手段と、前記概念的機能のそれぞれで重複して使用され得る前記構成要素的機能のそれぞれの重複度合いに基づいて前記検証項目の優先順位を決定する優先順位決定手段と、を備えることを特徴とする。   In order to achieve the above object, an automatic verification item generation apparatus according to an embodiment of the present invention is an automatic verification item generation apparatus for automatically generating a verification item of a system to be developed based on the specification of the system. A conceptual function extracting means for extracting a conceptual function based on the specification; and a component function extracting means for extracting a component function constituting each of the conceptual functions based on the specification; Verification item setting means for setting each of the component function as the verification item, and the verification item based on the degree of overlap of the component function that can be used redundantly in each of the conceptual functions Priority order determining means for determining the priority order.

また、本発明の実施例に係る検証項目自動生成装置は、前記検証項目を検証者が視認できるように出力する検証項目出力手段を更に備え、前記検証項目出力手段は、優先順位のより高い検証項目がより容易に検証者に認識されるように検証項目のリストを出力するようにしてもよい。   Further, the verification item automatic generation apparatus according to the embodiment of the present invention further includes verification item output means for outputting the verification item so that a verifier can visually recognize the verification item, and the verification item output means has a higher priority order verification. A list of verification items may be output so that the items are more easily recognized by the verifier.

また、本発明の実施例に係る検証項目自動生成装置は、前記仕様に基づいて前記検証項目のそれぞれに対応するテストパターンを生成するテストパターン生成手段を更に備え、前記テストパターン生成手段は、前記検証項目のそれぞれの優先順位に基づいて、テストパターン数又はテスト網羅率を決定するようにしてもよい。   In addition, the verification item automatic generation device according to the embodiment of the present invention further includes a test pattern generation unit that generates a test pattern corresponding to each of the verification items based on the specification, and the test pattern generation unit includes the test pattern generation unit, The number of test patterns or the test coverage rate may be determined based on the priority of each verification item.

また、本発明の実施例に係る検証項目自動生成装置において、前記検証項目出力手段は、前記検証項目のそれぞれに対応するテストパターンを前記検証項目のそれぞれに対応付けて出力するようにしてもよい。   Further, in the verification item automatic generation apparatus according to the embodiment of the present invention, the verification item output means may output a test pattern corresponding to each of the verification items in association with each of the verification items. .

上述の手段により、本発明は、効率的で漏れのない検証を実現させる検証項目自動生成装置を提供することができる。   With the above-described means, the present invention can provide an automatic verification item generation device that realizes efficient and leak-free verification.

本発明に係る検証項目自動生成装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the verification item automatic generation apparatus which concerns on this invention. 概念的機能と構成要素的機能との間の関係を概略的に示す図である。FIG. 6 schematically illustrates a relationship between a conceptual function and a component function. 検証項目自動生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a verification item automatic generation process.

以下、図面を参照しつつ、本発明を実施するための最良の形態の説明を行う。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.

図1は、本発明に係る検証項目自動生成装置の構成例を示すブロック図であり、検証項目自動生成装置100は、開発対象となるシステムに関するコンピュータ読み取り可能な制御仕様に基づいてそのシステムの検証者が視認可能な検証項目に関する情報を生成して提示する装置であり、制御部1、仕様取得部2、及び出力部3で構成される。なお、開発対象となるシステムは、ハードウェアによって実現されるシステム、ソフトウェアによって実現されるシステム、又は、ハードウェア及びソフトウェアの組み合わせによって実現されるシステムの何れであってもよい。   FIG. 1 is a block diagram illustrating a configuration example of a verification item automatic generation device according to the present invention. The verification item automatic generation device 100 verifies the system based on a computer-readable control specification related to a system to be developed. This is a device that generates and presents information related to verification items that can be viewed by a person. The system to be developed may be any of a system realized by hardware, a system realized by software, or a system realized by a combination of hardware and software.

制御部1は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を備えたコンピュータであって、例えば、それぞれ詳細が後述される、概念的機能抽出手段10、構成要素的機能抽出手段11、検証項目設定手段12、優先順位決定手段13、テストパターン生成手段14、及び検証項目出力手段15のそれぞれに対応するプログラムをROMに記憶しながら、各手段に対応する処理をCPUに実行させる。   The control unit 1 is a computer including a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like. A program corresponding to each of the component function extracting unit 11, the verification item setting unit 12, the priority order determination unit 13, the test pattern generation unit 14, and the verification item output unit 15 is stored in the ROM, and each unit is supported. Causes the CPU to execute processing.

仕様取得部2は、開発対象となるシステムに関するコンピュータ読み取り可能な仕様を取得するための装置であり、例えば、ハードディスクドライブ、DVD(Digital Versatile Disk)ドライブ、半導体メモリ、通信インターフェース等であり、任意の記録媒体に記録された仕様を各記録媒体に対応するドライブを介して或いは通信ネットワークを通じて取得する。   The specification acquisition unit 2 is a device for acquiring computer-readable specifications related to a system to be developed, such as a hard disk drive, a DVD (Digital Versatile Disk) drive, a semiconductor memory, a communication interface, etc. The specifications recorded on the recording medium are acquired through a drive corresponding to each recording medium or through a communication network.

出力部3は、各種情報を出力するための装置であり、例えば、ディスプレイ、プリンタ、スピーカ等であって、検証項目自動生成装置100が生成した検証項目のリストやテストパターン等を検証者が認識できるように出力する。   The output unit 3 is a device for outputting various types of information. For example, a display, a printer, a speaker, and the like, and a verifier recognizes a list of test items, a test pattern, and the like generated by the verification item automatic generation device 100. Output as much as possible.

次に、制御部1が有する各種手段について説明する。   Next, various units included in the control unit 1 will be described.

概念的機能抽出手段10は、開発対象となるシステムの概念的機能をその開発対象となるシステムに関するコンピュータ読み取り可能な仕様から抽出するための手段である。   The conceptual function extracting unit 10 is a unit for extracting a conceptual function of a system to be developed from a computer-readable specification regarding the system to be developed.

なお、本書において、「概念的機能」は、開発対象となるシステムの利用者又はそのシステムの検証者が概念的に認識可能なそのシステムの各種機能を意味し、例えば、複数のステータスを取り得る昇圧システムを開発対象システムとした場合、所定の条件下で特定のステータスに移行するというその昇圧システムの機能を意味する。   In this document, “conceptual function” means various functions of the system that can be conceptually recognized by the user of the system to be developed or the verifier of the system, and can have, for example, a plurality of statuses. When the boosting system is a development target system, it means a function of the boosting system that shifts to a specific status under a predetermined condition.

概念的機能抽出手段10は、例えば、仕様取得部2を介して取得される、その開発対象となるシステムに関するコンピュータ読み取り可能な仕様を取得し、その仕様のフォーマットに対応する仕様解析アルゴリズムを用いて概念的機能を抽出する。   The conceptual function extraction unit 10 acquires, for example, a computer-readable specification regarding the system to be developed, acquired through the specification acquisition unit 2, and uses a specification analysis algorithm corresponding to the format of the specification. Extract conceptual functions.

構成要素的機能抽出手段11は、開発対象となるシステムに関するコンピュータ読み取り可能な仕様に基づいてそのシステムの概念的機能のそれぞれを構成する構成要素的機能を抽出するための手段である。   The component function extracting unit 11 is a unit for extracting a component function constituting each of the conceptual functions of the system based on a computer readable specification regarding the system to be developed.

本書において、「構成要素的機能」は、概念的機能のそれぞれを実現するために必要な構成要素(ハードウェア及びソフトウェアを含む。)の機能を意味し、例えば、複数のステータスを取り得る昇圧システムを開発対象システムとした場合、その昇圧システムを特定のステータスに移行させるために必要な各構成要素の機能を意味する。   In this document, “component function” means a function of a component (including hardware and software) necessary to realize each of the conceptual functions. For example, the boosting system can take a plurality of statuses. Is a development target system, it means the function of each component necessary to shift the boosting system to a specific status.

図2は、概念的機能と構成要素的機能との間の関係を概略的に示す図であり、開発対象となるシステムが四つの概念的機能A〜Dとソフトウェアで構成される九つの構成要素的機能a〜iとで構成されている状態を示す。   FIG. 2 is a diagram schematically showing a relationship between a conceptual function and a component function, and nine components in which a system to be developed is composed of four conceptual functions A to D and software The state comprised by the functional function ai is shown.

また、図2で示されるように、構成要素的機能aは、概念的機能A及びBで共用され、構成要素的機能eは、概念的機能B及びCで共用され、構成要素的機能hは、概念的機能B、C及びDで共用され、構成要素的機能iは、概念的機能A〜Dの全てで共用される。なお、構成要素的機能d、gは、概念的機能Aのみで使用され、構成要素的機能bは、概念的機能Cのみで使用され、構成要素的機能c、fは、概念的機能Dのみで使用される。   Also, as shown in FIG. 2, the component function a is shared by the conceptual functions A and B, the component function e is shared by the conceptual functions B and C, and the component function h is Are shared by the conceptual functions B, C and D, and the component function i is shared by all of the conceptual functions A to D. The component functions d and g are used only for the conceptual function A, the component function b is used only for the conceptual function C, and the component functions c and f are only the conceptual function D. Used in.

このように、開発対象となるシステムの概念的機能は、複数の構成要素的機能の組み合わせで構成され、それら構成要素的機能は、複数の概念的機能において共用され得るものである。   Thus, the conceptual function of the system to be developed is configured by a combination of a plurality of component functions, and these component functions can be shared by the plurality of conceptual functions.

例えば図2を例に取ると、構成要素的機能抽出手段11は、その開発対象となるシステムに関するコンピュータ読み取り可能な仕様を取得し、その仕様のフォーマットに対応する仕様解析アルゴリズムを用いて、構成要素的機能a〜iを抽出し、概念的機能Aが構成要素的機能a、d、g、及びiで構成されることを認識する。   For example, taking FIG. 2 as an example, the component-like function extracting means 11 acquires a computer-readable specification related to the system to be developed, and uses the specification analysis algorithm corresponding to the format of the specification to obtain the component. Recognize that the conceptual functions A to i are extracted and the conceptual function A is composed of the component functions a, d, g, and i.

同様に、構成要素的機能抽出手段11は、概念的機能Bが構成要素的機能a、e、h、及びiで構成されること、概念的機能Cが構成要素的機能b、e、h、及びiで構成されること、並びに、概念的機能Dが構成要素的機能c、f、h、及びiで構成されることを認識する。   Similarly, the component function extracting means 11 is configured such that the conceptual function B is configured by the component functions a, e, h, and i, and the conceptual function C is configured by the component functions b, e, h, And that the conceptual function D is composed of the component functions c, f, h, and i.

検証項目設定手段12は、開発対象となるシステムの検証項目を設定するための手段であり、例えば、構成要素的機能抽出手段11が抽出した構成要素的機能のそれぞれが仕様通りに動作するか否かを検証項目として設定する。   The verification item setting unit 12 is a unit for setting a verification item of the system to be developed. For example, whether or not each of the component functions extracted by the component function extraction unit 11 operates as specified. Is set as a verification item.

例えば図2を例に取ると、検証項目設定手段12は、構成要素的機能抽出手段11によって抽出された九つの構成要素的機能a〜iのそれぞれが仕様通りに動作するか否かを検証項目として設定する。   For example, taking FIG. 2 as an example, the verification item setting means 12 verifies whether each of the nine constituent functions a to i extracted by the constituent function extracting means 11 operates as specified. Set as.

優先順位決定手段13は、検証項目の優先順位を決定するための手段であり、例えば、概念的機能抽出手段10が抽出した概念的機能のそれぞれで使用される、構成要素的機能抽出手段11が抽出した構成要素的機能のそれぞれの重複度合いに基づいて、検証項目設定手段12が設定した検証項目のそれぞれの優先順位を決定する。   The priority order determining means 13 is a means for determining the priority order of the verification items. For example, the component function extracting means 11 used for each conceptual function extracted by the conceptual function extracting means 10 Based on the degree of duplication of each extracted component function, the priority of each verification item set by the verification item setting means 12 is determined.

本書において、「優先順位」は、検証項目の重要度を表す指標であり、優先順位が高い程その検証項目が重要であり、より優先的により多くのテストパターンを用いて検証されるべきであることを意味する。なお、優先順位は、各検証項目に固有の順位が与えられてもよく、複数の検証項目に共通する順位が与えられてもよい。   In this document, “priority” is an index that indicates the importance of verification items. The higher the priority, the more important the verification item, and the more priority should be given to verify the test items. Means that. As the priority order, a unique order may be given to each verification item, or a common order may be given to a plurality of verification items.

また、「重複度合い」は、構成要素的機能のそれぞれが複数の概念的機能で共用される度合いを意味し、一の構成要素的機能を共用する概念的機能の数が多いほど重複度合いが高くなるものとする。   In addition, “degree of duplication” means the degree to which each component function is shared by a plurality of conceptual functions. The greater the number of conceptual functions that share one component function, the higher the degree of duplication. Shall be.

例えば図2を例に取ると、優先順位決定手段13は、概念的機能A〜Dの四つ全ての概念的機能で共用される構成要素的機能iに最も高い優先順位を与え、次いで、概念的機能B〜Dの三つの概念的機能で共用される構成要素的機能hに二番目に高い優先順位を与え、次いで、概念的機能A、Bの二つの概念的機能で共用される構成要素的機能a、及び、概念的機能B、Cの二つの概念的機能で共用される構成要素的機能eのそれぞれに三番目に高い優先順位を与え、最後に、単一の概念的機能でのみ使用される構成要素的機能b、c、d、f、gのそれぞれに最も低い優先順位を与えるようにする。   For example, taking FIG. 2 as an example, the priority determining means 13 gives the highest priority to the component function i shared by all four conceptual functions A to D, and then the concept. The component function h shared by the three conceptual functions B to D is given the second highest priority, and then the component shared by the two conceptual functions A and B. Each of the component functions e shared by the two conceptual functions of the functional function a and the conceptual functions B and C is given the third highest priority, and finally, only in a single conceptual function The lowest priority is given to each of the component functions b, c, d, f, g used.

テストパターン生成手段14は、検証項目のそれぞれに対応するテストパターンを生成するための手段であり、例えば、その開発対象となるシステムに関するコンピュータ読み取り可能な仕様に基づいて、検証項目設定手段12が設定した検証項目のそれぞれに対応するテストパターンを生成する。   The test pattern generation unit 14 is a unit for generating a test pattern corresponding to each of the verification items. For example, the verification item setting unit 12 sets the test pattern based on a computer-readable specification related to the system to be developed. A test pattern corresponding to each verification item is generated.

また、テストパターン生成手段14は、優先順位決定手段13が決定した各検証項目の優先順位に基づいて、テストパターン数、又は、テスト網羅率を決定するようにしてもよい。   Further, the test pattern generation unit 14 may determine the number of test patterns or the test coverage rate based on the priority order of each verification item determined by the priority order determination unit 13.

本書において、「テスト網羅率」は、検証対象である検証項目(構成要素的機能)の全動作に占める、テストパターンによって検証される動作の割合を意味し、検証項目がソフトウェアで実現される場合のコード網羅率を含む概念である。   In this document, “test coverage rate” means the ratio of the operation verified by the test pattern to the total operation of the verification item (component function) to be verified. When the verification item is realized by software This is a concept that includes the code coverage rate.

例えば図2を例に取ると、テストパターン生成手段14は、最も優先順位が高い構成要素的機能iに対しては、命令網羅率(C0)、分岐網羅率(C1)、及び条件網羅率(C2)の全てが100%となるようテストパターンを生成し、二番目に優先順位が高い構成要素的機能hに対しては、命令網羅率(C0)及び分岐網羅率(C1)が100%、条件網羅率(C2)が50%となるようテストパターンを生成し、三番目に優先順位が高い構成要素的機能a、eに対しては、命令網羅率(C0)が100%、分岐網羅率(C1)が50%となるようテストパターンを生成し、最も優先順位が低い構成要素的機能b、c、d、f、gに対しては、命令網羅率(C0)のみが100%となるようテストパターンを生成する。   For example, taking FIG. 2 as an example, the test pattern generation means 14 has the instruction coverage ratio (C0), the branch coverage ratio (C1), and the condition coverage ratio ( The test pattern is generated so that all of C2) are 100%, and the instruction coverage rate (C0) and the branch coverage rate (C1) are 100% for the component function h having the second highest priority, A test pattern is generated so that the condition coverage ratio (C2) is 50%, and the instruction coverage ratio (C0) is 100% and the branch coverage ratio for the component functions a and e having the third highest priority. A test pattern is generated so that (C1) is 50%, and only the instruction coverage (C0) is 100% for the component functions b, c, d, f, and g having the lowest priority. Generate a test pattern.

また、テストパターン生成処理14は、通常処理に対するテストパターン数が例外処理に対するテストパターン数よりも多くなるように、各検証項目に対するテストパターン数を決定するようにしてもよい。   The test pattern generation process 14 may determine the number of test patterns for each verification item so that the number of test patterns for the normal process is larger than the number of test patterns for the exception process.

検証項目出力手段15は、開発対象となるシステムの検証項目を検証者が認識できるように出力するための手段であり、例えば、優先順位の高い検証項目がより容易に検証者に視認されるよう、優先順位の高い検証項目が出力先である紙やディスプレイの上部に配置されるように検証項目のリストを出力部3であるプリンタやディスプレイに出力させる。   The verification item output means 15 is a means for outputting the verification items of the system to be developed so that the verifier can recognize the verification items. For example, the verification items with high priority are more easily seen by the verifier. Then, a list of verification items is output to the printer or display as the output unit 3 so that the verification items with high priority are arranged on the paper or display as the output destination.

また、検証項目出力手段15は、優先順位の高い検証項目がより容易に検証者に視認されるよう、文字の大きさ、文字位置、文字色等を変化させるようにしてもよい。   Further, the verification item output means 15 may change the size of the character, the character position, the character color, etc. so that the verification item with a higher priority is more easily recognized by the verifier.

更に、検証項目出力手段15は、検証項目のそれぞれと対応付けてテストパターンを出力するようにしてもよい。この場合、テストパターンは、例えば、検証対象のシステムに入力するための入力値とその入力値に対応する得られるべき出力値との組み合わせとして出力されてもよい。   Further, the verification item output means 15 may output a test pattern in association with each verification item. In this case, the test pattern may be output, for example, as a combination of an input value to be input to the system to be verified and an output value to be obtained corresponding to the input value.

次に、図3を参照しながら、検証項目自動生成装置100が検証項目のリストを検証者に提示する処理(以下、「検証項目自動生成処理」とする。)の流れについて説明する。なお、図3は、検証項目自動生成処理の流れを示すフローチャートであり、検証項目自動生成装置100は、開発対象となるシステムに関するコンピュータ読み取り可能な制御仕様を取得する度に、この検証項目自動生成処理を実行するものとする。   Next, a flow of processing in which the verification item automatic generation apparatus 100 presents a list of verification items to the verifier (hereinafter referred to as “verification item automatic generation processing”) will be described with reference to FIG. FIG. 3 is a flowchart showing the flow of the verification item automatic generation processing. The verification item automatic generation apparatus 100 automatically generates the verification item every time it acquires a computer-readable control specification related to the system to be developed. Processing shall be executed.

最初に、制御部1は、仕様取得部2を介して開発対象となるシステムに関するコンピュータ読み取り可能な制御仕様を取得する(ステップS1)。   First, the control unit 1 acquires a computer-readable control specification related to a system to be developed via the specification acquisition unit 2 (step S1).

その後、制御部1は、概念的機能抽出手段10により、仕様解析アルゴリズムを用いながら、取得した制御仕様に基づいて概念的機能を抽出する(ステップS2)。   Thereafter, the control unit 1 extracts the conceptual function based on the acquired control specification by using the conceptual function extraction means 10 by using the specification analysis algorithm (step S2).

更に、制御部1は、構成要素的機能抽出手段11により、仕様解析アルゴリズムを用いながら、取得した制御仕様に基づいて概念的機能のそれぞれを構成する構成要素的機能を抽出する(ステップS3)。   Furthermore, the control part 1 extracts the component function which comprises each conceptual function based on the acquired control specification, using the component analysis function extraction means 11 using a specification analysis algorithm (step S3).

その後、制御部1は、検証項目設定手段12により、構成要素的機能抽出手段11が抽出した構成要素的機能のそれぞれがその制御仕様通りに動作するか否かを検証項目として設定する(ステップS4)。   Thereafter, the control unit 1 sets, as verification items, whether or not each of the component functions extracted by the component function extraction unit 11 operates according to the control specifications by the verification item setting unit 12 (step S4). ).

その後、制御部1は、概念的機能抽出手段10の抽出結果と構成要素的機能抽出手段11の抽出結果とに基づいて、構成要素的機能のそれぞれの重複度合いを取得し(ステップS5)、優先順位決定手段13により、それら重複度合いに基づいて各検証項目の優先順位を決定する(ステップS6)。   Thereafter, the control unit 1 acquires the degree of duplication of each component function based on the extraction result of the conceptual function extraction means 10 and the extraction result of the component function extraction means 11 (step S5), and priority is given. The priority determination unit 13 determines the priority of each verification item based on the degree of overlap (step S6).

その後、制御部1は、検証項目出力手段15により、検証項目設定手段12が設定した検証項目を、優先順位決定手段13が決定した優先順位に従って並べ替えた上で、出力部3を介してプリント出力させたり、或いは、ディスプレイ表示させたりする(ステップS7)。   Thereafter, the control unit 1 uses the verification item output unit 15 to sort the verification items set by the verification item setting unit 12 in accordance with the priority order determined by the priority order determination unit 13, and then prints it via the output unit 3. An output is made or a display is made (step S7).

更に、制御部1は、テストパターン生成手段14により、優先順位決定手段13が決定した優先順位に応じてテストパターン数やテスト網羅率を変化させながら、取得した制御仕様に基づいて各検証項目に対応するテストパターンを生成する(ステップS8)。   Furthermore, the control unit 1 uses the test pattern generation unit 14 to change the number of test patterns and the test coverage rate according to the priority order determined by the priority order determination unit 13 and change each verification item based on the acquired control specifications. A corresponding test pattern is generated (step S8).

最後に、制御部1は、検証項目毎に分類したテストパターン(検証対象のシステムに入力する入力値とその入力値に対応する出力値との組み合わせ)をプリント出力させ、或いは、ディスプレイ表示させて(ステップS9)、この検証項目自動生成処理を終了させる。   Finally, the control unit 1 prints out the test patterns classified for each verification item (combination of input values input to the verification target system and output values corresponding to the input values) or displays them on the display. (Step S9), the verification item automatic generation process is terminated.

以上の構成により、検証項目自動生成装置100は、構成要素的機能の重複度合いに基づいて決定される優先順位に応じて検証項目を順序付けて出力するので、仮に優先順位の低い検証項目で不具合が発見された場合にも既に行われた優先順位の高い検証項目の検証を無意味なものとすることもなく、効率的で漏れのない検証を検証者に実行させることができる。   With the above configuration, the verification item automatic generation device 100 outputs the verification items in order according to the priority order determined based on the overlapping degree of the component function, so that there is a problem with the verification item having a low priority order. Even when a discovery is made, verification of a high-priority verification item that has already been performed is not made meaningless, and efficient and complete verification can be performed by the verifier.

また、検証項目自動生成装置100は、優先順位のより高い検証項目がより容易に検証者に認識されるように検証項目のリストを出力するので、検証者が優先順位のより低い検証項目を優先順位のより高い検証項目に先立って検証してしまうのを防止し、効率的で漏れのない検証を検証者に実行させることができる。   Further, the verification item automatic generation apparatus 100 outputs a list of verification items so that verification items with higher priorities are more easily recognized by the verifier. Therefore, the verifier gives priority to verification items with lower priorities. It is possible to prevent verification prior to verification items with higher ranks, and to allow the verifier to perform efficient and complete verification.

また、検証項目自動生成装置100は、検証項目のそれぞれの優先順位に基づいて、テストパターン数又はテスト網羅率を決定するので、メリハリのある効率的で漏れのない検証を検証者に実行させることができる。   Moreover, since the verification item automatic generation apparatus 100 determines the number of test patterns or the test coverage based on the priority order of each verification item, the verifier performs a clear and efficient verification without omission. Can do.

また、検証項目自動生成装置100は、検証項目のそれぞれに対応するテストパターンをそれら検証項目のそれぞれに対応付けて出力するので、検証者がテストパターンをマニュアルで作成する負担を軽減し、効率的で漏れのない検証を検証者に実行させることができる。   Further, since the verification item automatic generation apparatus 100 outputs test patterns corresponding to the verification items in association with the verification items, it reduces the burden on the verifier to manually create the test patterns, and is efficient. In this way, it is possible to have the verifier perform verification without omission.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなしに上述した実施例に種々の変形及び置換を加えることができる。   Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.

例えば、上述の実施例において、検証項目自動生成装置100は、テストパターン生成手段14により、その開発対象となるシステムに関するコンピュータ読み取り可能な仕様に基づいてテストパターンを自動的に生成するが、仕様作成者等のマニュアル入力を受け付けながらテストパターンの追加、修正、削除等を許容するようにしてもよい。   For example, in the above-described embodiment, the verification item automatic generation apparatus 100 automatically generates a test pattern based on a computer-readable specification related to the system to be developed by the test pattern generation unit 14. The test pattern may be added, modified, deleted, etc. while accepting manual input from the user.

1 制御部
2 仕様取得部
3 出力部
10 概念的機能抽出手段
11 構成要素的機能抽出手段
12 検証項目設定手段
13 優先順位決定手段
14 テストパターン生成手段
15 検証項目出力手段
100 検証項目自動生成装置
DESCRIPTION OF SYMBOLS 1 Control part 2 Specification acquisition part 3 Output part 10 Conceptual function extraction means 11 Constituent function extraction means 12 Verification item setting means 13 Priority order determination means 14 Test pattern generation means 15 Verification item output means 100 Verification item automatic generation apparatus

Claims (4)

開発対象となるシステムの検証項目を該システムの仕様に基づいて自動生成するための検証項目自動生成装置であって、
前記仕様に基づいて概念的機能を抽出する概念的機能抽出手段と、
前記仕様に基づいて前記概念的機能のそれぞれを構成する構成要素的機能を抽出する構成要素的機能抽出手段と、
前記構成要素的機能のそれぞれを前記検証項目として設定する検証項目設定手段と、
前記概念的機能のそれぞれで重複して使用され得る前記構成要素的機能のそれぞれの重複度合いに基づいて前記検証項目の優先順位を決定する優先順位決定手段と、
を備える検証項目自動生成装置。
A verification item automatic generation device for automatically generating verification items of a system to be developed based on the specifications of the system,
A conceptual function extracting means for extracting a conceptual function based on the specification;
A component function extracting means for extracting a component function constituting each of the conceptual functions based on the specification;
Verification item setting means for setting each of the component function as the verification item;
Priority order determining means for determining the priority order of the verification items based on the degree of duplication of each of the component functions that can be used redundantly in each of the conceptual functions;
A verification item automatic generation apparatus comprising:
前記検証項目を検証者が視認できるように出力する検証項目出力手段を更に備え、
前記検証項目出力手段は、優先順位のより高い検証項目がより容易に検証者に認識されるように検証項目のリストを出力する、
ことを特徴とする請求項1に記載の検証項目自動生成装置。
A verification item output means for outputting the verification item so that a verifier can visually recognize the verification item;
The verification item output means outputs a list of verification items so that verification items with higher priorities are more easily recognized by the verifier.
The verification item automatic generation apparatus according to claim 1, wherein:
前記仕様に基づいて前記検証項目のそれぞれに対応するテストパターンを生成するテストパターン生成手段を更に備え、
前記テストパターン生成手段は、前記検証項目のそれぞれの優先順位に基づいて、テストパターン数又はテスト網羅率を決定する、
ことを特徴とする請求項1又は2に記載の検証項目自動生成装置。
A test pattern generating means for generating a test pattern corresponding to each of the verification items based on the specification;
The test pattern generation means determines the number of test patterns or the test coverage based on the priority of each of the verification items.
The verification item automatic generation device according to claim 1, wherein the verification item automatic generation device is provided.
前記検証項目出力手段は、前記検証項目のそれぞれに対応するテストパターンを前記検証項目のそれぞれに対応付けて出力する、
ことを特徴とする請求項3に記載の検証項目自動生成装置。
The verification item output means outputs a test pattern corresponding to each of the verification items in association with each of the verification items;
The verification item automatic generation device according to claim 3, wherein:
JP2009170277A 2009-07-21 2009-07-21 Automatic verification item generation device Pending JP2011028313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009170277A JP2011028313A (en) 2009-07-21 2009-07-21 Automatic verification item generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009170277A JP2011028313A (en) 2009-07-21 2009-07-21 Automatic verification item generation device

Publications (1)

Publication Number Publication Date
JP2011028313A true JP2011028313A (en) 2011-02-10

Family

ID=43637028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009170277A Pending JP2011028313A (en) 2009-07-21 2009-07-21 Automatic verification item generation device

Country Status (1)

Country Link
JP (1) JP2011028313A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014091732A1 (en) * 2012-12-11 2014-06-19 日本電気株式会社 Test assistance device and test assistance method
JP2014203296A (en) * 2013-04-05 2014-10-27 富士通セミコンダクター株式会社 Verification item extraction device and verification item extraction method
WO2017145300A1 (en) * 2016-02-24 2017-08-31 三菱電機株式会社 Test case generating device and test case generating program
JP2021107782A (en) * 2019-12-27 2021-07-29 日産自動車株式会社 Design support method and design support device
US11176178B2 (en) 2017-01-31 2021-11-16 Mitsubishi Electric Corporation Requirement analysis apparatus, requirement analysis method, and computer readable medium
JPWO2022075153A1 (en) * 2020-10-05 2022-04-14

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104956336B (en) * 2012-12-11 2018-01-30 日本电气株式会社 Test holding equipment and test support method
CN104956336A (en) * 2012-12-11 2015-09-30 日本电气株式会社 Test assistance device and test assistance method
JPWO2014091732A1 (en) * 2012-12-11 2017-01-05 日本電気株式会社 Test support apparatus and test support method
WO2014091732A1 (en) * 2012-12-11 2014-06-19 日本電気株式会社 Test assistance device and test assistance method
US9792201B2 (en) 2012-12-11 2017-10-17 Nec Corporation Test support device and test support method
JP2014203296A (en) * 2013-04-05 2014-10-27 富士通セミコンダクター株式会社 Verification item extraction device and verification item extraction method
JPWO2017145300A1 (en) * 2016-02-24 2018-04-12 三菱電機株式会社 Test case generation apparatus and test case generation program
JP6289778B2 (en) * 2016-02-24 2018-03-07 三菱電機株式会社 Test case generation apparatus and test case generation program
WO2017145300A1 (en) * 2016-02-24 2017-08-31 三菱電機株式会社 Test case generating device and test case generating program
US11176178B2 (en) 2017-01-31 2021-11-16 Mitsubishi Electric Corporation Requirement analysis apparatus, requirement analysis method, and computer readable medium
JP2021107782A (en) * 2019-12-27 2021-07-29 日産自動車株式会社 Design support method and design support device
JP7395346B2 (en) 2019-12-27 2023-12-11 日産自動車株式会社 Design support method and design support device
JPWO2022075153A1 (en) * 2020-10-05 2022-04-14
WO2022075153A1 (en) * 2020-10-05 2022-04-14 三菱電機株式会社 Design review assistance device, design review assistance method, and program
JP7446467B2 (en) 2020-10-05 2024-03-08 三菱電機株式会社 Design review support device, design review support method, and program

Similar Documents

Publication Publication Date Title
JP2011028313A (en) Automatic verification item generation device
US20110016452A1 (en) Method and system for identifying regression test cases for a software
JP5350428B2 (en) Automatic program generation apparatus, method and computer program
JP5937245B1 (en) Operation procedure evaluation apparatus and operation procedure evaluation program
JP2007034833A (en) Function verification description generation device, function verification description generation method and function verification description generation program
KR20170062106A (en) System and method for combining workflow
US10042638B2 (en) Evaluating documentation coverage
JP2014026458A (en) Test case generation support device
JP2018032062A (en) Test item generation method and arithmetic unit
WO2012049816A1 (en) Model checking device, method, and program
JP2008165273A (en) Specification preparation support device and method
JP2011159202A (en) Test item generating method, device, and program
JP5755861B2 (en) Test case generation apparatus, test case generation method, and test case generation program
JP6718473B2 (en) Screen difference extraction device and program
JP2006209512A (en) Information processor
JP2009211143A (en) Information processor and information processing program
JP6661500B2 (en) Information generation system, apparatus, method, and program
JP2015148925A (en) Program generation device and method
JP2010128522A (en) Data processing apparatus, computer program thereof, and data processing method
US20100293018A1 (en) Test Model Abstraction For Testability in Product Line Engineering
JP4481037B2 (en) Test support device
JP2005115582A (en) System and method for generating test script component automatically
JP2007018205A (en) Application program execution device, application development support device, screen transitional history display device, and program
JP7215578B2 (en) Fault isolation system, method and program
JP6008404B2 (en) Information management apparatus, information management method, and program