JP2001222429A - Test item generation supporting device - Google Patents

Test item generation supporting device

Info

Publication number
JP2001222429A
JP2001222429A JP2000031688A JP2000031688A JP2001222429A JP 2001222429 A JP2001222429 A JP 2001222429A JP 2000031688 A JP2000031688 A JP 2000031688A JP 2000031688 A JP2000031688 A JP 2000031688A JP 2001222429 A JP2001222429 A JP 2001222429A
Authority
JP
Japan
Prior art keywords
equivalence class
class
equivalence
test item
test
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
JP2000031688A
Other languages
Japanese (ja)
Other versions
JP2001222429A5 (en
Inventor
Kyoko Ohashi
恭子 大橋
Rieko Yamamoto
里枝子 山本
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 JP2000031688A priority Critical patent/JP2001222429A/en
Publication of JP2001222429A publication Critical patent/JP2001222429A/en
Publication of JP2001222429A5 publication Critical patent/JP2001222429A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To support simple work and a work with many reference items and to generate only practically sufficient test items for a set type being one of the factors of the increase of test items in a test items generation supporting device for supporting a test work based on object directional design. SOLUTION: This device is provided with an equivalence class holding part for inputting and holding the equivalence class for every object, an input parameter equivalence class generating part for reading an object directional CASE tool based on UML semantics and the information of the equivalence class from the equivalence class holding part, and for reading the signature of one method, and for generating the equivalence class of the input parameter of a method to be tested, and a test item generating part for generating a test item from the equivalence class. Then, all the equivalence classes of the input parameters of methods to be tested including inheritance relations are described, and test items are generated based thereon.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はオブジェクト指向設
計に基づくテスト作業の支援を行うためのオブジェクト
指向のテスト項目生成支援装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an object-oriented test item generation support apparatus for supporting a test operation based on an object-oriented design.

【0002】ソフトウェアが様々な分野で使われ,且つ
その規模が増大するに従って,そのバグによる影響が重
大になりつつある。そこで,テスト作成の工数をできる
だけ減らすことと,バグを予め取り除くことと,必要な
テストが必ず行われることが要求されている。
[0002] As software is used in various fields and its scale increases, the effects of its bugs are becoming more serious. Therefore, it is required to reduce the number of test creation steps as much as possible, to remove bugs in advance, and to perform necessary tests without fail.

【0003】[0003]

【従来の技術】従来,アプリケーションソフトの機能テ
ストは機能仕様に基づいてテスト担当者が設計してい
た。テストの設計は開発後期になってから行われるた
め,どうしてもテスト作業全般に工数が割けられないと
いう事態になる。また,テストの設計には,対象アプリ
ケーションの理解や,経験が必要なため,経験豊富な開
発者がテスト設計に従事しなければならなかった。
2. Description of the Related Art Conventionally, a functional test of application software has been designed by a tester based on functional specifications. Since test design is performed later in the development, man-hours cannot be devoted to the entire test work. In addition, since test design requires understanding and experience of the target application, experienced developers had to work on test design.

【0004】このため,経験不足の者がテストの設計を
すると,アプリケーションの動作が変化する条件の考え
落としや,条件の組み合わせのバリエーションが十分に
作られない事態が生じる。
[0004] For this reason, if a person who has little experience designs a test, a situation may arise in which the conditions under which the operation of the application changes are overlooked, and variations in the combination of conditions are not sufficiently created.

【0005】近年,オブジェクト指向言語が出現した
後,オブジェクト指向プログラミングをするためにオブ
ジェクト指向設計が必要となり,そして,オブジェクト
指向設計をするためにオブジェクト指向分析が必要とな
った。このようなオブジェクト指向を各業種や業務に適
用するための方法論が種々提案されているが標準化され
てなく,モデルの表記法についてUML(Unified Mode
ling Language)としてOMG(Object Management Grou
p)において標準化された。
[0005] In recent years, since the emergence of the object-oriented language, object-oriented design has become necessary for object-oriented programming, and object-oriented analysis has become necessary for object-oriented design. Various methodologies for applying such object orientation to various industries and businesses have been proposed but are not standardized, and the notation of the model is described in UML (Unified Mode).
ling Language) as OMG (Object Management Grou
p).

【0006】オブジェクト指向における,オブジェクト
はデータ(状態,情報,データ構造)とデータを処理す
るための幾つかの操作を保持している。また,同じ性質
を持つオブジェクトを集めて抽象化したものをクラスと
いい,クラスは名称,属性及び操作とで構成される。オ
ブジェクトの抽象化にはデータ抽象化とスーパー抽象化
の2つのレベルがありデータ抽象化はオブジェクトから
クラスを作成するときの抽象化で,主にオブジェクトが
個々に保有している具体的な値が偶然的な性質として省
かれ,システムにとって根本的でない性質(属性)も省
かれる。それに対し,スーパー抽象化は,複数のクラス
の中で同じ性質(対象システムにとって根本的な性質が
同じ)を持ったクラス同士を更に抽象化することをい
う。スーパー抽象化したクラスをスーパークラスとい
い,その元となったクラスをサブクラスという。スーパ
ークラスには,複数のクラスの共通的な性質を定義し,
サブクラスには共通化できなかった固有の性質だけを残
して定義する。
[0006] In object orientation, an object holds data (state, information, data structure) and some operations for processing the data. An object obtained by abstracting objects having the same properties is called a class, and the class includes a name, an attribute, and an operation. There are two levels of object abstraction: data abstraction and super abstraction. Data abstraction is an abstraction when a class is created from an object. It is omitted as an accidental property, and properties (attributes) that are not fundamental to the system are also omitted. On the other hand, super abstraction refers to further abstracting classes having the same property (the same fundamental property for the target system) among a plurality of classes. A super-abstracted class is called a superclass, and the class on which it is based is called a subclass. A superclass defines common properties of multiple classes,
Subclasses are defined leaving only the unique properties that could not be standardized.

【0007】このようなオブジェクト指向によるアプリ
ケーションソフトをテストする場合,テスト対象のメソ
ッドだけでなく,関連したオブジェクトやスーパークラ
スを考慮しなければならないので,更に複雑になってい
た。
[0007] In testing such object-oriented application software, not only the method to be tested, but also related objects and superclasses have to be considered, which is further complicated.

【0008】また,テスト技法の一つとして同値分割の
手法がある。この手法は,例えば,あるアプリケーショ
ンが,引数としてint(整数) を表す「i」とString(文
字列)を表す「s」を使用するものとし,int のiがi
<0,0≦i≦100,100>iの各条件のそれぞれ
に応じてアプリケーションが異なる演算を行う場合があ
り,このようにiが分割されることを3つの場合に同値
分割するという。このように同値分割されるアプリケー
ションの動作をテストする場合,3つの各場合のそれぞ
れの代表例を一つ選んでテストすれば,その中のどの値
についても正しく動作することがチェックしたことにな
る。この例では,引数としてiだけでなくsもあり,s
についてもアプリケーションの演算が変化する場合,i
の値としてとり得る値の種類(この例では3種類)とs
として取りえる値の種類(この例では2種類とする)の
組み合わせ(この例では3×2=6組)の処理でテスト
項目を作成する。しかし,実際のアプリケーションでは
多数の引数を使用しているため,単純に組み合わせ処理
をすると,テスト項目数が膨大な数に上り,実際にはそ
れらすべてに対しテストケースを作成,実行することは
時間及び作業が膨大となり極めて困難であった。
[0008] As one of the test techniques, there is an equivalent division technique. In this method, for example, an application uses "i" representing int (integer) and "s" representing String (character string) as arguments, and i of int is i
In some cases, the application performs different calculations according to each condition of <0, 0 ≦ i ≦ 100, 100> i. Such division of i is referred to as equal division in three cases. When testing the operation of an application that is divided into equivalences in this way, if one of the representative examples in each of the three cases is selected and tested, it is confirmed that any of the values operates correctly. . In this example, there are not only i but also s as arguments, and s
If the operation of the application changes also for
Types (three types in this example) and s
Test items are created by processing of combinations of values (in this example, two types) that can be taken as (3 × 2 = 6 pairs in this example). However, since the actual application uses a large number of arguments, simply combining them results in a huge number of test items, and in fact, it takes time to create and execute test cases for all of them. In addition, the work was enormous and extremely difficult.

【0009】[0009]

