JP6483630B2 - Test content generation apparatus and operation method thereof - Google Patents

Test content generation apparatus and operation method thereof Download PDF

Info

Publication number
JP6483630B2
JP6483630B2 JP2016003220A JP2016003220A JP6483630B2 JP 6483630 B2 JP6483630 B2 JP 6483630B2 JP 2016003220 A JP2016003220 A JP 2016003220A JP 2016003220 A JP2016003220 A JP 2016003220A JP 6483630 B2 JP6483630 B2 JP 6483630B2
Authority
JP
Japan
Prior art keywords
tag
test content
specification data
operation specification
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.)
Active
Application number
JP2016003220A
Other languages
Japanese (ja)
Other versions
JP2017126100A (en
Inventor
貴彦 篠田
貴彦 篠田
一宏 菊間
一宏 菊間
福田 芳巳
芳巳 福田
康司 谷田
康司 谷田
安宏 関
安宏 関
洋 守屋
洋 守屋
智弘 河合
智弘 河合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016003220A priority Critical patent/JP6483630B2/en
Publication of JP2017126100A publication Critical patent/JP2017126100A/en
Application granted granted Critical
Publication of JP6483630B2 publication Critical patent/JP6483630B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、試験内容を自動的に生成する試験内容生成装置およびその動作方法に関する。   The present invention relates to a test content generation apparatus that automatically generates test content and an operation method thereof.

ソフトウェア開発の手法の一つとして、ウォーターフォールモデルでの開発がある。ウォーターフォールモデルでは、「方式検討/基本設計」、「機能設計」、「詳細設計」、「製造」、「単体試験」、「結合試験」、「複数複合試験/安定化試験」の各工程を順次実施する。   One of the software development methods is the development with the waterfall model. In the waterfall model, each process of “method study / basic design”, “functional design”, “detailed design”, “manufacturing”, “unit test”, “combination test”, “multiple combined test / stabilization test” is performed. Implement sequentially.

従来においては、 「方式検討/基本設計」で生成する仕様書をもとに、検証者が「複数複合試験/安定化試験」の試験内容を手動で抽出する。この手法では、試験内容が個人のノウハウに大きく依存し、また抽出に長時間を要する。   Conventionally, the verifier manually extracts the test contents of the “multiple compound test / stabilization test” based on the specifications generated in “method study / basic design”. In this method, the contents of the test greatly depend on individual know-how, and a long time is required for extraction.

村上和夫著、「ソフトウェア品質知識体系ガイド -SQuBOK Guide-(第2版) 2. 2.3.1 ウォータフォールモデル(P95)、2.18.1.4 V字モデル(P169)」、SQuBOK策定部会、オーム社、2014/11/28Kazuo Murakami, “Software Quality Knowledge System Guide -SQuBOK Guide- (2nd Edition) 2. 2.3.1 Waterfall Model (P95), 2.18.1.4 V-Shaped Model (P169)”, SQuBOK Development Committee, Ohm, 2014 / 11/28

本発明は、上記事情に鑑みなされたものであり、試験内容を自動的に生成する試験内容生成装置およびその動作方法を提供することを課題とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a test content generation apparatus that automatically generates test content and an operation method thereof.

上記課題を解決するために、本発明の試験内容生成装置は、自然言語で記載された動作仕様書データを解析する自然言語解析部と、前記動作仕様書データに対し、解析結果に基づくタグを付与するタグ付与部と、付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するタグ抽出部と、当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換する試験内容変換部とを備えることを特徴とする。   In order to solve the above problems, a test content generation apparatus according to the present invention includes a natural language analysis unit that analyzes operation specification data described in a natural language, and a tag based on the analysis result for the operation specification data. A tag assigning unit to be assigned, a tag extracting unit for extracting a tag and a portion to which the tag is assigned from the operation specification data after the grant, and the extracted tag and the portion to which the tag is assigned to the operation specification data. And a test content conversion unit for converting the test content into a test content indicating a result obtained by the method.

本発明の試験内容生成装置の動作方法は、試験内容生成装置が、自然言語で記載された動作仕様書データを解析するステップと、前記試験内容生成装置が、前記動作仕様書データに対し、解析結果に基づくタグを付与するステップと、前記試験内容生成装置が、付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するステップと、前記試験内容生成装置が、当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換するステップとを備えることを特徴とする。   The operation method of the test content generation device of the present invention includes a step in which the test content generation device analyzes the operation specification data described in a natural language, and the test content generation device analyzes the operation specification data. A step of assigning a tag based on a result, a step of extracting the portion to which the tag and the tag are attached from the operation specification data after the grant, and the test content generating device are extracted. The method includes a step of converting a tag and a portion to which the tag is attached into a test method for the target of the operation specification data and a test content indicating a result obtained by the method.

本発明の試験内容生成装置およびその動作方法によれば、試験内容を自動的に生成できる。   According to the test content generation apparatus and the operation method thereof of the present invention, the test content can be automatically generated.

第1の実施の形態に係る試験内容生成装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the test content production | generation apparatus which concerns on 1st Embodiment. 動作仕様書データの一部を例示した図である。It is the figure which illustrated a part of operation specification data. 構造化動作仕様書データの一部を例示した図である。It is the figure which illustrated a part of structured operation specification data. 試験内容を例示した図である。It is the figure which illustrated test contents. タグ付与部12による学習動作の説明図である。It is explanatory drawing of the learning operation | movement by the tag provision part. 変形例の試験内容を例示した図である。It is the figure which illustrated the test content of the modification. 第2の実施の形態に係る試験内容生成装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the test content production | generation apparatus which concerns on 2nd Embodiment. 動作仕様書データの一部を例示した図である。It is the figure which illustrated a part of operation specification data. 構造化動作仕様書データの一部を例示した図である。It is the figure which illustrated a part of structured operation specification data.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1の実施の形態]
図1は、第1の実施の形態に係る試験内容生成装置の概略構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of a test content generation apparatus according to the first embodiment.

