JPH0779373B2 - Compatibility test suite creation device - Google Patents

Compatibility test suite creation device

Info

Publication number
JPH0779373B2
JPH0779373B2 JP5028912A JP2891293A JPH0779373B2 JP H0779373 B2 JPH0779373 B2 JP H0779373B2 JP 5028912 A JP5028912 A JP 5028912A JP 2891293 A JP2891293 A JP 2891293A JP H0779373 B2 JPH0779373 B2 JP H0779373B2
Authority
JP
Japan
Prior art keywords
test
transition table
state transition
action
test suite
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.)
Expired - Lifetime
Application number
JP5028912A
Other languages
Japanese (ja)
Other versions
JPH06241840A (en
Inventor
聡 似内
健一 高橋
吉則 石幡
Original Assignee
株式会社高度通信システム研究所
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 株式会社高度通信システム研究所 filed Critical 株式会社高度通信システム研究所
Priority to JP5028912A priority Critical patent/JPH0779373B2/en
Publication of JPH06241840A publication Critical patent/JPH06241840A/en
Publication of JPH0779373B2 publication Critical patent/JPH0779373B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、OSI(Open Systems
Interconnection)標準に基づいて製造された(N)層
実装に対して準拠標準への適合性を試験する適合性試験
装置で使用する実行型試験スイートを生成するための適
合性試験スイート作成装置に関するものである。
The present invention relates to OSI (Open Systems).
Interconnection) Conformance test suite creation apparatus for generating an executable test suite for use in a conformity test apparatus that tests conformity to a conforming standard for (N) layer packaging manufactured based on the standard Is.

【0002】[0002]

【従来の技術】図12は、適合性試験装置の構成例を示
すブロック図である。
2. Description of the Related Art FIG. 12 is a block diagram showing a configuration example of a compatibility test apparatus.

【0003】OSIプロトコル仕様およびサービス定義
に関するOSI標準110に準拠して作られたOSI参
照モデルの(N)層を実装した情報通信端末の相互接続
性の確保のため、各情報通信端末のOSI参照モデルの
(N)層実装が、準拠したOSI標準に正しく適合して
いるか否かの判定を行うための試験として適合性試験が
ある。(ISO/IEC 9646)
In order to ensure the interoperability of the information communication terminals implementing the (N) layer of the OSI reference model created in conformity with the OSI protocol specifications and the OSI standard 110 concerning the service definition, the OSI reference of each information communication terminal is performed. There is a conformance test as a test for determining whether or not the (N) layer implementation of the model properly complies with the compliant OSI standard. (ISO / IEC 9646)

【0004】(N)層をプログラムや論理回路等で実現
したものを実装という。特に適合性試験装置140の対
象となる実装を試験対象実装(IUT:Implementation
Under Test )150という。
The implementation of the (N) layer by a program or a logic circuit is called mounting. In particular, the target implementation of the conformance test apparatus 140 is tested target implementation (IUT: Implementation).
Under Test) 150.

【0005】適合性試験装置140は、試験実行制御部
141、下位テスタ142、上位テスタ143および試
験結果判定出力部144からなる。IUT150と適合
性試験装置の下位テスタ142は、OSIの下位レイヤ
サービスすなわち(N−1)サービス(以下下位レイヤ
という)160を利用して(N−1)コネクション16
1を確立する。実行型試験ケース131に基づいて試験
実行制御部141は上位テスタ143と下位テスタ14
2を制御し、両者の動作を調和させながらIUT150
にアクションを加え、その反応のイベントを観測してI
UT150の動作を試験する。上位テスタ143の制御
は試験実行制御部141と上位テスタ143との間に試
験管理コネクション162を確立し、試験実行制御部1
41が行う。
The compatibility test apparatus 140 comprises a test execution control section 141, a lower tester 142, an upper tester 143 and a test result judgment output section 144. The IUT 150 and the lower-order tester 142 of the compatibility test apparatus use the lower layer service of OSI, that is, the (N-1) service (hereinafter referred to as the lower layer) 160, to the (N-1) connection 16
Establish 1. Based on the execution-type test case 131, the test execution control unit 141 controls the upper tester 143 and the lower tester 14
IUT150 while controlling 2 and harmonizing the operation of both
I add an action to and observe the reaction event
Test operation of UT 150. The control of the upper tester 143 establishes the test management connection 162 between the test execution control unit 141 and the upper tester 143, and the test execution control unit 1
41 does.

【0006】IUT150を制御、観測する点を制御・
観測点(PCO:Point of Controland Observation)
と言う。試験ケースは、PCOにおけるデータの遣り取
りの仕様を記述するものである。図12の例でPCOは
IUT150の下位インターフェイスに相当する点L、
上位インターフェイスに相当する点U、試験管理コネク
ションに対応する点Mの3点がある。試験ケースはこれ
らのPCO3点を適宜組み合わせて試験動作を記述す
る。なお、一般に上位テスタ143とIUT150とは
同一の装置に組み込まれることが多く、被試験システム
SUT(System Under Test )170となる。
Control the IUT 150, control the point of observation
Observation point (PCO: Point of Control and Observation)
Say The test case describes the specifications of data exchange in the PCO. In the example of FIG. 12, PCO is a point L corresponding to the lower interface of the IUT 150,
There are three points, a point U corresponding to the host interface and a point M corresponding to the test management connection. The test case describes the test operation by appropriately combining these three PCO points. In general, the upper tester 143 and the IUT 150 are often incorporated in the same device, and form a system under test (SUT) 170.