【発明が解決しようとする課題】テスト設計作業には,
オブジェクトの設計情報だけからでも可能な作業があ
る。すなわち,従来のUMLセマンティックス(Semant
ics)準拠(UMLにより各表記の意味,解釈が規定され
たものに準拠)のCASE(Computer Aided Software
Engineering)ツールを用いてどのような引数があるかを
見ることで設計作業に役立てることができるが,その作
業によって作成されるテスト項目はアプリケーションの
テストにおいて最低限必要なものであるが,単純で且
つ,参照項目が多いため見落としが生じやすく作業者の
負担が増え,作業ミスも起こりやすいという問題があっ
た。
SUMMARY OF THE INVENTION Test design work includes:
There are tasks that can be performed only from the object design information. That is, conventional UML semantics (Semant
ics) -compliant (conforms to the definition and meaning of each notation specified by UML) CASE (Computer Aided Software
(Engineering) tools can help you with your design work by seeing what arguments are there, but the test items created by that work are the minimum requirements for testing your application, but are simpler. In addition, since there are many reference items, there is a problem that oversight is likely to occur and the burden on the operator is increased, and a work error is likely to occur.

【0010】機能テスト以外では,全てのソースコード
を必ず一回は実行するという方法もあるが,時間と手間
がかかるという問題があった。
In addition to the function test, there is a method of executing all the source codes at least once, but there is a problem that it takes time and effort.

【0011】本発明は開発の時に作成した設計ドキュメ
ントを利用して,単純な作業,参照項目の多い作業を支
援し,テスト項目が増大する原因の一つである集合型
(配列やリスト等,複数の要素を含む型)に対して実用
上十分なテスト項目のみを生成することで,テスト項目
を実行可能な程度に抑えることを可能とするテスト項目
生成支援装置を提供することを目的とする。
The present invention uses a design document created at the time of development to support simple work and work with a large number of reference items, and a set type (array, list, etc.) which is one of the causes of an increase in test items. It is an object of the present invention to provide a test item generation support device that can suppress test items to an executable level by generating only test items that are practically sufficient for a type including a plurality of elements). .

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理構成
である。図中,1はテストに必要な同値クラスを保持す
る同値クラス保持部,2はテストしようとするメソッド
への同値クラスの入力パラメータを生成する入力パラメ
ータ同値クラス生成部,3は入力パラメータ同値クラス
生成部2や内部状態同値クラス生成部6によって生成さ
れた同値クラスのデータが格納され出力が行われる同値
クラスの様式ファイル,4は列挙された同値クラスを組
み合わせることによってテスト項目を生成するテスト項
目生成部,5はテスト項目生成部4で生成したテスト項
目の様式が格納されたテスト項目の様式ファイルであ
る。6は同値クラス保持部1からの情報を基にテスト対
象メソッド(プログラム)内で必要となるオブジェクト
やマスタ等と,その同値クラスを列挙する内部状態同値
クラスの生成部,7は制御部,8は対象となるメソッド
のクラス名,引数名等がとれることを保証したUMLセ
マンティックス準拠のOO−CASE(Object Oriente
d-Computer Aided Software Enviroment:オブジェクト
指向ソフトウェア支援環境)ツール,9は利用者への表
示出力を提示したり,利用者による表示内容への編集,
指示の入力を行う入出力部である。
FIG. 1 shows the principle of the present invention. In the figure, reference numeral 1 denotes an equivalence class holding unit that holds an equivalence class required for a test, 2 denotes an input parameter equivalence class generation unit that generates an input parameter of the equivalence class to a method to be tested, and 3 denotes an input parameter equivalence class generation. An equivalence class format file in which the equivalence class data generated by the section 2 and the internal state equivalence class generation section 6 are stored and output, and 4 is a test item generation for generating test items by combining the listed equivalence classes. And 5, a test item format file in which the test item format generated by the test item generating unit 4 is stored. Reference numeral 6 denotes an object or master required in the method (program) to be tested based on the information from the equivalence class holding unit 1 and an internal state equivalence class generation unit that enumerates the equivalence classes, 7 denotes a control unit, 8 Is a UML semantics-compliant OO-CASE (Object Oriente) that guarantees that the class name, argument name, etc. of the target method can be taken.
d-Computer Aided Software Enviroment (object-oriented software support environment) tool, 9 presents display output to users, edits display contents by users,
An input / output unit for inputting an instruction.

【0013】図2は同値クラス保持部で保持するデータ
の構成例である。同値クラスとは,アプリケーションが
同じ処理で動く値の範囲を示しており,オブジェクトや
型ごとに,同値クラスを与える。同値クラスを与える時
に,どの同値クラスの値がアプリケーションの正常な処
理を行わせるものであれば「正」のタグ,エラーを引き
起こすものであれば「異」のタグをつけ,動作によって
変わるものはタグを付けない。これらのタグは,後の作
業でテスト項目を減らす工夫をする時に利用する。図2
の10−1,10−2,…10−nの符号はそれぞれク
ラス名1,クラス名2,…,クラス名Nを表し,クラス
名1(10−1)の場合,同値クラス1−1は「正」で
ある範囲,同値クラス1−2は「異」(エラー)である
範囲に対応するクラス名であり,10−mのクラス名s
tr(文字列を表し)の場合,「null(内容が無
い)」であれば「異」(エラー)であり,長さが0であ
れば「正」,長さが最大長であれば「正」とされる。
FIG. 2 shows an example of the structure of data stored in the equivalence class storage unit. An equivalence class indicates a range of values in which an application operates in the same process, and an equivalence class is provided for each object or type. When assigning an equivalency class, attach a “positive” tag if the value of the equivalency class causes normal processing of the application and a “different” tag if it causes an error. Do not tag. These tags are used when devising to reduce test items in later work. FIG.
, 10-n represent class name 1, class name 2,..., Class name N, respectively. In the case of class name 1 (10-1), the equivalent class 1-1 is The range “positive” and the equivalence class 1-2 are class names corresponding to the range “different” (error), and the class name s of 10-m
In the case of tr (representing a character string), "null (no content)" indicates "different" (error), and if the length is 0, "correct"; Correct. "

【0014】同値クラスは同値クラス保持テーブル(図
示省略)からクラス名をキーにして,テスト設計者によ
り作成される。アプリケーション毎に異なる部分もある
が,基本的な型の同値クラスはどのアプリケーションに
も共通して使用できる。これらの同値クラスを用いてテ
スト項目を作成する。従って,ここで十分な同値クラス
を生成しておくことで後の作業を軽減できる。
An equivalent class is created by a test designer by using a class name as a key from an equivalent class holding table (not shown). Although there are differences from application to application, the equivalence classes of the basic types can be used in all applications. Test items are created using these equivalence classes. Therefore, by generating sufficient equivalence classes here, subsequent work can be reduced.

【0015】図1の作用を説明すると,同値クラス保持
部1にテーブル形式で,図2に示すような同値クラスの
データを格納した状態で,入力パラメータ同値クラス生
成部2の動作によりUMLセマンティックス準拠のCA
SEツール8のクラス図から得られる情報を基にテスト
対象メソッドの操作に対する入力パラメータの同値クラ
スを列挙した同値クラスのデータを取り出して同値クラ
スの様式ファイル3に格納する。この同値クラスの様式
ファイル3の内容は入出力部9に表示出力され,出力さ
れた同値クラスについて利用者が入出力部9から編集
(選択,削除等)を行うことができる。次にテスト項目
生成部4はこの同値クラスの様式ファイル3に列挙され
た同値クラスの様式でかかれたドキュメントから,同値
クラスを組み合わせることによってテスト項目を生成
し,テスト項目の様式ファイル5に出力する。
The operation of FIG. 1 will be described. With the equivalence class storage unit 1 storing the equivalence class data as shown in FIG. 2 in the form of a table, the operation of the input parameter equivalence class generation unit 2 conforms to UML semantics. CA
Based on the information obtained from the class diagram of the SE tool 8, the data of the equivalence class that enumerates the equivalence classes of the input parameters for the operation of the test target method is extracted and stored in the equivalence class format file 3. The contents of the format file 3 of the equivalence class are displayed and output to the input / output unit 9, and the user can edit (select, delete, etc.) the output equivalence class from the input / output unit 9. Next, the test item generation unit 4 generates test items by combining the equivalence classes from the documents written in the equivalence class format listed in the equivalence class format file 3 and outputs the test items to the test item format file 5. .

【0016】一方,内部状態同値クラス生成部6が駆動
されると,同値クラス保持部1からの情報やUMLセマ
ンティックス準拠のCASEツール内のクラス図やシー
ケンス図から得られる情報を基にテスト対象メソッド
(プログラム)内で必要となるオブジェクトやマスタ等
と,その同値クラスを同値クラスの様式ファイル3に列
挙して格納する。この同値クラスの様式ファイル3に格
納された内部状態同値クラスのデータは,テスト項目生
成部4によって内部状態の同値クラスと上記入力パラメ
ータの同値クラスと組み合わせてテスト項目が生成さ
れ,テスト項目の様式ファイル5に格納される。テスト
項目の様式ファイル5の内容は,入出力部9から表示出
力して利用者(設計者)に提示され,利用者による編集
が可能である。
On the other hand, when the internal state equivalence class generation unit 6 is driven, the method to be tested based on the information from the equivalence class holding unit 1 and the information obtained from the class diagram and sequence diagram in the CASE tool conforming to the UML semantics is used. Objects and masters required in the (program) and their equivalent classes are listed and stored in the equivalent class form file 3. The data of the internal state equivalence class stored in the equivalence class form file 3 is combined with the equivalence class of the internal state and the equivalence class of the input parameter by the test item generation unit 4 to generate a test item. Stored in file 5. The contents of the test item format file 5 are displayed and output from the input / output unit 9 and presented to the user (designer), and can be edited by the user.