試験内容生成装置は、構造化機能部1と試験内容生成部2を備える。   The test content generation apparatus includes a structured function unit 1 and a test content generation unit 2.

構造化機能部1は、自然言語で記載された動作仕様書データを解析する自然言語解析部11と、動作仕様書データに対し、解析結果に基づくタグを付与するタグ付与部12を備える。   The structured function unit 1 includes a natural language analysis unit 11 that analyzes operation specification data written in a natural language, and a tag addition unit 12 that adds a tag based on the analysis result to the operation specification data.

試験内容生成部2は、付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するタグ抽出部21と、抽出されたタグ及びタグが付与された部分を、動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換する試験内容変換部22を備える。   The test content generation unit 2 extracts a tag and a portion to which a tag is attached from the operation specification data after the assignment, and extracts the extracted tag and the portion to which the tag is attached in the operation specification data. A test content conversion unit 22 that converts a test method for a subject and a test content indicating a result obtained by the method is provided.

動作仕様書データは、例えば、ソフトウェアや装置を対象とするものである。   The operation specification data is intended for software and devices, for example.

図2は、動作仕様書データの一部を例示した図である。   FIG. 2 is a diagram illustrating a part of the operation specification data.

動作仕様書データは、例えば、「○○の時、××すると、△△という結果になる。」の○○などの部分に文字や語を当てはめたような自然言語の文章を含む。   The operation specification data includes, for example, a natural language sentence in which a character or a word is applied to a portion such as XX in “XX, when XX, results in △ Δ”.

図1の自然言語解析部11は、このような文章を解析し、「○○の時」が条件、「××する」が入力値、「△△」が出力値(結果)であると判定する。   The natural language analysis unit 11 in FIG. 1 analyzes such a sentence and determines that “when XX” is a condition, “XX” is an input value, and “ΔΔ” is an output value (result). To do.

タグ付与部12は、条件である「○○の時」に<cond></cond>というタグを付与し、入力値である「××する」に<input></input>というタグを付与し、結果である「△△」に<output></output>というタグを付与する。このようにタグを付与された動作仕様書データを「構造化動作仕様書データ」という。   The tag assigning unit 12 assigns a tag <cond> </ cond> to the condition “in the case of OO”, and assigns a tag <input> </ input> to the input value “XX”. Then, a tag <output> </ output> is assigned to the result “ΔΔ”. The operation specification data to which the tag is assigned in this way is referred to as “structured operation specification data”.