【0007】適合性試験の試験仕様を記述したドキュメ
ントである試験ケースは、試験対象実装が準拠したOS
I国際標準110に基づいて抽象試験ケース121とし
て、例えば、TTCN.GR(Tree and Tabular Combi
ned Notation,Graphical Form;ISO/IEC9646)と
いう記述言語を用いて人間に読みやすい形で記述され
る。通常試験ケースは複数個あり、試験ケースの全体集
合を試験スイートという。この抽象試験ケース121に
基づいて適合性試験装置140が実行できる形式の実行
型試験ケース131が生成される。これを用いて適合性
試験装置が試験を実行しIUT150の動作を制御、観
測してその結果からOSI標準に対するIUTの適合性
の判定を出す。120は抽象試験スイート、130は実
行型試験スイートである。
The test case, which is a document describing the test specifications of the conformance test, is an OS to which the test target implementation conforms.
As the abstract test case 121 based on the I international standard 110, for example, TTCN. GR (Tree and Tabular Combi
ned Notation, Graphical Form; ISO / IEC9646) is used to describe in human-readable form. There are usually multiple test cases, and the entire set of test cases is called a test suite. Based on this abstract test case 121, an executable test case 131 in a format that the compatibility test apparatus 140 can execute is generated. Using this, the conformity testing apparatus executes a test, controls and observes the operation of the IUT 150, and from the result, judges the conformity of the IUT to the OSI standard. 120 is an abstract test suite, and 130 is an execution test suite.