【0017】制御部7はテストの対象としてクラスを指
定した時に指定されたクラスのパブリックメソッド(Pu
blicメソッド:他のクラスからアクセスすることが可能
なメソッド)だけでなく,指定されたクラスのスーパー
クラス(実装の継承,インタフェースの継承の何れの場
合も含む)をUMLセマンティックス準拠のOO−CA
SEツール8内のクラス図から検出し,そのクラスのパ
ブリックメソッドのテスト項目を生成する。
The control unit 7 specifies a public method (Pu
blic method: A super class of the specified class (including both inheritance of implementation and inheritance of interface) as well as UML semantics-compliant OO-CA, as well as a method that can be accessed from other classes.
It detects from the class diagram in the SE tool 8 and generates a test item of the public method of the class.

【0018】[0018]

【発明の実施の形態】上記図1に示す本発明の原理構成
に示す主要な各部は,CPU,メモリを含むプログラム
による処理部,キーボードやマウス等の入力部,及びデ
ィスプレイ等の表示部を備えた情報処理装置によるプロ
グラム処理により実現することができ,以下に各部の機
能を実現する処理フローを説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The main parts shown in the principle configuration of the present invention shown in FIG. 1 are provided with a CPU, a processing part by a program including a memory, an input part such as a keyboard and a mouse, and a display part such as a display. A processing flow that can be realized by the program processing by the information processing device and realizes the function of each unit will be described below.

【0019】図3は入力パラメータ同値クラス生成部
(図1の2)の処理フローである。この処理では指定さ
れたメソッドの入力パラメータやそれに関連するオブジ
ェクトの同値クラスを,同値クラス保持部とUMLセマ
ンティックス準拠のOO−CASEツールから取得した
情報に基づいて作成するものであり,以下に説明する。
FIG. 3 is a processing flow of the input parameter equivalence class generation unit (2 in FIG. 1). In this processing, an equivalent class of an input parameter of a designated method and an object related thereto is created based on information acquired from an equivalent class holding unit and a UML semantics-compliant OO-CASE tool, which will be described below. .

【0020】テストを生成する対象となる指定されたメ
ソッド(プログラムのMとする)のシグネチャとしてメ
ソッドの引数とその型,返値の型,メソッドを持つクラ
スと関連しているクラスとその関連の種類,参照方向,
多重度,及びスーパークラスを備える。これらをOO−
CASEツールから取得して,メソッドMのシグネチャ
から引数の数N(総数)を取得する(図3のS1)。次
に,引数の番号を表すiを1に設定し(同S2),iが
N以下であるか判別し(同S3),以下の場合はメソッ
ドMのi番目の引数(この例ではAとする)を取得し
(同S5),続いて,同値クラス情報オブジェクト(こ
の例ではEとする)を作成し(同S6),Eの仮引数名
を上記Aの仮引数名と同じものに設定する(同S7)。
次で,同値クラス作成処理を行う(図3のS8)。この
同値クラス作成処理は後に示す図4,図5により内容を
説明する。
As a signature of a specified method (M of a program) for which a test is to be generated, arguments of the method and its types, return types, classes associated with the class having the method, and the associated Type, reference direction,
It has multiplicity and super class. These are OO-
The number N (total number) of the arguments is acquired from the signature of the method M, acquired from the CASE tool (S1 in FIG. 3). Next, i representing the argument number is set to 1 (S2), and it is determined whether i is N or less (S3). In the following cases, the i-th argument of the method M (A and A in this example) is used. Is obtained (S5), an equivalence class information object (E in this example) is created (S6), and the formal parameter name of E is set to the same as the formal parameter name of A described above. (S7).
Next, an equivalent class creation process is performed (S8 in FIG. 3). The content of this equivalence class creation processing will be described later with reference to FIGS.

【0021】この後,上記取得したAの型がオブジェク
トであるか判別し(同S9),オブジェクトで無いと後
述するS11へ移行し,オブジェクトの場合はオブジェ
クトに対する同値クラス取得処理を行う(同S10)。
このオブジェクトに対する同値クラス取得処理の詳細
は,後に示す図6を用いて説明する。続いて,Aの型が
集合(配列)であるか判別し,集合でないとS13へ移
行し,集合の場合は集合に対する同値クラスの取得処理
を行う(同S12)。この集合に対する同値クラスの取
得処理の詳細は後に示す図7を用いて説明する。次い
で,iを+1して(図3のS13),上記S3に戻って
同様の処理を行ない,iがNを越えると,入力パラメー
タ同値クラスの出力処理を行う(同S4)。
Thereafter, it is determined whether the type of the acquired A is an object (S9), and if it is not an object, the process proceeds to S11 described later, and if it is an object, an equivalent class acquisition process for the object is performed (S10). ).
The details of the equivalence class acquisition processing for this object will be described later with reference to FIG. Subsequently, it is determined whether the type of A is a set (array). If the type is not a set, the process proceeds to S13, and if it is a set, an equivalent class acquisition process for the set is performed (S12). The details of the process of acquiring the equivalence class for this set will be described later with reference to FIG. Next, i is incremented by 1 (S13 in FIG. 3), the process returns to S3, and the same process is performed. When i exceeds N, the output process of the input parameter equivalent class is performed (S4).

【0022】図4は同値クラス作成処理(図3のS8で
実行され,Aの型名,同値クラステーブルを用いる処
理)のフローである。最初にEの型名(同値クラスの型
名)をAの型名(図3のS6で取得)に設定する(図4
のS1)。次にスーパークラス取得処理(Aの型名)を
行う(図4のS2)。このスーパークラス取得処理(型
名A)の詳細は図5に示され,この処理はその基点とな
ったオブジェクトの同値クラスも利用可能にするための
処理であり,そのスーパークラスはここで説明すると,
OO−CASEツール(図1の8)からAのスーパーク
ラスSを取得し(図5のS20),S(スーパークラ
ス)が無いと終了するが,有る場合は同値クラス保持部
(図1の1)からクラスSの同値クラスを取得してEの
同値クラスに追加し(図5のS22),スーパークラス
取得処理(S)を実行する(同S23)。このスーパー
クラス取得処理(S)の詳細は図5に示す。
FIG. 4 is a flowchart of the equivalence class creation process (the process executed in S8 of FIG. 3 and using the type name of A and the equivalence class table). First, the type name of E (the type name of the equivalence class) is set to the type name of A (obtained in S6 of FIG. 3) (FIG. 4).
S1). Next, super class acquisition processing (type name of A) is performed (S2 in FIG. 4). The details of this superclass acquisition processing (type name A) are shown in FIG. 5, and this processing is processing for making the equivalent class of the object serving as the base point available, and the superclass will be described here. ,
The superclass S of A is acquired from the OO-CASE tool (8 in FIG. 1) (S20 in FIG. 5), and the process ends if there is no S (superclass). ), The equivalent class of the class S is acquired and added to the equivalent class of E (S22 in FIG. 5), and the super class acquisition processing (S) is executed (S23). Details of the super class acquisition processing (S) are shown in FIG.

【0023】図4に戻り,スーパークラス取得処理に続
いて同値クラス保持部(図1の1)から引数Aの型名を
キーにして同値クラスを取得し(図4のS3),続いて
同値クラス保持部からAの型名をキーにして,同値クラ
スを取得し,それを全てEの同値クラスに追加する(同
S4)。続いて,Eを同値クラステーブルに追加し(図
4のS5),同値クラスの作成処理を終了する。
Returning to FIG. 4, following the superclass acquisition processing, an equivalence class is acquired from the equivalence class holding unit (1 in FIG. 1) using the type name of the argument A as a key (S3 in FIG. 4). An equivalence class is acquired from the class holding unit using the type name of A as a key, and all the equivalence classes are added to the equivalence class of E (S4). Subsequently, E is added to the equivalence class table (S5 in FIG. 4), and the equivalence class creation processing ends.

【0024】図8は同値クラステーブルの構造を示す。
上記図4の処理により作成された同値クラステーブルは
図8に示すように各同値クラス情報が個別に格納され,
仮引数名,フィールド名,型名,同値クラスの順にそれ
ぞれの情報が格納されている。
FIG. 8 shows the structure of the equivalence class table.
The equivalence class table created by the processing of FIG. 4 stores the equivalence class information individually as shown in FIG.
Information is stored in the order of the formal parameter name, the field name, the type name, and the equivalence class.

【0025】図6はオブジェクトに対する同値クラス取
得処理(図3のS10の処理)のフローである。最初に
OO−CASEツールから,クラスAの属性の個数Mを
取得し(図6のS1),属性の個数を表すjを1に設定
し(同S2),jがM以下か判別し(同S3),M以下
でないと終了し,M以下であるとj番目の属性を取得し
(同S4),同値クラス情報オブジェクトE1を作成す
る(同S5)。続いて,E1のフィールド名としてAの
j番目の属性名を設定し,型名としてAのj番目の属性
の型名を設定し(図6のS6),続いて同値クラス情報
オブジェクトE1の同値クラス作成処理(A型名)を行
い(同S7,上記図4参照),jを+1し(同S8),
S3の処理に戻る。
FIG. 6 is a flowchart of the equivalence class acquisition process for the object (the process of S10 in FIG. 3). First, the number M of attributes of class A is acquired from the OO-CASE tool (S1 in FIG. 6), j indicating the number of attributes is set to 1 (S2), and it is determined whether j is M or less (S1). S3) If the value is not M or less, the process ends. If the value is M or less, the j-th attribute is acquired (S4), and an equivalence class information object E1 is created (S5). Subsequently, the j-th attribute name of A is set as the field name of E1, the type name of the j-th attribute of A is set as the type name (S6 in FIG. 6), and then the equivalence of the equivalence class information object E1 is set. Class creation processing (A type name) is performed (S7, see FIG. 4), j is incremented by 1 (S8),
The process returns to S3.

【0026】図7は集合(配列)に対する同値クラス取
得処理(図3のS12の処理)のフローである。最初に
OO−CASEツールから,クラスAの要素となるもの
の型Tを取得し(図7のS1),同値クラス情報オブジ
ェクトE1を作成し(同S2),E1のフィールド名と
してAの要素を示す名前A〔i〕を設定し,型名をTと
し(同S3),E1を同値クラステーブル(図8参照)
に追加する(同S4)。
FIG. 7 is a flow chart of the equivalent class acquisition process (the process of S12 in FIG. 3) for the set (array). First, the type T of an element of the class A is acquired from the OO-CASE tool (S1 in FIG. 7), an equivalent class information object E1 is created (S2), and the element of A is indicated as a field name of E1. A name A [i] is set, a type name is set to T (S3), and E1 is an equivalence class table (see FIG. 8).
(S4).