図3は、構造化動作仕様書データの一部を例示した図である。   FIG. 3 is a diagram illustrating a part of the structured operation specification data.

構造化動作仕様書データにおいては、条件である「○○の時」に<cond></cond>というタグが付与され、入力値である「××する」に<input></input>というタグが付与され、結果である「△△」に<output></output>というタグが付与されている。なお、タグは、この3種に限るものではなく、他のタグを使用してもよい。   In the structured operation specification data, a tag <cond> </ cond> is added to the condition “when OO”, and <input> </ input> is input to the input value “XX”. A tag is assigned, and the tag “<output> </ output>” is assigned to the result “ΔΔ”. The tags are not limited to these three types, and other tags may be used.

図1のタグ抽出部21は、構造化動作仕様書データから、例えば、図3に示すもの、すなわち、タグ及びタグが付与された部分を抽出する。   The tag extraction unit 21 in FIG. 1 extracts, from the structured operation specification data, for example, the one shown in FIG. 3, that is, the tag and the part to which the tag is assigned.

試験内容変換部22は、抽出されたタグ及びタグが付与された部分を、動作仕様書データの対象のソフトウェアなどに対する試験の方法及び該方法により得られる結果を示す試験内容に変換する。   The test content conversion unit 22 converts the extracted tag and the portion to which the tag is assigned into a test content indicating a test method for the target software of the operation specification data and a result obtained by the method.

図4は、試験内容を例示した図である。   FIG. 4 is a diagram illustrating test contents.

試験内容は、例えば、<cond>○○の時</cond>から変換された「条件:○○」、<input>××</input>から変換された「入力値:××」、<output>△△</output>から変換された「出力値:△△」を含む。   The test content is, for example, “condition: XX” converted from </ cond> when <cond> XX, “input value: XX” converted from <input> xxx </ input>, < “Output value: ΔΔ” converted from output> ΔΔ </ output> is included.

試験内容変換部22は、このようにして生成した試験内容を含む試験仕様書データを出力する。試験仕様書データは、複数の試験内容を含んでもよい。   The test content conversion unit 22 outputs test specification data including the test content generated in this way. The test specification data may include a plurality of test contents.

したがって、第1の実施の形態の試験内容生成装置によれば、試験内容を自動的に生成できる。   Therefore, according to the test content generation apparatus of the first embodiment, the test content can be automatically generated.

ここで、タグ付与部12について補足する。   Here, it supplements about the tag provision part 12. FIG.

図5は、タグ付与部12による学習動作の説明図である。   FIG. 5 is an explanatory diagram of a learning operation by the tag assigning unit 12.

まず、試験内容作成者Uが、複数の動作仕様書データのそれぞれにつき、動作仕様書データと予め用意された付与基準に基づいて、構造化動作仕様書データを作成する。付与基準には、<cond></cond>などのタグのそれぞれについて、そのタグを付与すべき文章表現とタグを付与する箇所などが記載される。   First, the test content creator U creates structured operation specification data for each of a plurality of operation specification data on the basis of the operation specification data and the provision criteria prepared in advance. In the assignment standard, for each tag such as <cond> </ cond>, a sentence expression to which the tag is to be attached, a location to which the tag is attached, and the like are described.

試験内容作成者Uは、動作仕様書データから該当の文章表現を探し、指定箇所にタグを付与する。   The test content creator U searches for the corresponding sentence expression from the operation specification data and attaches a tag to the designated location.

タグ付与部12は、このように予めタグを付与された動作仕様書データ(構造化動作仕様書データ)と付与前の動作仕様書データの組を複数組用いて、両者の関係を予め学習して記憶する。   The tag assigning unit 12 learns the relationship between the operation specification data (structured operation specification data) pre-assigned in this way and the operation specification data before assignment in advance by using a plurality of sets. Remember.

そして、学習してない動作仕様書データにタグを付与する際は、学習結果と自然言語解析部11による解析結果に基づいてタグを付与する。   And when attaching a tag to the operation specification data which has not been learned, a tag is provided based on the learning result and the analysis result by the natural language analysis unit 11.

したがって、学習してない動作仕様書データに関する試験内容を生成できる。   Therefore, it is possible to generate test contents regarding operation specification data that has not been learned.