【0008】試験対象実装の動作を制御観測した結果と
OSI標準の規定に基づいて試験ケースに記述された動
作との比較により、試験対象実装に対して試験ケース毎
に通過(pass)、失敗(fail)、不確定(in
conclusive)のいずれかの判定が行われる。
By comparing the result of controlling and observing the operation of the test object mounting with the operation described in the test case based on the provisions of the OSI standard, the test object mounting passes (pass) or fails (test) for each test case. fail), indeterminate (in
One of the determinations of "conclusive" is performed.

【0009】従来の適合性試験装置では、抽象試験ケー
スから実行型試験ケースの生成は例えば、抽象試験ケー
スとしてTTCN.GRにより試験仕様を記述し、これ
を言語変換装置により実行型試験ケースとしてTTC
N.MP(Tree and Tabular Combined Notation,Machi
ne Processable form )を生成して適合性試験装置に実
装し試験装置を動作させるものであった。
In the conventional conformance test apparatus, generation of an execution type test case from an abstract test case is performed by, for example, TTCN. The test specifications are described in GR, and the TTC is used as an execution type test case by the language conversion device.
N. MP (Tree and Tabular Combined Notation, Machi
ne Processable form) was generated and mounted on the conformance test equipment to operate the test equipment.

【0010】TTCN.MPは言語として人間の理解性
が比較的低く、それを理解するためには専門的な知識が
必要であるため、一度TTCN.GRからTTCN.M
Pに変換されるとその試験ケースがどのような試験を行
うのかという理解性は著しく低下するので実行型試験ケ
ースが正しく生成されたかどうかのデバッグ作業を効率
の悪いものとするという問題があった。
TTCN. MP has relatively low human comprehension as a language and requires specialized knowledge to understand it, so once the TTCN. GR to TTCN. M
When it is converted to P, the comprehension of what kind of test the test case does is significantly deteriorated, so that there is a problem that the debugging work of whether or not the execution test case is correctly generated becomes inefficient. .

【0011】一方、実行型試験ケースとして状態遷移表
形式のものを使用する適合性試験装置の例が特願平4−
35386号に開示されているように、実行型試験ケー
スの生成方法としてTTCN.GRから状態遷移表形式
実行型試験ケースを生成する方法も取りうるが、従来、
人手による作成方法のみしかなかったため、非常に手間
の掛かる困難な作業であった。
On the other hand, an example of a conformity testing apparatus that uses a state transition table format as an execution type test case is disclosed in Japanese Patent Application No.
As disclosed in Japanese Patent No. 35386, TTCN. A method of generating a state transition table format execution type test case from GR can also be used, but conventionally,
It was a very laborious and difficult task because there was only a manual method.

【0012】[0012]

【発明が解決しようとする課題】本発明は上記の点に鑑
みてなされたもので、抽象試験スイートとしてTTC
N.GRで記述されたものから適合性試験のための状態
遷移表形式実行型試験スイートの作成を効率良く行うた
めの適合性試験スイート作成装置を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points and has been proposed as an abstract test suite for TTC.
N. An object of the present invention is to provide a conformance test suite creation device for efficiently creating a state transition table format execution type test suite for conformity tests from those described in GR.

【0013】[0013]

【課題を解決するための手段】本発明は上記課題を解決
するために、TTCN.GRを用いて記述した抽象試験
ケースを基にして、状態遷移表形式の実行型試験ケース
の作成を縦軸が状態番号と受信指示アクション記述欄、
横軸が入力イベントからなり、動作内容を記述するボッ
クスには、状態遷移表管理アクション、試験動作アクシ
ョン、次状態番号からなる動作を表記述とすることによ
り行うようにしたことを特徴とするものである。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is directed to TTCN. Based on the abstract test case described using GR, the vertical axis indicates the creation of the execution test case in the state transition table format, the vertical axis is the state number and the reception instruction action description column,
The horizontal axis consists of input events, and in the box that describes the operation contents, the operation consisting of the state transition table management action, the test operation action, and the next state number is used as a table description to perform the operation. Is.

【0014】又、上記のものにおいて人間によるデバッ
グ用として状態遷移表形式の試験ケースを初めに罫線付
きで作成し、次に適合性試験装置に実装するための実行
型試験スイートに展開する場合には、適合性試験装置で
の試験実行には不要となる罫線を取り除いた形式で記録
するようにしたことを特徴とするものである。
Further, in the above case, when a test case in the state transition table format is first created with ruled lines for human debugging, and then developed into an execution type test suite to be mounted on the compatibility test apparatus. Is characterized in that it is recorded in a format in which ruled lines, which are unnecessary for the test execution by the compatibility test apparatus, are removed.

【0015】[0015]

【作用】本発明は、OSI参照モデルの(N)層実装に
対する適合性試験装置用の試験スイートの作成におい
て、TTCN.GRで記述した抽象試験スイートから状
態遷移表形式の実行型試験スイートを自動生成すること
により実行型試験スイートの作成を効率化するものであ
る。
According to the present invention, in the creation of a test suite for a conformance test apparatus for the (N) layer implementation of the OSI reference model, TTCN. This is to efficiently create an execution type test suite by automatically generating an execution type test suite in the state transition table format from the abstract test suite described in GR.

【0016】[0016]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】図1は、本発明の一実施例に係わる適合性
試験スイート作成装置のブロック図である。図におい
て、10はTTCN.GRで記述した抽象試験スイー
ト、20は適合性試験スイート作成装置、30はTTC
N.GRの構文解釈部、31は入力イベント抽出部、3
2は入力イベントに対する階層決定部、33は状態遷移
表の階層間で試験動作を遣り取りするための遷移表間入
力イベント設定部および比較結果入力イベント設定部、
34は出力アクション抽出部、35は出力アクションに
対する階層決定部、40は横軸作成部、41は(N−
1)サービスプリミティブ入力イベント作成部、42は
(N)PDU入力イベント作成部、43は(N)サービ
スプリミティブ入力イベント作成部、50は縦軸および
ボックス記述の作成部、51はボックス記述作成部、5
2は(N−1)サービスプリミティブ出力アクション作
成部、53は(N)PDU出力アクション作成部、54
は(N)サービスプリミティブ出力アクション作成部、
55は状態遷移表の状態番号管理・付与部、56は受信
指示アクション生成部、60は状態遷移表形式実行型試
験スイート合成部、61は罫線付(N−1)サービスプ
リミティブ状態遷移表、62は罫線付(N)PDU状態
遷移表、63は罫線付(N)サービスプリミティブ状態
遷移表、70は罫線除去回路、80はテキストファイル
出力部、90は罫線付状態遷移表形式実行型試験スイー
ト表示部、100は状態遷移表形式実行型試験スイート
(罫線無)である。
FIG. 1 is a block diagram of a conformance test suite creating apparatus according to an embodiment of the present invention. In the figure, 10 is TTCN. Abstract test suite described in GR, 20 is a conformance test suite creating device, 30 is TTC
N. GR syntax interpretation unit, 31 is an input event extraction unit, 3
2 is a hierarchy decision unit for input events, 33 is an inter-transition-table input event setting unit and a comparison result input event setting unit for exchanging test operations between layers of the state transition table,
34 is an output action extraction unit, 35 is a hierarchy determination unit for output actions, 40 is a horizontal axis generation unit, and 41 is (N-
1) service primitive input event creation unit, 42 (N) PDU input event creation unit, 43 (N) service primitive input event creation unit, 50 vertical axis and box description creation unit, 51 box description creation unit, 5
2 is an (N-1) service primitive output action creation unit, 53 is an (N) PDU output action creation unit, 54
Is an (N) service primitive output action creation unit,
Reference numeral 55 is a state number management / assignment unit of the state transition table, 56 is a reception instruction action generation unit, 60 is a state transition table format execution type test suite synthesis unit, 61 is a ruled line (N-1) service primitive state transition table, 62 Is a ruled (N) PDU state transition table, 63 is a ruled (N) service primitive state transition table, 70 is a ruled line removal circuit, 80 is a text file output section, 90 is a ruled state transition table format execution type test suite display Part 100 is a state transition table format execution type test suite (no ruled lines).

【0018】TTCN.GRで記述された抽象試験スイ
ート10は各試験ケースごとに順次適合性試験スイート
作成装置20に入力され、まず構文解釈部30により入
力イベント、出力アクション、階層間のイベント交換
(遷移表間入力イベント、比較結果入力イベントに相
当)に区分される。その出力から入力イベント抽出部3
1は入力イベントのみを抽出し、階層決定部32に送
る。作成すべき状態遷移表の横軸は入力イベント列であ
り、横軸作成部40は次次に送られてくる入力イベント
を階層毎に記録、処理し横軸を作成する。さらに遷移表
間入力イベント設定部および比較結果入力イベント設定
部33から送られてくる遷移表間の試験動作の遣り取り
の記述用の入力イベント、例えば、下位遷移表での試験
動作の結果が正しい(ANS−OK)とか不正(ANS
−NG)などを横軸に加え、横軸は完成する。
TTCN. The abstract test suite 10 described in GR is sequentially input to the conformance test suite creating device 20 for each test case, and first, the syntax interpreting unit 30 inputs an event, an output action, and an event exchange between layers (inter-transition table input event). , Corresponding to the comparison result input event). Input event extractor 3 from the output
1 extracts only the input event and sends it to the hierarchy determining unit 32. The horizontal axis of the state transition table to be created is the input event sequence, and the horizontal axis creating unit 40 creates and creates the horizontal axis by recording and processing the next input event sent for each layer. Further, the input event for describing the interaction of the test operation between the transition tables sent from the transition table input event setting section and the comparison result input event setting section 33, for example, the result of the test operation in the lower transition table is correct ( ANS-OK) or illegal (ANS
-NG) is added to the horizontal axis to complete the horizontal axis.

【0019】一方、出力アクション抽出部34はTTC
N.GRの各行の記述から出力アクションに相当する
“!”記号のある行および“?”も“!”のいずれもな
い行を抽出し、階層決定部35で状態遷移表の階層を決
定し、ボックス記述作成部51に送る。ただし、“?”
も“!”のいずれもない行の階層は状態遷移表1とす
る。ボックス記述作成部51では、各階層ごとに出力ア
クションを生成すると共に状態番号管理・付与部55に
よりTTCN.GRの“?”記号のある行ごとに状態番
号を付与していく。と同時にボックス記述に次状態番号
を記述する。
On the other hand, the output action extraction unit 34 uses the TTC
N. From the description of each line of GR, a line corresponding to an output action, which has a "!" Symbol and a line which has neither "?" Nor "!", Is extracted, the hierarchy determination unit 35 determines the hierarchy of the state transition table, and the box It is sent to the description creating section 51. However, "?"
The state transition table 1 is used for the hierarchy of the row having neither "" nor "!". In the box description creating unit 51, an output action is generated for each layer and the state number management / assignment unit 55 causes the TTCN. A state number is given to each line of the GR having a "?" Symbol. At the same time, describe the next state number in the box description.