【0027】図3に示す入力パラメータ同値クラス生成
部の処理フローに対し,入力パラメータがメソッドであ
り,それが他のオブジェクトと集約関係を備える場合の
処理フローを同値クラス生成部の応用例1の処理フロー
として図9に示す。
In contrast to the processing flow of the input parameter equivalence class generation unit shown in FIG. 3, the processing flow in the case where the input parameter is a method and it has an aggregation relationship with another object is described in the first application example of the equivalence class generation unit. FIG. 9 shows a processing flow.

【0028】図9において,最初にOO−CASEツー
ルから引数Aのクラスと集約関係にあるクラス数Nを取
得し(図9のS1),iの値を1に設定し(同S2),
iがN以下か判別し(同S3),N以下でないと終了す
るが,N以下の場合は,OO−CASEツールから引数
Aのクラスと集約関係にあるクラスのi件目の名前Cと
その関連名Rを取得する(同S4)。これを用いて同値
クラス情報オブジェクトE1を作成し(同S5),E1
のフィールド名をR,E1の型名をCとし(同S6),
同値クラス作成処理(E1,C)を行う(同S7)。こ
の同値クラス作成処理は上記図4に示されている通りで
ある。次いで,E1を同値クラステーブルに追加し(同
S8),この後のS9〜S13の処理は上記図3のS9
〜S13と同じであり,説明を省略する。この図9の処
理により,集約関係にある他のオブジェクトも入力パラ
メータに加えて,より十分なテスト項目を生成すること
ができ,テスト設計者の負担を軽減することができる。
In FIG. 9, first, the number N of classes having an aggregation relationship with the class of the argument A is obtained from the OO-CASE tool (S1 in FIG. 9), and the value of i is set to 1 (S2 in FIG. 9).
It is determined whether i is equal to or less than N (S3). If the value is not equal to or less than N, the process is terminated. The related name R is obtained (S4). Using this, an equivalence class information object E1 is created (S5), and E1
Is R, the type name of E1 is C (S6),
Equivalent class creation processing (E1, C) is performed (S7). This equivalence class creation processing is as shown in FIG. Next, E1 is added to the equivalence class table (S8), and the subsequent processing of S9 to S13 is performed in S9 of FIG.
To S13, and a description thereof will be omitted. According to the processing of FIG. 9, in addition to the input parameters, other objects in an aggregated relationship can generate more sufficient test items, and the burden on the test designer can be reduced.

【0029】次に図10は同値クラス生成部の応用例2
の処理フローである。この処理フローは図3に示す入力
パラメータ同値クラス生成部の処理において,集約関係
をたどる際に関連する他のオブジェクトの方向(一方の
オブジェクトから他のオブジェクトを参照または見るこ
とができる場合に他のオブジェクトへの方向)がある場
合,その方向がナビゲーション(navigation)として定
義され,この図10の応用例2の処理はそのnavigation
により示す関連先のオブジェクトのみを入力パラメータ
に加えるようにしたものである。
Next, FIG. 10 shows an application example 2 of the equivalence class generation unit.
It is a processing flow of. In this processing flow, in the processing of the input parameter equivalence class generation unit shown in FIG. 3, the direction of another object related to tracing the aggregation relationship (if one object can refer to or see another If there is a direction to the object), the direction is defined as navigation, and the processing of application example 2 in FIG.
Only the related object indicated by is added to the input parameter.

【0030】最初に,OO−CASEツールから引数A
のクラスと集約関係にあるクラス数Nを取得し(図10
のS1),iの値を1に設定し(同S2),iがN以下
か判別し(同S3),N以下でないと終了するが,N以
下の場合は,OO−CASEツールから引数Aのクラス
と集約関係にあるクラスの名前C,その関連名R及び関
連の向き(Naviで表す)を取得する(同S4)。次にNa
viが引数Aの型であるクラスから,その関連クラスCへ
参照可能に設定されているか判別し(同S5),設定さ
れていないとS14に移行してiを+1する処理を行
い,設定されている場合はE1のフィールド名をR,E
1の型名をCとし(同S6),同値クラス作成処理(E
1,C)を行う(同S7)。この同値クラス作成処理は
上記図4に示されている通りである。次いで,E1を同
値クラステーブルに追加し(同S8),続くS9〜S1
3の処理は上記図3のS9〜S13と同じであり,説明
を省略する。この図10の処理により,不要なテストを
生成することがなくなるため,テスト設計者の負担を軽
減することができる。
First, an argument A is sent from the OO-CASE tool.
The number N of classes in an aggregate relationship with the class of
S1), the value of i is set to 1 (S2), and it is determined whether i is N or less (S3). If i is not less than N, the process ends. If N is less than N, the argument A from the OO-CASE tool is used. Then, the name C, the related name R, and the related direction (indicated by Navi) of the class that is in an aggregate relationship with the class are acquired (S4). Then Na
It is determined whether or not vi is set to be able to refer to the related class C from the class that is the type of the argument A (S5). If not set, the process proceeds to S14 to perform processing of incrementing i by +1. If the field name of E1 is R, E
1 is set to C (S6), and the equivalent class creation processing (E
1, C) (S7). This equivalence class creation processing is as shown in FIG. Next, E1 is added to the equivalence class table (S8), and the following S9 to S1
The processing of No. 3 is the same as S9 to S13 of FIG. By the processing of FIG. 10, unnecessary tests are not generated, so that the burden on the test designer can be reduced.

【0031】図11は同値クラスの出力処理のフローで
ある。
FIG. 11 is a flowchart of the output process of the equivalent class.

【0032】この処理は,上記図1に示す同値クラスの
様式ファイル3に対して実行されて,ディスプレイ上に
出力表示される。最初にドキュメント名を出力し(図1
1のS1),テスト項目を生成する対象メソッド名を出
力し(同S2),更に空行を出力する(同S3)。続い
て,表の名称,表の列名を出力し(図11のS4),テ
ーブルの長さNを取得し(同S5),同値クラス出力行
の設定を行い(同S6),変数のiを1に設定し(同S
7),iがN以下か判別して(同S8),以下でないと
表の末尾を示す記号を出力して終了し(同S9),iが
N以下の場合は,同値クラステーブルのi番目の要素を
Eとして設定し(同S10),このEの仮引数名,フィ
ールド名,型名を出力する(同S11)。次に同値クラ
スの個数Mを取得し(図11のS12),変数jを1に
設定し(同S13),jがM以下か判別して(同S1
4),以下の場合は同値クラステーブルi番目の同値ク
ラスのj番目の同値クラスCを取得する(同S15)。
続いてCの正/異とCの名前を出力し(同S16,S1
7),改行をして(同S18),jを+1し(同S1
9),上記S14に戻って同じ処理を繰り返す。S14
において,jがM以下で無い場合は,iを+1して(図
11のS20),S8に戻り,以下の処理を繰り返す。
This processing is executed for the format file 3 of the equivalence class shown in FIG. 1 and output and displayed on the display. First, output the document name (Fig. 1
1, S1), the name of the target method for generating the test item is output (S2), and a blank line is output (S3). Subsequently, the table name and the column names of the table are output (S4 in FIG. 11), the length N of the table is obtained (S5), an equivalent class output row is set (S6), and the variable i is set. Is set to 1 (the same S
7) It is determined whether i is N or less (S8). If not, a symbol indicating the end of the table is output and the process is terminated (S9). If i is N or less, the i-th class in the equivalence class table is performed. Is set as E (S10), and the formal argument name, field name, and type name of E are output (S11). Next, the number M of equivalence classes is obtained (S12 in FIG. 11), the variable j is set to 1 (S13), and it is determined whether j is M or less (S1).
4) In the following cases, the j-th equivalence class C of the i-th equivalence class is acquired (S15).
Subsequently, the correct / different of C and the name of C are output (S16, S1).
7), a line feed is performed (S18), and j is incremented by 1 (S1).
9) Return to S14 and repeat the same process. S14
If j is not equal to or less than M, i is incremented by 1 (S20 in FIG. 11), the process returns to S8, and the following processing is repeated.

【0033】図12は同値クラスの出力様式の例を示
し,図13は同値クラスのクラス図と同値クラステーブ
ルを示す。
FIG. 12 shows an example of the output format of the equivalence class, and FIG. 13 shows a class diagram of the equivalence class and an equivalence class table.

【0034】図12の出力様式は上記図11の出力処理
のフローにより出力される。これは入力パラメータ同値
クラス表の例であり,内部状態の同値クラスを出力する
場合は,「内部状態同値クラス表」となる。図12の入
力パラメータ同値クラス表は,図13のA.の構造を持
つ「udef」というクラスのオブジェクトと,Str
ing(文字列)型のオブジェクトを引数に持つメソッ
ドclass A:methodA(udef obj,String strl) の同値
クラスを示したものである。すなわち, この入力パラメ
ータ同値クラス表の例では,テスト項目を生成する対象
メソッド名として,クラス名がA,メソッド名がAで,
最初のオブジェクトの型名が「udef」,その引数名
が「obj」であり,次のオブジェクトの型名が「St
ring」,その引数名が「str1」である。この図
12を内部状態の同値クラスの出力に使用する場合,先
頭の列名はオブジェクト名になる。
The output format of FIG. 12 is output according to the output processing flow of FIG. This is an example of the input parameter equivalence class table, and when outputting the equivalence class of the internal state, it becomes the “internal state equivalence class table”. The input parameter equivalence class table shown in FIG. Object of the class "udef" having the structure of
It shows an equivalent class of method class A: method A (udef obj, String strl) having an ing (character string) type object as an argument. That is, in the example of the input parameter equivalence class table, the class name is A, the method name is A, and
The type name of the first object is “udef”, its argument name is “obj”, and the type name of the next object is “St”.
ring ", and its argument name is" str1 ". When FIG. 12 is used to output the equivalence class in the internal state, the first column name is the object name.