(変形例)
図6は、変形例の試験内容生成装置により生成される試験内容を例示した図である。
(Modification)
FIG. 6 is a diagram illustrating test content generated by a test content generation apparatus according to a modification.

変形例の試験内容変換部22は、抽出されたタグ及びタグが付与された部分が、対象のソフトウェアなど正常な動作条件及び正常な結果を示している場合において、タグ及びタグが付与された部分を、正常な結果とは異なる異常な結果を生じさせる方法と異常な結果を示す試験内容に変換する。   The test content conversion unit 22 of the modified example is a portion to which a tag and a tag are attached when the extracted tag and the portion to which the tag is attached indicate normal operating conditions such as target software and a normal result. Is converted into a method for producing an abnormal result different from the normal result and a test content indicating the abnormal result.

多くの場合、動作仕様書データには、「○○の時、××すると、△△という結果になる。」のように、正常な動作条件(○○の時、××する)及び条件を満たした場合の結果、すなわち正常な結果(△△という結果になる)が示されている。   In many cases, the operation specification data includes the normal operating conditions (XX for XX) and conditions, such as “XX: XX results in △△”. The result when it is satisfied, that is, a normal result (result of ΔΔ) is shown.

変形例の試験内容変換部22は、例えば、「<cond>○○の時</cond>から変換された「条件:○○」、<input>××</input>から変換された「入力値:××以外」、<output>△△</output>から変換された「出力値:△△にならない」を含む試験内容を生成する。   For example, the test content conversion unit 22 of the modification may include “condition: XX converted from </ cond> when <cond> XX”, “input” converted from <input> xxx </ input> A test content including “value: other than xx” and “output value: does not become ΔΔ” converted from <output> ΔΔ </ output> is generated.

したがって、正常な動作だけでなく、異常な動作を起こさせる試験の試験内容を生成でき、試験を実施できる。なお、この変形例は、後述の第2の実施の形態にも適用可能である。   Therefore, it is possible to generate a test content for a test that causes an abnormal operation as well as a normal operation, and to perform the test. This modification can also be applied to a second embodiment described later.

[第2の実施の形態]
次に第2の実施の形態について説明する。ここでは、第1の実施の形態との差異を中心に説明し、重複説明は省略する。
[Second Embodiment]
Next, a second embodiment will be described. Here, it demonstrates centering on the difference with 1st Embodiment, and duplication description is abbreviate | omitted.

図7は、第2の実施の形態に係る試験内容生成装置の概略構成を示すブロック図である。   FIG. 7 is a block diagram illustrating a schematic configuration of a test content generation apparatus according to the second embodiment.

第2の実施の形態の試験内容生成装置は、第1の実施の形態の試験内容生成装置の構成に加え、複数の試験内容のそれぞれにラベルを付与して記憶するデータベース3を備える。   In addition to the configuration of the test content generation device of the first embodiment, the test content generation device of the second embodiment includes a database 3 that assigns and stores a label to each of a plurality of test content.

試験内容変換部22は、生成した試験内容にラベルを付与し、データベース3に記憶させる。こうして、データベース3は、複数の試験内容のそれぞれにラベルを付与して記憶することとなる。   The test content conversion unit 22 gives a label to the generated test content and stores it in the database 3. Thus, the database 3 assigns and stores a label to each of the plurality of test contents.

ラベルは、例えば、「再起動(工事・故障時などの再起動条件)」、「基本的な呼処理サービス(最低限の通信条件)」のように、試験内容に対応する機能を示すものである。以下、「再起動」を例に説明を続ける。   The label indicates the function corresponding to the test content, such as “restart (restart condition for construction / failure etc.)” and “basic call processing service (minimum communication condition)”. is there. Hereinafter, the description will be continued by taking “restart” as an example.

図8は、動作仕様書データの一部を例示した図である。   FIG. 8 is a diagram illustrating a part of the operation specification data.

ラベルは、動作仕様書データの作成者に開示され、作成者は、ラベルに対応する機能について、従前と変わらない場合は、図8に示すように、動作仕様書データに対し、「再起動の機能については、現行通りとする。」のような文章を含める。   The label is disclosed to the creator of the operation specification data, and if the creator does not change the function corresponding to the label as in the past, as shown in FIG. Include the text “The function is as it is now.”