【0020】受信指示アクション生成部56は、TTC
N.GRの構文解釈部30の出力を入力として、自発的
動作を“N”、TTCN.GR記述に“?”記号のある
ものは、入力イベント待ち受け状態として“?”、ボッ
クス記述作成部51の処理の結果から状態遷移表の下位
階層からの返答もしくは既に入力済となっているイベン
トにより再度遷移表の横軸を決定する場合は、“S”の
区分により受信指示アクションを記述する。
The reception instruction action generation unit 56 uses the TTC
N. Using the output of the GR syntax interpreting unit 30 as an input, the spontaneous action is "N", TTCN. If the GR description has a "?" Symbol, it means "?" As the input event waiting state, the result of the process of the box description creating unit 51 indicates a response from the lower hierarchy of the state transition table, or an event that has already been input. When determining the horizontal axis of the transition table again, the reception instruction action is described by the section of "S".

【0021】状態遷移表形式実行型試験スイート合成部
60は、横軸生成部40、ボックス記述作成部51、状
態番号管理・付与部55、受信指示アクション生成部5
6からの出力を入力として罫線付状態遷移表を生成す
る。これは、罫線付(N−1)サービスプリミティブ状
態遷移表61(階層1)、罫線付(N)PDU状態遷移
表62(階層2)、罫線付(N)サービスプリミティブ
状態遷移表63(階層3)の3階層からなる。
The state transition table format execution type test suite synthesizing unit 60 includes a horizontal axis generating unit 40, a box description creating unit 51, a state number managing / assigning unit 55, and a reception instruction action generating unit 5.
The output from 6 is used as an input to generate a ruled line state transition table. This is the ruled line (N-1) service primitive state transition table 61 (layer 1), the ruled line (N) PDU state transition table 62 (layer 2), the ruled line (N) service primitive state transition table 63 (layer 3). ) Consists of three layers.

【0022】状態遷移表形式実行型試験スイート合成部
60の出力は、罫線除去回路70に渡され、罫線が除去
され、テキストファイル出力部80を経由し適合性試験
装置で使用できる状態遷移表形式実行型試験スイート1
00として出力される。
State transition table format The output of the execution type test suite synthesizing unit 60 is passed to the ruled line removal circuit 70, the ruled lines are removed, and the state transition table format which can be used by the compatibility test apparatus via the text file output unit 80 is provided. Execution type test suite 1
It is output as 00.

【0023】また状態遷移表形式実行型試験スイート合
成部60の出力は、罫線付状態遷移表形式実行型試験ス
イート表示部90により罫線付の実行型試験スイートと
して表示出力される。
The output of the state transition table format execution type test suite combining section 60 is displayed and output as a ruled line execution type test suite by the ruled line state transition table format execution type test suite display section 90.

【0024】なお、出力された状態遷移表形式実行型試
験スイート100は、例えば特願平4−35386号
「適合性試験の実行方式」で開示されているように適合
性試験装置の論理回路メモリに展開されて適合性試験に
使用されるが、この論理回路メモリに展開して使用する
場合にもし罫線付状態遷移表形式実行型試験スイートで
あるとするとそのままでは論理回路メモリへの展開は困
難であるのが一般的である。これを解決するためには、
状態遷移表の構造を解釈して罫線を除いた部分のデータ
のみを正しく論理回路メモリに展開するための回路を付
加する必要が生じるが、高速処理を要求される試験装置
にこれを付加するのは効率的ではない。しかし、一方で
は、生成された状態遷移表形式実行型試験スイートが正
しいかどうかを適合性試験スイート作成装置の操作者が
デバッグする場合には、生成試験スイートの内容の理解
性を高く保ちデバッグの効率を良くするため、罫線付状
態遷移表形式実行型試験スイートを出力することも必要
となる。このため本適合性試験スイート作成装置20で
は、表示部90よりの罫線付状態遷移表形式実行型試験
スイートの表示出力と罫線の無い状態遷移表形式実行型
試験スイート100の出力の両方を行えるという効果が
ある。図2は、本発明の一実施例に係わる状態遷移表形
式実行型試験スイートの構造を示す図である。
The output state transition table format execution type test suite 100 is the logic circuit memory of the conformity testing apparatus as disclosed in, for example, Japanese Patent Application No. 4-35386 "Execution Method of Conformance Test". Is used for conformity testing, but if it is developed and used in this logic circuit memory, if it is a ruled state transition table format execution type test suite, it is difficult to expand it to the logic circuit memory as it is. Is generally. To solve this,
It is necessary to add a circuit for interpreting the structure of the state transition table and correctly expanding only the data of the part excluding the ruled lines into the logic circuit memory, but add this to the test equipment that requires high-speed processing. Is not efficient. However, on the other hand, when the operator of the conformance test suite creating device debugs whether the generated state transition table format execution test suite is correct, the contents of the generated test suite should be kept highly understandable. In order to improve efficiency, it is also necessary to output a ruled state transition table format execution type test suite. Therefore, the conformance test suite creating apparatus 20 can perform both display output of the ruled line state transition table format execution type test suite from the display unit 90 and output of the ruled line state transition table format execution type test suite 100. effective. FIG. 2 is a diagram showing the structure of a state transition table format execution type test suite according to an embodiment of the present invention.