【0035】図13のA.に示すような関係を持つクラ
ス図について,図13のB.に示す同値クラステーブル
が作成される。図13のA.はクラス「object」のサブ
クラスとして,クラス「udef」が定義されており,「ud
ef」のクラスの属性が「int」(整数)でフィールド名
が「attr1 」であることを表す。更に,「udef」という
クラスは,0〜Nの値をとることができる「int」と
いうクラスと集約関係を備えていることを表す。このよ
うなクラス図を用いて,図13のB.に示すデータ構造
を備えた同値クラステーブルが入力パラメータ同値クラ
ス生成部(図1の2)に保持される。
FIG. The class diagram having the relationship shown in FIG. Is created. FIG. Defines a class "udef" as a subclass of the class "object"
It indicates that the attribute of the class of "ef" is "int" (integer) and the field name is "attr1". Further, the class “udef” indicates that the class “int”, which can take a value of 0 to N, has an aggregation relationship. Using such a class diagram, B. of FIG. Is stored in the input parameter equivalence class generation unit (2 in FIG. 1).

【0036】図12には先頭の列から仮引数名,フィー
ルド名,型名の各列が設けられ,それぞれに図13の
B.に示すテーブルに対応する内容が設定され,
「正」,「異」である同値クラスがそれぞれに設定され
ている。
FIG. 12 shows columns of a formal argument name, a field name, and a type name from the first column. The contents corresponding to the table shown in are set.
Equivalent classes of “positive” and “different” are set respectively.

【0037】図14はテスト項目生成部の処理フローで
ある。この処理は,上記図1のテスト項目生成部4にお
いて実行される。最初にテーブルリスト(TLで表す)
への同値クラスの読み込み処理を行う(図14のS
1)。この処理は上記図3〜図10により生成された同
値クラスについて行われ,その詳細は,後述する図1
5,図16に示す。読み込み処理に続いて,ドキュメン
ト名の出力を行い(図14のS2),テーブルリストの
先頭の同値クラステーブル(Tで表す)を取得する(同
S3)。次いで,テーブルTのキーKを対象メソッド名
として出力し(図14のS4),空行を出力し(同S
5),表の名称を出力して,テーブルT内の同値クラス
情報オブジェクトを用い,同値クラス情報オブジェクト
の仮引数名とフィールド名,型名を表の列名として出力
する(同S6)。
FIG. 14 is a processing flow of the test item generation unit. This processing is executed by the test item generation unit 4 of FIG. First the table list (represented by TL)
To read the equivalence class into
1). This process is performed on the equivalence classes generated in FIGS. 3 to 10 described above.
5, shown in FIG. Following the reading process, the document name is output (S2 in FIG. 14), and an equivalent class table (represented by T) at the head of the table list is obtained (S3). Next, the key K of the table T is output as the target method name (S4 in FIG. 14), and a blank line is output (S4).
5) The name of the table is output, and using the equivalence class information object in the table T, the formal argument name, the field name, and the type name of the equivalence class information object are output as column names of the table (S6).

【0038】続いて同値クラスについて組合わせ処理を
テーブルリストTLを引数にして処理を行う(図14の
S7)。この組合わせ処理は後述する図17に示す。組
合わせ処理が行われると,テーブルリスト(TL)内の
テーブルの総数(TTotalで表す) を取得し(同S8),
i=2の設定を行い(同S9),iが総数(TTotal)以
下か判別し(同S10),総数を越えると処理を終了
し,総数以下の場合はテーブルリスト(TL)にTL内
のi番目の同値クラステーブルを設定する(同S1
1)。次いで,テーブル(T)のキーKを対象データ名
として出力し(同S12),空行を出力し(同S1
3),表の名称を出力し,T内の同値クラス情報オブジ
ェクトを用い,同値クラス情報オブジェクトの仮引数名
とフィールド,型名を表の列名として出力する(同S1
4)。次に上記S14で出力された同値クラス情報につ
いてTLを引数として組合わせ処理を実行し(同S1
5),i=i+1を実行し(同S16),S10に戻
る。なお,組合わせ処理(TL)の詳細は上記S7と同
様に後述する図17に示す。
Subsequently, a combination process is performed for the equivalence class using the table list TL as an argument (S7 in FIG. 14). This combination process is shown in FIG. 17 described later. When the combination process is performed, the total number of tables (represented by TTotal) in the table list (TL) is obtained (S8).
i = 2 is set (S9), it is determined whether i is less than or equal to the total number (TTotal) (S10), and if it exceeds the total number, the processing is terminated. If it is less than the total number, the table list (TL) contains Set the i-th equivalence class table (S1
1). Next, the key K of the table (T) is output as the target data name (S12), and a blank line is output (S1).
3) Output the name of the table, use the equivalence class information object in T, and output the formal argument name, field, and type name of the equivalence class information object as column names of the table (S1).
4). Next, a combination process is executed using the TL as an argument for the equivalence class information output in S14 (S1).
5), i = i + 1 is executed (S16), and the process returns to S10. The details of the combination process (TL) are shown in FIG.

【0039】図15,図16は同値クラス読み込み処理
のフロー(その1),(その2)である。この処理によ
り同値クラスの様式から同値クラステーブルを再構築す
るための処理である。但しこの処理では,集合を表す型
を識別子とし,それを別な同値クラステーブルにしてお
り,出力時には集合は別の表を作成する。
FIGS. 15 and 16 show the flow (part 1) and (part 2) of the equivalence class reading process. This process is a process for reconstructing the equivalence class table from the format of the equivalence class. However, in this process, the type representing the set is used as an identifier, and it is used as another equivalence class table. When outputting, the set creates another table.

【0040】最初に,空のテーブルリストTLを作成
し,同値クラステーブルのカウンタjを1に初期化し
(図15のS1),空のクラステーブルCTjを新規に
作成する(同S2)。行数のカウンタiに同値クラス記
述されている先頭行数を設定し,Tag(タグ)に同値
クラスのメソッド名を設定する(図15のS3)。iが
表の最終行か判別し(図15のS4),最終行でなけれ
ばi行目の仮行数名列,フィールド名列のいずれも空か
を判別する(同S5)。空きの場合はiに1加算して
(図15のS6),S4に戻る。空きでない場合は,同
値クラス情報オブジェクトEを作成し(図15のS
7),そのオブジェクトに対して仮引数名,フィールド
名,型名をそれぞれ読み込み,同値クラス情報オブジェ
クトEに設定する(同S8)。
First, an empty table list TL is created, the counter j of the equivalence class table is initialized to 1 (S1 in FIG. 15), and an empty class table CTj is newly created (S2). The number of top lines described in the equivalent class is set in the line number counter i, and the method name of the equivalent class is set in Tag (tag) (S3 in FIG. 15). It is determined whether i is the last row of the table (S4 in FIG. 15), and if it is not the last row, it is determined whether both the temporary row number name column and the field name column of the i-th row are empty (S5). If it is empty, 1 is added to i (S6 in FIG. 15), and the process returns to S4. If it is not empty, an equivalence class information object E is created (S in FIG. 15).
7) Read the formal argument name, field name, and type name for the object, and set them in the equivalence class information object E (S8).

【0041】Eの型が集合を表しているか否かを判定し
(図16のS9),集合を表していない場合,i行目の
正/異列の値と同値クラス列の値をペアにしてEの同値
クラスに追加し(同S10),iに1を加算する(同S
11)。続いて,i行目の仮引数名列,フィールド名の
列,の両方が空かを判定する(図16のS12)。両方
とも空ならば,S10に戻り,どちらかが空でなければ
新しい同値クラスを作るため,まず現在使用している同
値クラス情報オブジェクトEをCTjに追加し(図16
のS13),S4に戻る。上記S9でEの型名が集合を
表していると判定した場合は,CTjとタグをペアにし
て,テーブルリストTLに追加し(図16のS14),
続いて同値クラステーブルのカウンタjに1加算し(同
S15),同値クラステーブルCTjを新規に作成し
(同S16),タグにEフィールド名を設定し(同S1
7),上記S6の処理を行う。
It is determined whether or not the type of E represents a set (S9 in FIG. 16). If the type does not represent a set, the value of the positive / different column in the i-th row and the value of the equivalence class column are paired. To the equivalent class of E (S10), and add 1 to i (S10).
11). Subsequently, it is determined whether both the formal parameter name column and the field name column on the i-th row are empty (S12 in FIG. 16). If both are empty, the process returns to S10, and if either is not empty, to create a new equivalence class, first add the currently used equivalence class information object E to CTj (FIG. 16).
Return to S13) and S4. If it is determined in S9 that the type name of E represents a set, CTj and a tag are paired and added to the table list TL (S14 in FIG. 16).
Subsequently, 1 is added to the counter j of the equivalence class table (S15), a new equivalence class table CTj is created (S16), and the E field name is set in the tag (S1).
7), the process of S6 is performed.