自然言語解析部11は、このような文章を解析し、「再起動の機能」は、「現行通り」であると判定する。   The natural language analysis unit 11 analyzes such a sentence and determines that the “restart function” is “as is”.

図9は、構造化動作仕様書データの一部を例示した図である。   FIG. 9 is a diagram illustrating a part of the structured operation specification data.

タグ付与部12は、図9に示すように、「現行通り」であると判定された「再起動の機能」に対し、データベース3に記憶された試験内容を読み出すためのタグ、例えば<ref></ref>というタグを付与する。タグは、別のものでもよい。   As shown in FIG. 9, the tag assigning unit 12 reads a test content stored in the database 3 in response to the “restart function” determined to be “as is”, for example, <ref> A tag </ ref> is assigned. The tag may be different.

タグ抽出部21は、構造化動作仕様書データから、このようなタグ<ref></ref>及びタグが付与された部分「再起動の機能」を抽出する。   The tag extraction unit 21 extracts such a tag <ref> </ ref> and the part “restart function” to which the tag is attached from the structured operation specification data.

試験内容変換部22は、データベース3に記憶された試験内容を読み出すためのタグとして、タグ<ref></ref>を記憶しており、このように抽出されたタグが試験内容を読み出すためのタグである場合は、タグが付与された部分「再起動の機能」に対応するラベル「再起動」をデータベース3から検索し、ラベルが付与された試験内容を読み出す。   The test content conversion unit 22 stores the tag <ref> </ ref> as a tag for reading the test content stored in the database 3, and the tag extracted in this way is used for reading the test content. In the case of a tag, the label “restart” corresponding to the part “restart function” to which the tag is attached is searched from the database 3, and the test content to which the label is attached is read.

そして、試験内容変換部22は、このようにして読み出した試験内容を含む試験仕様書データを出力する。試験仕様書データは、生成した試験内容と読み出した試験内容が混在していてもよい。   Then, the test content conversion unit 22 outputs test specification data including the test content read in this way. In the test specification data, the generated test content and the read test content may be mixed.

したがって、第2の実施の形態の試験内容生成装置によれば、過去に生成した試験内容を読み出すことができる。   Therefore, according to the test content generation apparatus of the second embodiment, the test content generated in the past can be read.

なお、各実施の形態の試験内容生成装置としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。   The computer program for causing the computer to function as the test content generation apparatus of each embodiment can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape. It can be widely distributed by being transmitted via a communication network such as the Internet.

1 構造化機能部
2 試験内容生成部
3 データベース
11 自然言語解析部
12 タグ付与部
21 タグ抽出部
22 試験内容変換部
DESCRIPTION OF SYMBOLS 1 Structured function part 2 Test content generation part 3 Database 11 Natural language analysis part 12 Tag assignment part 21 Tag extraction part 22 Test content conversion part

Claims (6)