【0025】試験スイートは複数の試験ケース、例えば
M個の試験ケースからなる。状態遷移表形式の実行型試
験スイートは、(N−1)サービスプリミテイブ用(状
態遷移表1(階層1))、(N)PDU用(状態遷移表
2(階層2))、(N)サービスプリミティブ用(状態
遷移表3(階層3))の3階層構成をとり、図2(a)
に示す構造とする。各状態遷移表の構造は、図2(b)
に例を示すとおりである。 横軸は、入力イベントを示
し、縦軸は状態番号と受信指示アクションの記述欄から
なる。受信指示アクションは、横軸の入力イベントに対
する受信指示動作を記述するためのものである(図4参
照)。入力イベントと各状態番号の交点は、ボックスと
呼び実行するアクションおよび次の状態番号を記述す
る。図3は、本発明の一実施例に係わる状態遷移表形式
実行型試験ケースの状態番号の記述方法であり、(a)
は現在状態番号、(b)は次状態番号である。
The test suite consists of a plurality of test cases, for example M test cases. The execution test suite in the state transition table format includes (N-1) service primitives (state transition table 1 (tier 1)), (N) PDUs (state transition table 2 (tier 2)), (N). 2) For the service primitive (state transition table 3 (layer 3)), a three-layer structure is adopted, and FIG.
The structure is as shown in. The structure of each state transition table is shown in FIG.
An example is shown in. The horizontal axis indicates the input event, and the vertical axis includes the state number and the description field of the reception instruction action. The reception instruction action is for describing the reception instruction operation for the input event on the horizontal axis (see FIG. 4). The intersection of the input event and each status number is called a box and describes the action to be executed and the next status number. FIG. 3 is a description method of a state number of a state transition table format execution type test case according to an embodiment of the present invention.
Is the current state number, and (b) is the next state number.

【0026】現在状態番号は、初期値として例えば「0
00」のように適当な桁数で0を表示したものとし、そ
れ以降は昇順の任意の数値をとる。状態番号はTTC
N.GRの各行の記述に“?”記号が現れるごとにその
行に対応して付与する。
The current state number is, for example, "0" as an initial value.
It is assumed that 0 is displayed with an appropriate number of digits such as "00", and thereafter, any numerical value in ascending order is taken. State number is TTC
N. Each time a "?" Symbol appears in the description of each line of GR, it is given corresponding to that line.

【0027】例外として、最初の自発動作は例えば
“!”記号を含み“?”を含まないが、これを現在状態
番号の初期値000とする。また、状態遷移表の上位層
のアクションの結果を下位階層に引き渡し(ボックスの
アクションの最後のところに“DOWN”により示
す。)、下位階層で評価した結果を上位に返す場合は、
これを待つための状態を上記の昇順に割り込んで設け
る。なお、この場合の受信指示アクションはSと記述す
る(図4参照)。またこの状態で待つ入力イベントは下
位階層からの回答であり、例えばANS−OKおよびA
NS−NGなどと記述する。次状態番号は、ボックス内
のアクションを実行後に次に遷移すべき状態番号であ
り、ボックスの一番左下に記述する。あるアクション実
行後に最終状態になる場合は、次状態番号は例えば“E
ND”のように記述し、終端であることを示す。
As an exception, the first spontaneous action includes, for example, the "!" Symbol and does not include "?", Which is the initial value 000 of the current state number. In addition, when the result of the action of the upper layer of the state transition table is passed to the lower layer (indicated by "DOWN" at the end of the action of the box) and the result evaluated by the lower layer is returned to the upper layer,
The state for waiting for this is provided by interrupting in the ascending order. The reception instruction action in this case is described as S (see FIG. 4). The input event waiting in this state is an answer from a lower hierarchy, such as ANS-OK and A.
Described as NS-NG. The next state number is the state number to be transitioned to next after executing the action in the box, and is described at the bottom left of the box. If the final state is reached after execution of an action, the next state number is "E
It is described as ND "to indicate the end.

【0028】図4は、本発明の一実施例に係わる状態遷
移表形式実行型試験ケースの出力アクションと受信指示
アクションの記述法である。アクションには、出力アク
ションと受信指示アクションの2種類がある。
FIG. 4 is a description method of the output action and the reception instruction action of the state transition table format execution type test case according to the embodiment of the present invention. There are two types of actions, an output action and a reception instruction action.

【0029】受信指示アクションは、横軸の入力イベン
トに対する受信指示動作を記述するためのものであり、
状態遷移直後の動作状態を示す。状態遷移表の縦軸、状
態番号の右隣に記述する。種類は、入力イベントの待機
を指示する“?”、下位の状態遷移表からの応答待ちあ
るいは既に入力済になっているイベントにより再度遷移
表の横軸を決定するための“S”、自発動作を示す
“N”である。
The reception instruction action is for describing the reception instruction operation for the input event on the horizontal axis.
The operation state immediately after the state transition is shown. Describe on the vertical axis of the state transition table, to the right of the state number. The type is “?” That indicates waiting for an input event, “S” that waits for a response from the lower state transition table, or “S” that determines the horizontal axis of the transition table again according to the events that have already been input. Is “N”.

【0030】出力アクションは、ボックス内に記述する
もので出力動作を示す。状態遷移表の制御のための状態
遷移表管理アクションと試験対象プロトコルに従って適
合性試験装置に動作を行わせるためのアクションを記述
する試験動作アクションからなる。
The output action is described in the box and indicates the output operation. It consists of a state transition table management action for controlling the state transition table and a test operation action that describes an action for causing the conformance testing device to perform an operation according to the test target protocol.

【0031】図5(a),(b)は、本発明の一実施例
に係わる状態遷移表形式実行型試験ケースの状態遷移表
管理アクションの引数の記述例である。状態遷移表管理
アクションは引数を持つ。引数は{で始まり、+で連結
され、}で終了する。例えば、試験結果の判定を表すア
クションであるRESULTの引数は、TTCN.GR
の記述をもとに図5(b)に示すようにPASS、FA
IL、INCONCLUSIVE、ABORTと表す。
適合性試験装置は、IUTを制御・観測して最終的な入
力イベントから状態遷移表の到達したボックスを調べ、
そこに記述された結果RESULTの引数から試験結果
の判定を得る。なお、ABORTはシステムの異常によ
り試験の実行を強制的に中止させるために用いる。
FIGS. 5A and 5B are description examples of arguments of the state transition table management action of the state transition table format execution type test case according to the embodiment of the present invention. The state transition table management action has an argument. Arguments start with {, concatenate with +, and end with}. For example, the argument of RESULT, which is an action indicating the determination of the test result, is TTCN. GR
As shown in Fig. 5 (b), PASS, FA
IL, INCONCLUSIVE, and ABORT.
The conformance tester controls and observes the IUT to check the arrived box of the state transition table from the final input event,
The judgment of the test result is obtained from the argument of the result RESULT described therein. ABORT is used to forcibly cancel the execution of the test due to a system abnormality.