【0042】図17は引数にテーブルリストTLを取る
組み合わせ処理のフローであり,上記図14S7におい
て実行される。この処理は,同値クラスを組み合わせて
テスト項目を作成するもので,図15,図16で作成し
たテーブルリストを使用する。また,この処理では,組
み合わせフラグ(flag)を使用する。これは,異な
る同値クラステーブルの同値クラスを組み合わせるとき
に,最低限の組み合わせだけを生成するために使用する
フラグで,最初に0に設定する(図17のS1)。テー
ブルリスト内の先頭のクラステーブルを取得し,その中
に含まれる同値クラス情報の同値クラスを組み合わせる
(同S2)。組み合わせ時に,各々の組み合わせ中の異
常な同値クラス数を計数する(図17のS3)。全組み
合わせに対して処理を行うため,まず,数の総数(To
tal)を取得し(図17のS4),カウンタkを1に
初期化し(同S5),kがTotal以下か判別し(同
S6),以下であればj番目の組み合わせを取得する
(同S7)。
FIG. 17 is a flowchart of a combination process that takes the table list TL as an argument, which is executed in S7 of FIG. In this process, test items are created by combining equivalence classes, and the table lists created in FIGS. 15 and 16 are used. In this process, a combination flag (flag) is used. This is a flag used to generate only the minimum combination when combining equivalence classes in different equivalence class tables, and is initially set to 0 (S1 in FIG. 17). The first class table in the table list is obtained, and the equivalence classes of the equivalence class information included therein are combined (S2). At the time of combination, the number of abnormal equivalent classes in each combination is counted (S3 in FIG. 17). In order to process all combinations, first, the total number (To
tal) (S4 in FIG. 17), the counter k is initialized to 1 (S5), it is determined whether or not k is equal to or less than Total (S6). If k is equal to or smaller, the j-th combination is obtained (S7). ).

【0043】続いてフラグ(flag)が0か判別し
(同S8),0であればj番目の組み合わせと,テーブ
ルリストTL内の他の(先頭以外の)クラステーブルの
同値クラスとを組み合わせてテスト項目とする(同S
9)。この時,TLの先頭以外のクラステーブルから取
得した同値クラスがある範囲を表しているときは,その
範囲の境界付近の値(通常は下限に近い値)を選んでテ
スト項目とする。S9の処理で,先頭以外のクラステー
ブル内の同値クラスを全て使用したか否かを判定し(図
17のS10),全同値クラスを使用していればフラグ
(flag)に1を設定する(同S11)。
Subsequently, it is determined whether or not the flag (flag) is 0 (S8). If the flag is 0, the j-th combination is combined with the equivalent class of another (other than the head) class table in the table list TL. Test items (S
9). At this time, when an equivalence class acquired from a class table other than the head of the TL represents a certain range, a value near the boundary of the range (usually a value near the lower limit) is selected as a test item. In the process of S9, it is determined whether all the equivalent classes in the class table other than the head are used (S10 in FIG. 17), and if all the equivalent classes are used, 1 is set to the flag (flag) ( S11).

【0044】その後,kに1加算し(図17のS1
2),S6の処理に戻る。S10の処理で全同値クラス
を使用していないときは,フラグ(flag)はそのま
までS12の処理を行う。S8でフラグ(flag)が
1だった場合,j番目の組み合わせと,テーブルリスト
TL内の他の(先頭以外の)クラステーブルの正常な同
値クラスとを組み合わせてテスト項目とする(図17の
S13)。この時,テーブルリストTLの先頭以外のク
ラステーブルから取得した同値クラスがある範囲を表し
ているときは,その範囲の境界付近の値(通常は下限に
近い値)を選んでテスト項目とし,その後,S6の処理
に戻る。上記S6において,kがTotalよりも大き
くなったら組み合わせ処理を終了して出力のための処理
S14を実行する。
Thereafter, 1 is added to k (S1 in FIG. 17).
2) Return to the processing of S6. If all the equivalence classes are not used in the process of S10, the process of S12 is performed without changing the flag. If the flag (flag) is 1 in S8, the j-th combination is combined with a normal equivalent class in another (other than the first) class table in the table list TL to form a test item (S13 in FIG. 17). ). At this time, if an equivalence class acquired from a class table other than the head of the table list TL represents a certain range, a value near the boundary of the range (usually a value close to the lower limit) is selected as a test item, and thereafter, , S6. In step S6, when k becomes larger than Total, the combination process is terminated and a process S14 for output is executed.

【0045】図18は生成されたテスト項目の具体例で
あり,上記図14のテスト項目生成部の処理により生成
される。
FIG. 18 shows a specific example of the generated test item, which is generated by the processing of the test item generating unit shown in FIG.

【0046】図18のA.はテスト項目表で,テスト項
目を生成する対象メソッド名が,classA:methodA(objec
t obj. string str1) である例である。この例は,入力
パラメータのテスト項目であり,仮引数名,型名,同値
クラスの組合わせが出力されている。具体的には,「ob
jl」, 「obj.attllrl1」, 「str1」及び「coll」という
同値クラスの各値を一つずつ取り出して組合わせて,
A.に示すような各種の組合わせが得られる。長さにつ
いては,文字列の長さを下限(長さ0,長さ2等)にす
るか,最大長としている。図18のB.は対象データが
集合(配列)である「coll[i] 」という名称の入力パラ
メータのテスト項目を表し,整数の配列が集まっている
もので長さが2以上の場合にはB.に示した表を参照し
てテスト項目を作成する。
FIG. Is a test item table, and the target method name for generating test items is classA: methodA (objec
t obj. string str1). This example is a test item of an input parameter, in which a combination of a dummy argument name, a type name, and an equivalence class is output. Specifically, "ob
jl "," obj.attllrl1 "," str1 "and" coll "
A. Various combinations are obtained as shown in FIG. Regarding the length, the length of the character string is set to the lower limit (length 0, length 2, etc.) or the maximum length. B. of FIG. Indicates a test item of an input parameter named “coll [i]” in which the target data is a set (array), and is a collection of integer arrays and B. if the length is 2 or more. Create test items by referring to the table shown in.

【0047】図19,図20は内部状態の同値クラス生
成部(図1の6)の処理フロー(その1),(その2)
である。この処理フローは指定されたプログラム(メソ
ッド)内で参照・更新するオブジェクトやそれに関連す
るオブジェクトの同値クラスを,同値クラス保持部(図
1の1)とUMLセマンティックス準拠のOO−CAS
Eツールから取得した情報に基づいて作成するものであ
る。すなわち,プログラムで参照されるデータが入って
いるデータベース(内部状態を表すデータを保持)とし
てどのようなデータを用意すべきか,必要な状態の組合
わせを作るための処理である。
FIGS. 19 and 20 show the processing flows (part 1) and (part 2) of the equivalence class generation unit (6 in FIG. 1) in the internal state.
It is. In this processing flow, an equivalent class of an object to be referenced / updated in a specified program (method) and an object related thereto is stored in an equivalence class holding unit (1 in FIG. 1) and a OO-CAS conforming to UML semantics.
It is created based on information obtained from the E tool. In other words, it is a process for preparing what kind of data should be prepared as a database (holding data indicating the internal state) containing the data referred to by the program, and a necessary combination of states.

【0048】最初にOO−CASEツールから,テスト
を生成するメソッドMを含むUMLに従ったシーケンス
図(処理の様子を表す図)を検索して,メソッドの動作
に関連しているオブジェクトを検出して取得する(図1
9のS1)。次にメソッドMを含むシーケンス図の数N
を取得し(同S2),i=1の設定を行い(同S3),
iがN以下か判別し(同S4),N以下の場合i番目の
シーケンス図Sを取得し(同S5),シーケンス図S中
に現れるオブジェクトの数Lを取得し(同S6),j
(jは図示省略された処理でj=1に初期化されている
ものとする)がL以下か判別し(同S7),L以下の場
合はシーケンス図S中にj番目に現れるオブジェクトo
を取得する(同S8)。次にオブジェクトoは,メソッ
ドMのシグネチャ(メソッドの名称,引数の型,返値の
型等)に含まれるか判別し(図19のS9),含まれな
い場合はそのオブジェクトoを候補リストに加えて(同
S10)からS11に移行し,含まれる場合はS11に
移行して,jを+1して(同S11),S7に移行す
る。S7においてjがL以下でない場合はiを+1して
(図19のS12),上記S4に移行する。
First, from the OO-CASE tool, a sequence diagram according to UML including a method M for generating a test (a diagram showing a state of processing) is searched to detect an object related to the operation of the method. (Figure 1
9 S1). Next, the number N of sequence diagrams including the method M
Is obtained (S2), i = 1 is set (S3),
It is determined whether i is equal to or less than N (S4). If i is equal to or less than N, the i-th sequence diagram S is obtained (S5), and the number L of objects appearing in the sequence diagram S is obtained (S6), j
(J is assumed to have been initialized to j = 1 by a process not shown) is determined to be L or less (S7). If L or less, the object o which appears j-th in the sequence diagram S is determined.
Is obtained (S8). Next, it is determined whether the object o is included in the signature (method name, argument type, return type, etc.) of the method M (S9 in FIG. 19). If not, the object o is included in the candidate list. In addition, the process proceeds from (S10) to S11, and if included, proceeds to S11, increments j by 1 (S11), and proceeds to S7. If j is not equal to or less than L in S7, i is incremented by 1 (S12 in FIG. 19), and the flow shifts to S4.