自然言語で記載された動作仕様書データを解析する自然言語解析部と、
前記動作仕様書データに対し、解析結果に基づくタグを付与するタグ付与部と、
付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するタグ抽出部と、
当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換する試験内容変換部と を備え、
前記タグ付与部は、
予めタグを付与された動作仕様書データと付与前の当該動作仕様書データの組を複数組用いて、付与前の動作仕様書データと付与後の動作仕様書データの関係を予め学習して記憶し、学習結果と前記解析結果に基づいてタグを付与する
ことを特徴とする試験内容生成装置。
A natural language analysis unit that analyzes operation specification data written in natural language;
A tag attaching unit for attaching a tag based on an analysis result to the operation specification data;
A tag extraction unit that extracts a tag and a portion to which the tag is attached from the operation specification data after the grant;
A test content conversion unit that converts the extracted tag and the portion to which the tag is attached into a test method for the target of the operation specification data and a test content indicating a result obtained by the method, and
The tag giving unit is
Learning and storing the relationship between pre-granting operation specification data and post-granting operation specification data using multiple sets of pre-granting operation specification data and pre-granting operation specification data. and, learning result and the analysis result test content generating apparatus characterized by imparting tags based on.
自然言語で記載された動作仕様書データを解析する自然言語解析部と、
前記動作仕様書データに対し、解析結果に基づくタグを付与するタグ付与部と、
付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するタグ抽出部と、
当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換する試験内容変換部と 、
複数の前記試験内容のそれぞれにラベルを付与して記憶するデータベースを備え、
前記試験内容変換部は、
前記抽出されたタグが前記データベースに記憶された試験内容を読み出すためのタグである場合は、当該タグが付与された部分に対応するラベルを前記データベースから検索し、当該ラベルが付与された試験内容を読み出す
ことを特徴とする試験内容生成装置。
A natural language analysis unit that analyzes operation specification data written in natural language;
A tag attaching unit for attaching a tag based on an analysis result to the operation specification data;
A tag extraction unit that extracts a tag and a portion to which the tag is attached from the operation specification data after the grant;
A test content conversion unit that converts the extracted tag and the portion to which the tag is assigned into a test method for the target of the operation specification data and a test content indicating a result obtained by the method;
And a database for imparting and storing a label to each of a plurality of said test content,
The test content conversion unit
When the extracted tag is a tag for reading the test content stored in the database, the label corresponding to the portion to which the tag is assigned is searched from the database, and the test content to which the label is assigned test content generation apparatus characterized by reading out.
前記試験内容変換部は、
前記抽出されたタグ及びタグが付与された部分が、前記対象の正常な動作条件及び正常な結果を示している場合において、当該タグ及びタグが付与された部分を、当該正常な結果とは異なる異常な結果を生じさせる方法と当該異常な結果を示す試験内容に変換する
ことを特徴とする請求項1または2記載の試験内容生成装置。
The test content conversion unit
When the extracted tag and the part to which the tag is assigned indicate the normal operating condition and the normal result of the target, the tag and the part to which the tag is assigned are different from the normal result. The test content generation apparatus according to claim 1, wherein the test content generation apparatus converts the method for generating an abnormal result and the test content indicating the abnormal result.
試験内容生成装置が、自然言語で記載された動作仕様書データを解析するステップと、
前記試験内容生成装置が、前記動作仕様書データに対し、解析結果に基づくタグを付与するステップと、
前記試験内容生成装置が、付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するステップと、
前記試験内容生成装置が、当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換するステップと、
前記試験内容生成装置が、予めタグを付与された動作仕様書データと付与前の当該動作仕様書データの組を複数組用いて、付与前の動作仕様書データと付与後の動作仕様書データの関係を予め学習して記憶し、学習結果と前記解析結果に基づいてタグを付与するステップ
行うことを特徴とする試験内容生成装置の動作方法。
A test content generation device analyzing operation specification data written in a natural language;
The test content generation device gives a tag based on an analysis result to the operation specification data;
The test content generation device extracts a tag and a portion to which the tag is attached from the operation specification data after the grant;
The test content generation device converts the extracted tag and the portion to which the tag is attached into a test method for the target of the operation specification data and a test content indicating a result obtained by the method;
The test content generation device uses a plurality of sets of operation specification data to which a tag is attached in advance and the operation specification data before the application, and the operation specification data before the application and the operation specification data after the application are provided. storing the relationship learned in advance, the learning result and method of operation of the test content generation apparatus characterized by performing the step of applying a tag on the basis of the analysis result.
試験内容生成装置が、自然言語で記載された動作仕様書データを解析するステップと、
前記試験内容生成装置が、前記動作仕様書データに対し、解析結果に基づくタグを付与するステップと、
前記試験内容生成装置が、付与後の動作仕様書データからタグ及びタグが付与された部分を抽出するステップと、
前記試験内容生成装置が、当該抽出されたタグ及びタグが付与された部分を、前記動作仕様書データの対象に対する試験の方法及び該方法により得られる結果を示す試験内容に変換するステップと、を行い、
前記試験内容生成装置は、
複数の前記試験内容のそれぞれにラベルを付与して記憶するデータベースを備え、
前記試験内容に変換するステップでは、
前記抽出されたタグが前記データベースに記憶された試験内容を読み出すためのタグである場合は、当該タグが付与された部分に対応するラベルを前記データベースから検索し、当該ラベルが付与された試験内容を読み出す
ことを特徴とする試験内容生成装置の動作方法。
A test content generation device analyzing operation specification data written in a natural language;
The test content generation device gives a tag based on an analysis result to the operation specification data;
The test content generation device extracts a tag and a portion to which the tag is attached from the operation specification data after the grant;
The test content generation device converts the extracted tag and the part to which the tag is assigned into a test method for the target of the operation specification data and a test content indicating a result obtained by the method. Done
The test content generation device includes:
A database for storing a label for each of the plurality of test contents;
In the step of converting into the test content,
When the extracted tag is a tag for reading the test content stored in the database, the label corresponding to the portion to which the tag is assigned is searched from the database, and the test content to which the label is assigned operation method of testing the contents generation apparatus characterized by reading out.
前記試験内容に変換するステップでは、
前記抽出されたタグ及びタグが付与された部分が、前記対象の正常な動作条件及び正常な結果を示している場合において、当該タグ及びタグが付与された部分を、当該正常な結果とは異なる異常な結果を生じさせる方法と当該異常な結果を示す試験内容に変換する
ことを特徴とする請求項4または5記載の試験内容生成装置の動作方法。
In the step of converting into the test content,
When the extracted tag and the part to which the tag is assigned indicate the normal operating condition and the normal result of the target, the tag and the part to which the tag is assigned are different from the normal result. 6. The method for operating a test content generation apparatus according to claim 4 or 5 , wherein the method generates an abnormal result and converts it into a test content indicating the abnormal result.
JP2016003220A 2016-01-12 2016-01-12 Test content generation apparatus and operation method thereof Active JP6483630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016003220A JP6483630B2 (en) 2016-01-12 2016-01-12 Test content generation apparatus and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016003220A JP6483630B2 (en) 2016-01-12 2016-01-12 Test content generation apparatus and operation method thereof