【0032】図6は、本発明の一実施例に係わるTTC
N.GRの記述から横軸を作成する方法であり、(a)
はTTCN.GRの入力イベントの記述内容例、(b)
はTTCN.GRから状態遷移表の横軸を生成するフロ
ー図である。TTCN.GRで“?”の記号のある行に
対して、横軸作成のための処理を行う。図1では、横軸
作成部40で処理されるものである。
FIG. 6 shows a TTC according to an embodiment of the present invention.
N. It is a method to create the horizontal axis from the GR description, (a)
Is TTCN. Example of description contents of GR input event, (b)
Is TTCN. It is a flowchart which produces | generates the horizontal axis of a state transition table from GR. TTCN. The process for creating the horizontal axis is performed on the line with the "?" Symbol in GR. In FIG. 1, the processing is performed by the horizontal axis creating unit 40.

【0033】はじめにTTCN.GRの記述から階層毎
に入力イベントを抽出する。これを全ての試験ケース即
ち試験ケース全体に対して行う。処理の結果を記録して
おき、最終的に処理結果を適宜並べ、これに遷移表間入
力イベントと比較結果入力イベントを加えて横軸を作
る。
First, TTCN. Input events are extracted for each layer from the GR description. This is done for all test cases, ie the entire test case. The result of the processing is recorded, and finally the processing results are appropriately arranged, and the transition table input event and the comparison result input event are added to this to create the horizontal axis.

【0034】図7及び図8は、本発明の一実施例に係わ
るTTCN.GRから出力アクションおよび次状態番号
の生成方法であり、図7(a)はTTCN.GRから出
力アクション、次状態番号の記入内容例、図7(b)は
TTCN.GRの記述で記号“!”,“?”のいずれも
ない行についての出力アクション,次状態番号の記入内
容例,図7(c)はTTCN.GRから結果判定の出力
アクションの記入例、図8はTTCN.GRから状態遷
移表の出力アクション、次状態番号を作成するフロー図
である。
7 and 8 show a TTCN. This is a method of generating an output action and a next state number from GR, and FIG. Output action from GR, example entry contents of next state number, FIG. 7B shows TTCN. In the description of GR, an output action for a line without the symbols "!" Or "?", An example of the entry contents of the next state number, and FIG. 7C shows TTCN. An example of entry of the output action of the result judgment from GR, FIG. 8 shows TTCN. It is a flow diagram which produces the output action of a state transition table, and the next state number from GR.

【0035】TTCN.GRの先頭から“!”の記号の
ある行に対して順次、出力アクション作成のための処理
を行う(図7(a)参照)。図1では、ボックス記述作
成部51で処理されるものである。なお、記号“!”,
“?”のいずれもない行は(N−1)サービスプリミテ
イブ出力アクション作成部52で処理を行う。図1の状
態番号管理・付与部55は、全体の構文解釈結果から状
態番号を作成しておき、ボックス内の次状態番号を付与
する。TTCN.GRの記述で記号“!”,“?”のい
ずれもない行については、順次出力アクション作成のた
めの処理を行う(図7(b)参照)。ここで、ボックス
内の出力アクションはTTCN.GR記述の各行を先頭
側から順に処理してゆき順番に各階層ごとに並べる。あ
る1つのボックス内にはTTCN.GR記述で“?”の
ある行が次に出現する直前の行までを処理した結果の出
力アクションを記述する。試験結果の判定は、図7
(c)に示す通り、TTCN.GRの記述からボックス
に記述される。
TTCN. The process for creating the output action is sequentially performed on the line having the symbol "!" From the beginning of the GR (see FIG. 7A). In FIG. 1, it is processed by the box description creating unit 51. The symbol "!",
A line without any "?" Is processed by the (N-1) service primitive output action creation unit 52. The state number management / assignment unit 55 in FIG. 1 creates a state number from the overall syntax interpretation result and assigns the next state number in the box. TTCN. In the GR description, for lines that do not have the symbols "!" And "?", The process for creating a sequential output action is performed (see FIG. 7B). Here, the output action in the box is TTCN. Each line of the GR description is processed in order from the head side and arranged in order for each layer. Within one box is TTCN. Describe the output action that is the result of processing up to the line immediately before the line with "?" Next appears in the GR description. Figure 7 shows the test results.
As shown in (c), TTCN. It is described in the box from the GR description.

【0036】図9は本発明の一実施例に係わる受信指示
アクションの生成法であり、(a)はTTCN.GR記
述である行の次行に“?”記号がある場合の例、(b)
は自発的動作、(c)は処理対象の状態遷移表の階層の
切り替えである。
FIG. 9 shows a method of generating a reception instruction action according to an embodiment of the present invention. (A) shows TTCN. Example in which there is a "?" Symbol on the line following the GR description line, (b)
Is a voluntary operation, and (c) is switching of the hierarchy of the state transition table to be processed.