【0049】S4において,iがN(シーケンス図の
数)を越えると,候補リストの中のオブジェクトの数K
を取得し(図20のS13),空の同テーブルCTを作
成し(同S14),iを1に設定し(同S15),iが
K以内か判別し(同S16),以下であれば候補リスト
中のi番目のオブジェクトoを取得する(同S18)。
次に同値クラス保持部(図1の1)からオブジェクトo
の型名をキーにして同値クラスを取得し(図20のS1
9),同値クラス情報オブジェクトEを作成する(同S
20)。次に同値クラス情報オブジェクトEの仮引数名
をoのクラス名に設定し(図20のS21),オブジェ
クトEの同値クラス作成処理(o.クラス名)を行う
(同S22)。この同値クラス作成処理は,上記図4,
図5に示したものと同様である。
In S4, if i exceeds N (the number of sequence diagrams), the number K of objects in the candidate list
(S13 in FIG. 20), create an empty table CT (S14), set i to 1 (S15), determine whether i is within K (S16), and if The i-th object o in the candidate list is obtained (S18).
Next, from the equivalence class holding unit (1 in FIG. 1), the object o
An equivalence class is acquired using the type name of
9), create an equivalence class information object E (S
20). Next, the formal argument name of the equivalence class information object E is set to the class name of o (S21 in FIG. 20), and the equivalence class creation process (o. Class name) of the object E is performed (S22). This equivalence class creation process is described in FIG.
This is the same as that shown in FIG.

【0050】続いて,oの型がオブジェクトか判別し
(図20のS23),オブジェクトであればオブジェク
トに対する同値クラス取得処理(上記図6参照)を行い
(同S24),オブジェクトでない場合又は前記S24
の処理が行われた後,同値クラス情報オブジェクトEを
同値クラステーブルCTに追加し(同S25),iを+
1して(同S26),S17に移行し内部状態同値クラ
スの出力処理を行って,上記S16に戻る。また,S1
6において,iがk(候補リストの中のオブジェクトの
数)を越えた場合も上記S17の処理を行う。
Subsequently, it is determined whether the type of o is an object (S23 in FIG. 20), and if it is an object, an equivalent class acquisition process for the object (see FIG. 6) is performed (S24).
Is performed, the equivalence class information object E is added to the equivalence class table CT (S25), and i is set to +
1 (S26), the process proceeds to S17, the internal state equivalent class output process is performed, and the process returns to S16. Also, S1
In step 6, even if i exceeds k (the number of objects in the candidate list), the processing of S17 is also performed.

【0051】この図19,図20の処理により,テスト
対象メソッドが出現するシーケンス図の中に,テスト対
象のメソッドの入力パラメータや返値のオブジェクト以
外のものをメソッドの動作に関連するオブジェクトの候
補とする。これらの候補の中には,他オブジェクトに必
要なものも含まれ,この処理で生成された同値クラス表
は,入力パラメータと同様に修正可能であり,また,テ
スト項目生成部によって内部状態のテスト項目を作成す
ることができる。内部状態のテスト項目を入力パラメー
タのテスト項目と組合わせることによって,より詳細な
テスト設計が行える。また,内部状態のテスト項目は,
テスト用に作成するデータベースにどのようなレコード
を用意すればよいかの指針になる。
By the processing of FIGS. 19 and 20, in the sequence diagram where the method to be tested appears, objects other than the input parameters and return objects of the method to be tested are candidates for the object related to the operation of the method. And These candidates include those required for other objects, and the equivalence class table generated in this process can be modified in the same way as the input parameters. Items can be created. More detailed test design can be performed by combining the test items in the internal state with the test items of the input parameters. The test items for the internal state are:
It is a guide to what records should be prepared in the database created for testing.

【0052】上記した各処理では,メソッドをテスト対
象として指定して,そのメソッドについての入力パラメ
ータやデータベースの状態を作るものであったが,クラ
スを指定してその中のメソッドの全ての操作についての
テストを行うようにしたい。その制御が制御部により実
現することができ,以下に説明する。
In each of the above-described processes, the method is specified as a test target, and the input parameters and the state of the database for the method are created. Want to do a test. The control can be realized by the control unit, which will be described below.

【0053】図21はクラス指定による制御部(図1の
7)の処理フローである。この処理フローは,指定され
たクラスと,そのスーパークラスのpublicメソッド(外
部から呼び出すことができるメソッドであり,内部操作
で使用するプライベートメソッドと区別される)をOO
−CASEツールから取り出し,各々のpublicメソッド
に対して,同値クラスの生成,テスト項目の生成を行う
処理を示している。
FIG. 21 is a processing flow of the control unit (7 in FIG. 1) by class designation. In this processing flow, the specified class and the public methods of its superclass (methods that can be called from outside and are distinguished from private methods used in internal operations) are OO
-Shows a process of taking out from the CASE tool and generating an equivalence class and a test item for each public method.

【0054】すなわち,最初にテスト項目を生成するク
ラスCを入力し(図21のS1),OO−CASEツー
ル(図1の8)から,クラスCに含まれるpublicメソッ
ドの個数Nを取得し(同S2),メソッド名リスト(M
Lとする)を設け(同S3),iを1に設定し(同S
4),iがN以下か判別し(同S5),iがNを越えた
場合はS11に移行して,クラスCのスーパークラスに
対して本処理(図21に示す「クラス指定による制御部
の処理」)を行う。S5において,iがN以下である場
合は,OO−CASEツールから,クラスCに含まれる
i番目のpublicメソッドMを取得する(同S6)。次い
で,メソッドMに対して,入力パラメータの同値クラス
生成部の処理を呼び出し,同値クラスの様式M1を取得
し(図21のS7),メソッドMに対して,内部状態の
同値クラス生成部の処理を呼び出し,同値クラスの様式
M2を出力し(同S8),メソッド名Mをメソッド名リ
ストMLに追加し(同S9),iを+1して(同S1
0),上記S5に移行する。
That is, first, a class C for generating a test item is inputted (S1 in FIG. 21), and the number N of public methods included in the class C is obtained from the OO-CASE tool (8 in FIG. 1) ( S2), method name list (M
L) (S3), and i is set to 1 (S3).
4), it is determined whether i is less than or equal to N (S5). If i exceeds N, the process proceeds to S11, and this process is performed on the superclass of class C ("Control unit by class designation shown in FIG. 21"). Process)). If i is equal to or less than N in S5, the i-th public method M included in the class C is acquired from the OO-CASE tool (S6). Next, for the method M, the process of the equivalence class generation unit of the input parameter is called, the format M1 of the equivalence class is acquired (S7 in FIG. 21), and for the method M, the processing of the equivalence class generation unit in the internal state is performed. And outputs the equivalent class format M2 (S8), adds the method name M to the method name list ML (S9), and increments i by 1 (S1).
0), and the process shifts to S5.

【0055】このように,クラス指定により指定された
クラスの全パブリックメソッドに対してテスト項目を作
成することができ,オブジェクト指向の性質を考慮した
テスト設計の支援をすることが可能となる。
As described above, test items can be created for all public methods of the class specified by the class specification, and it is possible to support test design in consideration of the object-oriented property.

【0056】[0056]

【発明の効果】本発明によれば,設計ドキュメントをU
MLセマンティックス準拠のOO−CASEツールで作
成していれば,その中に含まれる情報を用いてテスト設
計を支援することが可能となる。本発明による同値クラ
ス保持部の情報を作成することは,テスト項目を直接作
成することより容易であり,ここで十分な同値クラスを
抽出しておけば,生成されるテスト項目がより良いもの
になる。
According to the present invention, a design document is
If the OO-CASE tool based on the ML semantics complies with the OO-CASE tool, it is possible to support the test design using the information included therein. Creating information of the equivalence class holding unit according to the present invention is easier than creating test items directly. If sufficient equivalence classes are extracted here, the generated test items will be better. Become.

【0057】また,生成されるテスト項目の数が多い場
合は,テスト項目の中から実行可能な数だけ抽出して実
行することになる。これは,グループ内で選択の方針を
決めておけば,アプリケーションに精通していない人で
も必要,十分なテスト項目を選択することが可能とな
る。
If the number of test items to be generated is large, only the executable number of test items are extracted and executed. This means that if you decide on a selection policy within the group, even those who are not familiar with the application can select necessary and sufficient test items.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理構成を示す図である。FIG. 1 is a diagram showing a principle configuration of the present invention.

【図2】同値クラス保持部で保持するデータの構成例を
示す図である。
FIG. 2 is a diagram illustrating a configuration example of data stored in an equivalence class storage unit.

【図3】入力パラメータ同値クラス生成部の処理フロー
を示す図である。
FIG. 3 is a diagram showing a processing flow of an input parameter equivalence class generation unit.

【図4】同値クラス作成処理のフローを示す図である。FIG. 4 is a diagram showing a flow of an equivalence class creation process.

【図5】スーパークラス取得処理(型名A)の詳細を示
す図である。
FIG. 5 is a diagram illustrating details of a superclass acquisition process (model name A).

【図6】オブジェクトに対する同値クラス取得処理のフ
ローを示す図である。
FIG. 6 is a diagram showing a flow of an equivalent class acquisition process for an object.

【図7】集合(配列)に対する同値クラス取得処理のフ
ローを示す図である。
FIG. 7 is a diagram showing a flow of an equivalent class acquisition process for a set (array).

【図8】同値クラステーブルの構造を示す図である。FIG. 8 is a diagram showing the structure of an equivalence class table.