Publications (2)

Publication Number Publication Date
JP2017126100A JP2017126100A (en) 2017-07-20
JP6483630B2 true JP6483630B2 (en) 2019-03-13

Family

ID=59364204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016003220A Active JP6483630B2 (en) 2016-01-12 2016-01-12 Test content generation apparatus and operation method thereof

Country Status (1)

Country Link
JP (1) JP6483630B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2762934B2 (en) * 1994-07-29 1998-06-11 日本電気株式会社 Test item design support system
JP3107975B2 (en) * 1994-08-16 2000-11-13 松下電器産業株式会社 System test specification generator

Also Published As

Publication number Publication date
JP2017126100A (en) 2017-07-20

Similar Documents

Publication Publication Date Title
US11120217B2 (en) Natural language translation-based orchestration workflow generation
CN105830417A (en) A method and a system for replacing and commissioning of a field device
US20170147562A1 (en) Visually differentiating strings for testing
US8682459B2 (en) Device information setting apparatus and device information setting method
US20210326530A1 (en) Device for an automated generation of a knowledge graph
JP6778654B2 (en) Word-splitting estimation model learning device, word-splitting device, method, and program
CN103761095A (en) Method for generating universal header data information of upgraded file
CN111596899A (en) Database migration method, system, equipment and storage medium based on Java development
CN106776779B (en) Method for generating entity file by JSON data based on Mac platform
JP2007041767A (en) Text mining device, method and program
JP6483630B2 (en) Test content generation apparatus and operation method thereof
JP6775366B2 (en) Selection device and selection method
JP2018142271A (en) Api convention checking apparatus, api convention checking method, and program
WO2018174000A1 (en) Configuration management device, configuration management method, and recording medium
CN115719073A (en) Translation method, device and medium for multilingual resources
KR101534493B1 (en) Source code security weakness detection apparatus and method based on structure conversion
CN115511317A (en) Wind control strategy configuration method and device
JP6526607B2 (en) Learning apparatus, learning method, and learning program
JP2007279795A (en) System for deciding whether or not screen to be displayed by program satisfy specification
EP4258067A1 (en) System and computer-implemented method to generate a configuration for external datapoint access
JP5705681B2 (en) Information processing apparatus, data migration tool generation method and program
CN115796190B (en) Front-end internationalization multi-language conversion method and system based on vue and weback
WO2022249256A1 (en) Api detection device, api detection method, and program
CN115904984A (en) System and method for determining test case, electronic device and storage medium
WO2022185363A1 (en) Label assignment assistance device, label assignment assistance method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180911

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181018

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190214

R150 Certificate of patent or registration of utility model

Ref document number: 6483630

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150