【0037】TTCN.GRの行に“?”記号がある場
合は、その最直前の出力アクションの次状態番号で指示
された状態番号の受信指示アクションは入力イベントを
待機することを示す“?”とする。自発的動作の受信指
示アクションは、“N”で表す。処理対象の状態遷移表
の階層を切り替える場合の受信指示アクションは、
“S”で表す。図10は本発明の一実施例に係わる状態
遷移表形式実行型試験スイートの作成方法を示すフロー
チャートである。図11は本発明の一実施例に係わる状
態遷移表形式実行型試験ケースの縦軸およびボックス記
述の作成方法を示すフローチャートである。
TTCN. When there is a "?" Symbol in the GR line, the reception instruction action of the state number indicated by the next state number of the output action immediately before it is "?" Indicating that it waits for an input event. The reception instruction action of the spontaneous action is represented by “N”. When switching the hierarchy of the state transition table to be processed, the receive instruction action is
It is represented by "S". FIG. 10 is a flowchart showing a method of creating a state transition table format execution type test suite according to an embodiment of the present invention. FIG. 11 is a flowchart showing a method of creating the vertical axis and box description of the state transition table format execution type test case according to the embodiment of the present invention.

【0038】[0038]

【発明の効果】以上述べたように本発明によれば、抽象
試験スイート内のTTCN.GRで記述した抽象試験ケ
ースを基に状態遷移表形式の実行型試験ケースを自動的
に作成することにより、適合性試験装置で使用できる試
験スイートを効果的に提供できるという利点がある。
As described above, according to the present invention, the TTCN. By automatically creating an execution type test case in the state transition table format based on the abstract test case described in GR, there is an advantage that a test suite that can be used by the conformance test apparatus can be effectively provided.

【0039】さらに状態遷移表形式の試験ケースを人間
の理解に適した罫線付きで表示でき、実行型試験ケース
のデバッグ作業が容易になり信頼性向上もはかられると
いう大きな効果がある。
Furthermore, the test case in the state transition table format can be displayed with a ruled line suitable for human understanding, which has a great effect that the debugging work of the execution type test case is facilitated and the reliability is improved.

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

【図1】本発明の一実施例に係わる適合性試験スイート
作成装置を示すブロック図である。
FIG. 1 is a block diagram showing an apparatus for creating a compatibility test suite according to an embodiment of the present invention.

【図2】本発明の一実施例に係わる状態遷移表形式実行
型試験スイートの構造を示す説明図である。
FIG. 2 is an explanatory diagram showing a structure of a state transition table format execution type test suite according to an embodiment of the present invention.

【図3】本発明の一実施例に係わる状態遷移表形式実行
型試験ケースの状態番号の記述方法を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a method of describing a state number of a state transition table format execution type test case according to an embodiment of the present invention.

【図4】本発明の一実施例に係わる状態遷移表形式実行
型試験ケースの出力アクションと受信指示アクションの
記述法を示す説明図である。
FIG. 4 is an explanatory diagram showing a description method of an output action and a reception instruction action of a state transition table format execution type test case according to an embodiment of the present invention.

【図5】本発明の一実施例に係わる状態遷移表形式実行
型試験ケースの状態遷移表管理アクションの引数の記述
例を示す説明図である。
FIG. 5 is an explanatory diagram showing a description example of arguments of a state transition table management action of a state transition table format execution type test case according to an embodiment of the present invention.

【図6】本発明の一実施例に係わるTTCN.GRの記
述から横軸を作成する方法を示す説明図である。
FIG. 6 shows a TTCN. It is explanatory drawing which shows the method of creating a horizontal axis from the description of GR.

【図7】本発明の一実施例に係わるTTCN.GRから
出力アクションおよび次状態番号の生成方法を示す説明
図である。
FIG. 7 shows a TTCN. It is explanatory drawing which shows the output action and the generation method of the next state number from GR.

【図8】本発明の一実施例に係わるTTCN.GRから
出力アクションおよび次状態番号の生成のフローを示す
説明図である。
FIG. 8 shows a TTCN. It is explanatory drawing which shows the flow of output action and generation of the next state number from GR.

【図9】本発明の一実施例に係わる受信指示アクション
の生成法を示す説明図である。
FIG. 9 is an explanatory diagram showing a method of generating a reception instruction action according to an embodiment of the present invention.

【図10】本発明の一実施例に係わる状態遷移表形式実
行型試験スイートの作成方法を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a method of creating a state transition table format execution type test suite according to an embodiment of the present invention.

【図11】本発明の一実施例に係わる状態遷移表形式実
行型試験ケースの縦軸およびボックス記述の作成方法を
示すフローチャートである。
FIG. 11 is a flowchart showing a method of creating a vertical axis and a box description of a state transition table format execution type test case according to an embodiment of the present invention.

【図12】適合性試験装置の構成例を示すブロック図で
ある。
FIG. 12 is a block diagram showing a configuration example of a compatibility test apparatus.

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