【図9】同値クラス生成部の応用例1の処理フローを示
す図である。
FIG. 9 is a diagram illustrating a processing flow of an application example 1 of the equivalence class generation unit.

【図10】同値クラス生成部の応用例2の処理フローを
示す図である。
FIG. 10 is a diagram illustrating a processing flow of an application example 2 of the equivalence class generation unit.

【図11】同値クラスの出力処理のフローを示す図であ
る。
FIG. 11 is a diagram showing a flow of an equivalent class output process.

【図12】同値クラスの出力様式の例を示す図である。FIG. 12 is a diagram illustrating an example of an output mode of an equivalence class.

【図13】同値クラスのクラス図と同値クラステーブル
を示す図である。
FIG. 13 is a diagram showing a class diagram of an equivalence class and an equivalence class table.

【図14】テスト項目生成部の処理フローを示す図であ
る。
FIG. 14 is a diagram illustrating a processing flow of a test item generation unit.

【図15】同値クラス読み込み処理のフロー(その1)
を示す図である。
FIG. 15 is a flowchart (part 1) of an equivalence class reading process.
FIG.

【図16】同値クラス読み込み処理のフロー(その2)
を示す図である。
FIG. 16 is a flowchart (part 2) of an equivalence class reading process.
FIG.

【図17】組合わせ処理のフローを示す図である。FIG. 17 is a diagram showing a flow of a combination process.

【図18】生成されたテスト項目の具体例を示す図であ
る。
FIG. 18 is a diagram illustrating a specific example of a generated test item.

【図19】内部状態の同値クラス生成部の処理フロー
(その1)を示す図である。
FIG. 19 is a diagram illustrating a processing flow (No. 1) of the equivalence class generation unit in the internal state.

【図20】内部状態の同値クラス生成部の処理フロー
(その2)を示す図である。
FIG. 20 is a diagram depicting a processing flow (No. 2) of the equivalence class generation unit in the internal state;

【図21】クラス指定による制御部の処理フローを示す
図である。
FIG. 21 is a diagram showing a processing flow of a control unit by class designation.

【符号の説明】[Explanation of symbols]

1 同値クラス保持部 2 入力パラメータ同値クラス生成部 3 同値クラスの様式ファイル 4 テスト項目生成部 5 テスト項目の様式ファイル 6 内部状態同値クラス生成部 7 制御部 8 UMLセマンティックス準拠のOO−CASE
ツール 9 入出力部
DESCRIPTION OF SYMBOLS 1 Equivalence class holding part 2 Input parameter equivalence class generation part 3 Equivalence class form file 4 Test item generation part 5 Test item form file 6 Internal state equivalence class generation part 7 Control part 8 OO-CASE based on UML semantics
Tool 9 input / output unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 オブジェクト指向設計に基づくテスト作
業の支援を行うためのテスト項目生成支援装置におい
て,オブジェクト毎にその同値クラスを入力保持する同
値クラス保持部と,UMLセマンティックス準拠のオブ
ジェクト指向CASEツールと前記同値クラス保持部か
ら同値クラスの情報を読み出して,一つのメソッドのシ
グネチャを読み出して,テスト対象となっているメソッ
ドの入力パラメータの同値クラスを生成する入力パラメ
ータ同値クラス生成部と,同値クラスからテスト項目を
生成するテスト項目生成部と,前記入力パラメータ同値
クラス生成部は,継承関係を含むテスト対象のメソッド
の入力パラメータの全同値クラスを決められた様式で出
力可能に記述し,前記テスト項目生成部は前記様式で記
述された入力パラメータ同値クラスに基づいてテスト項
目を生成することを特徴とするテスト項目生成支援装
置。
A test item generation support apparatus for supporting a test operation based on an object-oriented design, comprising: an equivalence class holding unit for inputting and holding an equivalence class for each object; an object-oriented CASE tool conforming to UML semantics; An input parameter equivalence class generation unit that reads equivalence class information from the equivalence class holding unit, reads a signature of one method, and generates an equivalence class of an input parameter of the method to be tested, and The test item generation unit for generating a test item and the input parameter equivalence class generation unit describe all the equivalence classes of the input parameters of the method to be tested including the inheritance relation in a form that can be output in a predetermined format, and the test item The generation unit generates the input parameters described in the above format. A test item generation support device for generating a test item based on a data equivalence class.
【請求項2】 請求項1において,前記入力パラメータ
同値クラス生成部は,メソッドの入力パラメータがオブ
ジェクトである場合に,他のオブジェクトと集約関係に
ある場合にそのオブジェクトも入力パラメータに加え,
前記テスト項目生成部においてテスト項目を生成するこ
とを特徴とするテスト項目生成支援装置。
2. The method according to claim 1, wherein the input parameter equivalence class generation unit adds the object to the input parameter when the input parameter of the method is an object, and when the method has an aggregate relationship with another object,
A test item generation support device, wherein the test item generation unit generates a test item.
【請求項3】 請求項2において,前記入力パラメータ
同値クラス生成部は,集約関係をたどる際に関連するメ
ソッドの向きを表すことを定義されたナビゲーションを
参照し,参照できる向きの関連先のオブジェクトのみを
入力パラメータに加えることを特徴とするテスト項目生
成支援装置。
3. The object according to claim 2, wherein the input parameter equivalence class generation unit refers to a navigation defined to indicate a direction of a related method when tracing an aggregation relationship, and a related destination object having a referenceable direction. A test item generation support device characterized in that only a test item is added to an input parameter.
【請求項4】 請求項1において,UMLセマンティッ
クス準拠のオブジェクト指向CASEツールからテスト
対象となっているメソッドが含まれるシーケンス図を検
索し,検索されたシーケンス図に現れるオブジェクトか
ら入力パラメータと関連オブジェクト以外のオブジェク
トを検出して,メソッドが動作する時に必要なオブジェ
クトの候補とし,当該オブジェクトの同値クラスを生成
する内部状態同値クラス生成部を設け,前記内部状態同
値クラス生成部から出力される同値クラスは,前記入力
パラメータの同値クラスと同様の様式で出力され,前記
テスト項目生成部からは前記様式の同値クラスからテス
ト項目を出力し,入力パラメータのテスト項目と内部状
態のテスト項目を組み合わせることを特徴とするテスト
項目生成支援装置。
4. A method according to claim 1, wherein a sequence diagram including a method to be tested is searched from an object-oriented CASE tool conforming to UML semantics, and an input parameter and a related object other than an input parameter and an object appearing in the searched sequence diagram are searched. And an internal state equivalence class generation unit for generating an equivalence class of the object is provided as a candidate for an object required when the method operates, and the equivalence class output from the internal state equivalence class generation unit is The test items are output in the same format as the equivalent class of the input parameters, the test item generator outputs the test items from the equivalent class of the format, and combines the test items of the input parameters and the test items of the internal state. Test item generation support device.
JP2000031688A 2000-02-09 2000-02-09 Test item generation supporting device Pending JP2001222429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000031688A JP2001222429A (en) 2000-02-09 2000-02-09 Test item generation supporting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000031688A JP2001222429A (en) 2000-02-09 2000-02-09 Test item generation supporting device

Publications (2)

Publication Number Publication Date
JP2001222429A true JP2001222429A (en) 2001-08-17
JP2001222429A5 JP2001222429A5 (en) 2004-12-02

Family

ID=18556414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000031688A Pending JP2001222429A (en) 2000-02-09 2000-02-09 Test item generation supporting device

Country Status (1)

Country Link
JP (1) JP2001222429A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8365112B2 (en) 2009-09-04 2013-01-29 Fujitsu Limited Verification apparatus and design verification program
CN116541854A (en) * 2023-07-06 2023-08-04 北京华云安信息技术有限公司 Vulnerability testing method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8365112B2 (en) 2009-09-04 2013-01-29 Fujitsu Limited Verification apparatus and design verification program
CN116541854A (en) * 2023-07-06 2023-08-04 北京华云安信息技术有限公司 Vulnerability testing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5102828B2 (en) Method and system for generating an application data editor
US5428729A (en) System and method for computer aided software engineering
US5758160A (en) Method and apparatus for building a software program using dependencies derived from software component interfaces
CN111241454B (en) Method, system and device for generating webpage codes
US8826225B2 (en) Model transformation unit
US8752020B2 (en) System and process for debugging object-oriented programming code leveraging runtime metadata
JPH1040087A (en) Method for handling data model to be used for software engineering
US9141344B2 (en) Hover help support for application source code
Lins The Modula-2 Software Component Library: Volume 3
US7954110B1 (en) Observing properties associated with an object in an object-oriented programming platform
US10241899B2 (en) Test input information search device and method
Dearle On the construction of persistent programming environments
Lausdahl et al. Connecting UML and VDM++ with open tool support
Polášek et al. Information and knowledge retrieval within software projects and their graphical representation for collaborative programming
Anquetil et al. Modular Moose: A new generation software reverse engineering environment
JP2001222429A (en) Test item generation supporting device
Wolfe et al. The Ada language system
Burgueño et al. LinTraP: Primitive Operators for the Execution of Model Transformations with LinTra.
JP3166699B2 (en) Object-oriented program design support apparatus, method, and recording medium
Nelson et al. The class storage and retrieval system: Enhancing reusability in object-oriented systems
US10768912B1 (en) Platform class creation
Cantwell et al. A Programmer’s Guide to Nektar+
EP1290551A1 (en) Methods and systems for relating data structures and object-oriented elements for distributed computing
El-Attar UseCaseDiff: an algorithm for differencing use case models
Tye A prototype abstract data store

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051025

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060124