10…TTCN.GRで記述した抽象試験スイート、2
0…適合性試験スイート作成装置、30…TTCN.G
Rの構文解釈部、31…入力イベント抽出部、32…入
力イベントに対する階層決定部、33…状態遷移表の階
層間で試験動作を遣り取りするための遷移表間入力イベ
ント設定部および比較結果入力イベント設定部、34…
出力アクション抽出部、35…出力アクションに対する
階層決定部、40…横軸作成部、41…(N−1)サー
ビスプリミティブ入力イベント作成部、42…(N)P
DU入力イベント作成部、43…(N)サービスプリミ
ティブ入力イベント作成部、50…縦軸およびボックス
記述の作成部、51…ボックス記述作成部、52…(N
−1)サービスプリミティブ出力アクション作成部、5
3…(N)PDU出力アクション作成部、54…(N)
サービスプリミティブ出力アクション作成部、55…状
態遷移表の状態番号管理・付与部、56…受信指示アク
ション生成部、60…状態遷移表形式実行型試験スイー
ト合成部、61…罫線付(N−1)サービスプリミティ
ブ状態遷移表、62…罫線付(N)PDU状態遷移表、
63…罫線付(N)サービスプリミティブ状態遷移表、
70…罫線除去回路、80…テキストファイル出力部、
90…罫線付状態遷移表形式実行型試験スイート表示
部、100…状態遷移表形式実行型試験スイート(罫線
無)。
10 ... TTCN. Abstract test suite written in GR, 2
0 ... Compatibility test suite creation device, 30 ... TTCN. G
R syntax interpreting unit, 31 ... Input event extracting unit, 32 ... Hierarchy determining unit for input event, 33 ... Transition table input event setting unit for exchanging test operation between layers of state transition table, and comparison result input event Setting unit, 34 ...
Output action extraction unit, 35 ... Hierarchy determination unit for output action, 40 ... Horizontal axis creation unit, 41 ... (N-1) Service primitive input event creation unit, 42 ... (N) P
DU input event creating unit, 43 ... (N) Service primitive input event creating unit, 50 ... Vertical axis and box description creating unit, 51 ... Box description creating unit, 52 ... (N
-1) Service primitive output action creation unit, 5
3 ... (N) PDU output action creation unit, 54 ... (N)
Service primitive output action creation unit, 55 ... State number management / granting unit of state transition table, 56 ... Reception instruction action generation unit, 60 ... State transition table format execution type test suite combining unit, 61 ... Ruled line (N-1) Service primitive state transition table, 62 ... Ruled line (N) PDU state transition table,
63 ... Ruled (N) service primitive state transition table,
70 ... Ruled line removal circuit, 80 ... Text file output section,
90 ... Ruled line state transition table format execution type test suite display section, 100 ... State transition table format execution type test suite (no ruled line).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 開放型システム間相互接続(OSI:Op
en Systems Interconnection)の参照モデルの(N)層
実装に対する適合性試験装置で使用するためのTTC
N.GR(Tree and Tabular Combined Notation,Graph
ical Form;ISO/IEC9646)を用いて記述した抽象
試験スイートから適合性試験装置で実行可能な実行型試
験スイートを作成する適合性試験スイート作成装置にお
いて、 各試験ケースが縦軸を現在の状態を示す状態番号と受信
指示アクション記述欄からなり、横軸を各状態での外部
からの入力を記述する入力イベントからなり、入力イベ
ントに対する動作内容を記述するボックス欄には、状態
遷移表管理アクション、試験動作アクション、次状態番
号からなる動作を記述する状態遷移表形式とした実行型
試験スイートの適合性試験スイート作成装置。
1. Open system interconnection (OSI: Op
TTC for use in conformance testing equipment for (N) layer implementations of the en Systems Interconnection reference model
N. GR (Tree and Tabular Combined Notation, Graph
ical form; ISO / IEC9646) is used to create an executable test suite that can be executed by the conformance test equipment from the abstract test suite. It consists of the state number and the receive instruction action description field shown, the horizontal axis is the input event that describes the external input in each state, and the box field that describes the operation content for the input event is the state transition table management action, A conformance test suite creation device for an execution type test suite in the form of a state transition table that describes an action consisting of a test action action and the next state number.
【請求項2】 状態遷移表形式の試験スイートを初めに
その作成を容易にするため罫線付きで作成し、適合性試
験装置に実装するための実行型試験スイートに展開する
場合には、適合性試験装置での試験実行には不要となる
罫線を取り除いたテキストファイル形式で出力するよう
にしたことを特徴とする請求項1記載の適合性試験スイ
ート作成装置。
2. When the test suite in the state transition table format is first created with ruled lines to facilitate its creation and then expanded to the execution type test suite to be mounted on the compatibility test apparatus, the compatibility is set. 2. The suitability test suite creating apparatus according to claim 1, wherein the test file is output in a text file format in which ruled lines that are unnecessary for executing a test in the test apparatus are removed.
JP5028912A 1993-02-18 1993-02-18 Compatibility test suite creation device Expired - Lifetime JPH0779373B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5028912A JPH0779373B2 (en) 1993-02-18 1993-02-18 Compatibility test suite creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5028912A JPH0779373B2 (en) 1993-02-18 1993-02-18 Compatibility test suite creation device

Publications (2)

Publication Number Publication Date
JPH06241840A JPH06241840A (en) 1994-09-02
JPH0779373B2 true JPH0779373B2 (en) 1995-08-23

Family

ID=12261617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5028912A Expired - Lifetime JPH0779373B2 (en) 1993-02-18 1993-02-18 Compatibility test suite creation device

Country Status (1)

Country Link
JP (1) JPH0779373B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100403264C (en) * 2001-11-07 2008-07-16 华为技术有限公司 TTCN test example executing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0456445A (en) * 1990-06-25 1992-02-24 Mitsubishi Electric Corp Test system for network system

Also Published As

Publication number Publication date
JPH06241840A (en) 1994-09-02

Similar Documents

Publication Publication Date Title
US6769077B2 (en) System and method for remotely creating a physical memory snapshot over a serial bus
JP3182111B2 (en) Program test support device
CN113347060B (en) Method, device and system for detecting power network fault based on process automation
US7958267B1 (en) Message traffic interception system
JPH0779373B2 (en) Compatibility test suite creation device
CN112667517A (en) Method, device, equipment and storage medium for acquiring automatic test script
JPH05250218A (en) On-line program test system
JP2002014845A (en) Method for automatically generating test script part and device for the same
CN114125342A (en) Emergency operation recording method and device
US7689905B1 (en) Containment of terminal application run-time data for viewing when disconnected from a host server
JP2005085182A (en) Test support system
JPH05143570A (en) Fault tree preparing method
JP2000163456A (en) Logic verifying method
JPH0666605A (en) Interconnection test sequence generating system
CN113986372B (en) Window plug-in configuration method, window data acquisition method and device
JP2002319940A (en) System and method for sharing information, and program for executing the same method
JPH10340201A (en) System test automatic device
JPS5960655A (en) System for testing inter-computer communication processing program
JP2001256077A (en) Method for sorting program test using test scenario management system
JPH05233268A (en) Execution system for suitability test
JP3722869B2 (en) Exchange software test system and test method
JPH10334125A (en) Device, system, and method for cad software automatic test, and recording medium
JP2500385B2 (en) Input data management method
JP3033723B2 (en) Simulated test method and program recording medium for stored exchange program controlled electronic exchange
JP3152769B2 (en) Program analyzer