JP7363164B2 - Information processing device, information processing method, and information processing program - Google Patents

Information processing device, information processing method, and information processing program Download PDF

Info

Publication number
JP7363164B2
JP7363164B2 JP2019138316A JP2019138316A JP7363164B2 JP 7363164 B2 JP7363164 B2 JP 7363164B2 JP 2019138316 A JP2019138316 A JP 2019138316A JP 2019138316 A JP2019138316 A JP 2019138316A JP 7363164 B2 JP7363164 B2 JP 7363164B2
Authority
JP
Japan
Prior art keywords
information
test case
fault
failure
input
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
JP2019138316A
Other languages
Japanese (ja)
Other versions
JP2021022173A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2019138316A priority Critical patent/JP7363164B2/en
Publication of JP2021022173A publication Critical patent/JP2021022173A/en
Application granted granted Critical
Publication of JP7363164B2 publication Critical patent/JP7363164B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

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

例えば、ファームウェア等の機器に組み込む制御ソフトウェアの開発において、制御ソフトウェアを起動した場合の動作確認を自動的に行う自動テストシステム及びソフトウェアテスト装置が利用されている。この自動テストシステム及びソフトウェアテスト装置では、目的に応じた様々なテストケースによって動作確認をすることができる。従来の自動テストシステムは、各テストケースの特徴を基準としてテストケースを選択している。 For example, in the development of control software such as firmware to be incorporated into devices, automatic test systems and software test devices are used that automatically check the operation of the control software when it is started. With this automatic test system and software test device, operation can be confirmed using various test cases depending on the purpose. Conventional automatic test systems select test cases based on the characteristics of each test case.

例えば特許文献1には、テストケースごとにパラメータを設け、パラメータを元にテストケースを選択するソフトウェアテスト装置が開示されている。 For example, Patent Document 1 discloses a software testing device that provides parameters for each test case and selects a test case based on the parameters.

しかしながら、従来の自動テストシステム或いはソフトウェアテスト装置は、テストケースの選択において、実際に発生している障害情報からのフィードバックが考慮されていないため、障害を効率的に発見することができない。 However, conventional automatic test systems or software test devices cannot efficiently discover faults because they do not take into account feedback from information on faults that actually occur when selecting test cases.

本発明は、上記に鑑みてなされたものであって、現在もしくは過去に発生した障害情報をテストケース抽出に利用することで、従来に比してテストの効率を向上させることができる情報処理装置、情報処理方法及び情報処理プログラムを提供することである。 The present invention has been made in view of the above, and is an information processing device that can improve test efficiency compared to conventional methods by using information on current or past failures for extracting test cases. , an information processing method and an information processing program.

本発明の実施形態に係る情報処理装置は、本発明の実施形態に係る情報処理装置は、ユーザからの入力に基づいて、ソフトウェアテストの対象となる機器についての障害情報を特定する特定部と、ソフトウェアテストの対象となる前記機器についての複数の前記障害情報を管理する障害情報データベースと、ソフトウェアテストの対象となる前記機器の前記複数の障害情報に含まれる複数の項目と複数のテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースと、特定された前記障害情報と、から、特定された前記障害情報に対応するテストケースを抽出する抽出部と、を具備する。 An information processing apparatus according to an embodiment of the present invention includes an identification unit that identifies fault information regarding a device to be subjected to a software test based on input from a user; A fault information database that manages a plurality of pieces of fault information about the equipment that is the target of a software test, and a plurality of items and a plurality of test cases that are included in the plurality of fault information about the equipment that is the target of a software test. The present invention includes a test case database that manages test case information that is associated information, and an extraction unit that extracts a test case corresponding to the identified fault information from the identified fault information.

本発明によれば、現在もしくは過去に発生した障害情報をテストケース抽出に利用することで、従来に比してソフトウェアテストの効率を向上させることができる情報処理装置及び情報処理プログラムを提供することができる。 According to the present invention, there is provided an information processing device and an information processing program that can improve the efficiency of software testing compared to the past by using failure information that has occurred in the present or in the past for test case extraction. I can do it.

図1は、実施形態に係る情報処理装置のハードウェア構成図である。FIG. 1 is a hardware configuration diagram of an information processing apparatus according to an embodiment. 図2は、実施形態に係る情報処理装置の機能ブロック図である。FIG. 2 is a functional block diagram of the information processing device according to the embodiment. 図3は、障害情報データベースとしての障害情報テーブルの一例を示した図である。FIG. 3 is a diagram showing an example of a failure information table as a failure information database. 図4は、テストケースデータベースとしてのテストケーステーブルの一例を示した図である。FIG. 4 is a diagram showing an example of a test case table as a test case database. 図5は、実施形態に係る情報処理装置が実行するテストケース抽出処理の流れを示したフローチャートである。FIG. 5 is a flowchart showing the flow of test case extraction processing executed by the information processing apparatus according to the embodiment.

以下に添付図面を参照して、情報処理装置及び情報処理プログラムの実施形態を詳細に説明する。 Embodiments of an information processing device and an information processing program will be described in detail below with reference to the accompanying drawings.

本実施形態に係る情報処理装置は、例えばソフトウェアが実装されるパーソナルコンピュータ等の情報処理装置が正常に動作するか否かを判定するために、当該ソフトウェアについての種々のケースで動作に関するシミュレーションを実行するコンピュータである。情報処理装置5は、ユーザから入力される情報に基づいてテストケースを抽出し、抽出したテストケースを用いてテストとしてのシミュレーションを実行する。 The information processing device according to the present embodiment executes simulations regarding the operation of the software in various cases in order to determine whether the information processing device such as a personal computer on which the software is installed operates normally. It is a computer that does The information processing device 5 extracts test cases based on information input by the user, and executes a simulation as a test using the extracted test cases.

なお、「テスト」とは、ソフトウェアについての少なくとも一つのケースで動作に関するシミュレーションを実行することを意味する。また、以下の説明においては、説明を具体的にするため、ソフトウェアがファームウェアである場合を例とする。 Note that "testing" means running a simulation regarding the operation of software in at least one case. In addition, in the following description, in order to make the description concrete, a case where the software is firmware will be taken as an example.

図1は、実施形態に係る情報処理装置5のハードウェア構成図である。以下、情報処理装置5のハードウェア構成について説明する。 FIG. 1 is a hardware configuration diagram of an information processing device 5 according to an embodiment. The hardware configuration of the information processing device 5 will be described below.

図1に示されているように、情報処理装置5は、CPU501、ROM502、RAM503、HD504、HDD(Hard Disk Drive)コントローラ505、ディスプレイ506、外部機器接続I/F(Interface)508、ネットワークI/F509、データバス510、キーボード511、ポインティングデバイス512、DVD-RW(Digital Versatile Disk Rewritable)ドライブ514、メディアI/F516を備えている。 As shown in FIG. 1, the information processing device 5 includes a CPU 501, a ROM 502, a RAM 503, an HD 504, an HDD (Hard Disk Drive) controller 505, a display 506, an external device connection I/F (Interface) 508, and a network I/F. F509, data bus 510, keyboard 511, pointing device 512, DVD-RW (Digital Versatile Disk Rewritable) drive 514, and media I/F 516.

これらのうち、CPU501は、情報処理装置5全体の動作を制御する。ROM502は、IPL等のCPU501の駆動に用いられるプログラムを記憶する。特に、ROM502は、テストケース抽出処理を実現するための専用プログラムを記憶する。RAM503は、CPU501のワークエリアとして使用される。HD504は、プログラム等の各種データを記憶する。HDDコントローラ505は、CPU501の制御にしたがってHD504に対する各種データの読み出し又は書き込みを制御する。ディスプレイ506は、カーソル、メニュー、ウィンドウ、文字、又は画像などの各種情報を表示する。外部機器接続I/F508は、各種の外部機器を接続するためのインターフェースである。この場合の外部機器は、例えば、USB(Universal Serial Bus)メモリやプリンタ等である。ネットワークI/F509は、通信ネットワーク100を利用してデータ通信をするためのインターフェースである。バスライン510は、図1に示されているCPU501等の各構成要素を電気的に接続するためのアドレスバスやデータバス等である。 Among these, the CPU 501 controls the operation of the information processing device 5 as a whole. The ROM 502 stores programs used to drive the CPU 501 such as IPL. In particular, the ROM 502 stores a dedicated program for implementing test case extraction processing. RAM 503 is used as a work area for CPU 501. The HD 504 stores various data such as programs. The HDD controller 505 controls reading and writing of various data to the HD 504 under the control of the CPU 501. The display 506 displays various information such as a cursor, menu, window, characters, or images. External device connection I/F 508 is an interface for connecting various external devices. The external device in this case is, for example, a USB (Universal Serial Bus) memory, a printer, or the like. The network I/F 509 is an interface for data communication using the communication network 100. The bus line 510 is an address bus, a data bus, etc. for electrically connecting each component such as the CPU 501 shown in FIG. 1.

また、キーボード511は、文字、数値、各種指示などの入力のための複数のキーを備えた入力手段の一種である。ポインティングデバイス512は、各種指示の選択や実行、処理対象の選択、カーソルの移動などを行う入力手段の一種である。DVD-RWドライブ514は、着脱可能な記録媒体の一例としてのDVD-RW513に対する各種データの読み出し又は書き込みを制御する。なお、DVD-RWに限らず、DVD-R等であってもよい。メディアI/F516は、フラッシュメモリ等の記録メディア515に対するデータの読み出し又は書き込み(記憶)を制御する。 Further, the keyboard 511 is a type of input means that includes a plurality of keys for inputting characters, numerical values, various instructions, and the like. The pointing device 512 is a type of input means for selecting and executing various instructions, selecting a processing target, moving a cursor, and the like. The DVD-RW drive 514 controls reading and writing of various data on a DVD-RW 513, which is an example of a removable recording medium. Note that it is not limited to DVD-RW, but may be DVD-R or the like. The media I/F 516 controls reading or writing (storage) of data to a recording medium 515 such as a flash memory.

図2は、実施形態に係る情報処理装置5の機能ブロック図である。同図に従って、情報処理装置5が有する各機能について説明する。 FIG. 2 is a functional block diagram of the information processing device 5 according to the embodiment. Each function of the information processing device 5 will be explained according to the figure.

情報処理装置5は、入力部5a、情報蓄積部5b、テストケース抽出部5c、テストケース実行部5dを具備している。 The information processing device 5 includes an input section 5a, an information storage section 5b, a test case extraction section 5c, and a test case execution section 5d.

入力部5aは、例えば、テストの対象となる機器についての障害情報をユーザから受け付ける。入力部5aは、ユーザへ向けて様々な情報を表示させるオペレーションパネルであり、図1に示したディスプレイ506、キーボード511、ポインティングデバイス512によって実現される。 The input unit 5a receives, for example, failure information about a device to be tested from a user. The input unit 5a is an operation panel that displays various information to the user, and is realized by the display 506, keyboard 511, and pointing device 512 shown in FIG.

情報蓄積部5bは、障害情報データベース51b、テストケースデータベース52bを有している。情報蓄積部5bは、ROM502、HD504、HDDコントローラ505によって実現される。 The information storage section 5b has a fault information database 51b and a test case database 52b. The information storage unit 5b is realized by a ROM 502, an HD 504, and an HDD controller 505.

図3は、障害情報データベース51bとしての障害情報テーブルの一例を示した図である。図3に示す様に、障害情報テーブルは、現在もしくは過去の障害傾向の分析結果に基づいて予め作成された複数の障害情報を一元管理するテーブルである。ここで、障害情報とは、障害モジュール、障害箇所、障害原因を少なくとも含む情報である。従って、障害情報テーブルは、少なくとも障害モジュール、障害箇所、障害原因の異なる組み合わせを、障害情報として管理するデータベースとなっている。 FIG. 3 is a diagram showing an example of a failure information table as the failure information database 51b. As shown in FIG. 3, the failure information table is a table that centrally manages a plurality of pieces of failure information created in advance based on analysis results of current or past failure trends. Here, the fault information is information including at least a fault module, a fault location, and a fault cause. Therefore, the fault information table is a database that manages at least different combinations of fault modules, fault locations, and fault causes as fault information.

また、障害モジュールとは、テスト対象となるソフトウェア(プログラム)を構成する複数のモジュールのうち、障害が発生したモジュールを示す項目である。障害箇所とは、障害モジュールのどのような動作において障害が発生したのかを示す項目である。障害原因とは、障害モジュールの特定の障害箇所に対応する動作において、障害となった原因を示す項目である。 Further, the fault module is an item indicating a module in which a fault has occurred among a plurality of modules that constitute the software (program) to be tested. The fault location is an item indicating in what operation of the faulty module the fault has occurred. The failure cause is an item indicating the cause of failure in the operation corresponding to a specific failure location of the failure module.

この障害情報テーブルは、現在又は過去のテストにおいて判明した障害情報に基づいて、予め作成される。この障害情報テーブルを用いることで、例えば網羅的に作成された複数の障害情報の中から、自身が関心のある障害モジュール、障害箇所、障害原因に関連する障害情報を効率的に指定することができる。 This failure information table is created in advance based on failure information found in current or past tests. By using this fault information table, you can, for example, efficiently specify the fault information related to the fault module, fault location, and cause of the fault that you are interested in from among a plurality of comprehensively created fault information. can.

図4は、テストケースデータベース52bとしてのテストケーステーブルの一例を示した図である。図4に示す様に、テストケーステーブルは、少なくとも障害モジュール、障害箇所(テスト項目)、ソフトウェアに潜在する障害を検出するためのシミュレーションケース(テストケース)の組合せを、一元管理するテーブルである。ここで、テストケーステーブルが管理する障害箇所には、障害箇所の詳細情報(例えば、障害原因に関する情報)も含まれる。また、テストケーステーブルが管理するテストケースには、障害情報における障害原因に対応づいた詳細情報(障害箇所に関するパラメータの範囲等)が含まれる。 FIG. 4 is a diagram showing an example of a test case table as the test case database 52b. As shown in FIG. 4, the test case table is a table that centrally manages combinations of at least fault modules, fault locations (test items), and simulation cases (test cases) for detecting faults latent in software. Here, the failure location managed by the test case table also includes detailed information about the failure location (for example, information regarding the cause of the failure). Further, the test case managed by the test case table includes detailed information (parameter range related to the fault location, etc.) that corresponds to the cause of the fault in the fault information.

このテストケーステーブルは、現在又は過去のテストにおいて判明したテスト結果に基づいて、予め作成される。このテストケーステーブルを用いることで、例えば網羅的に作成された複数のテストケースの中から、自身が関心のある障害モジュール、障害箇所に関連したテストケースを効率的に抽出することができる。 This test case table is created in advance based on test results found in current or past tests. By using this test case table, it is possible to efficiently extract, for example, a test case related to a fault module or fault location of interest from among a plurality of comprehensively created test cases.

テストケース抽出部5cは、ユーザからの入力に基づいて、ソフトウェアテストの対象となる機器についての障害情報を特定し、ソフトウェアテストの対象となる機器についての複数の障害情報を管理する障害情報データベースと、ソフトウェアテストの対象となる前記機器の複数の障害情報に含まれる複数の項目と複数のテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースと、特定された障害情報と、から、特定された障害情報に対応するテストケースを抽出する。 The test case extraction unit 5c specifies fault information regarding equipment targeted for software testing based on input from the user, and creates a fault information database for managing multiple pieces of fault information regarding equipment targeted for software testing. , a test case database that manages test case information, which is information that associates a plurality of items included in the plurality of fault information of the devices subject to software testing with a plurality of test cases; and a test case database that manages the identified fault information. , from which a test case corresponding to the identified fault information is extracted.

すなわち、テストケース抽出部5cは、入力部5aを介して受け付けられたユーザからの入力に従って、図3に示した障害情報テーブルにおいてユーザが所望する障害情報を特定する。テストケース抽出部5cは、図4に示したテストケーステーブルを参照し、特定された障害情報に対応するテストケースを抽出する。 That is, the test case extracting unit 5c specifies failure information desired by the user in the failure information table shown in FIG. 3 according to the input from the user received via the input unit 5a. The test case extraction unit 5c refers to the test case table shown in FIG. 4 and extracts a test case corresponding to the identified failure information.

より具体的には、テストケース抽出部5cは、入力部5aを介して受け付けられたユーザからの入力に従って、図3に示した障害情報テーブルにおいて、例えばユーザが所望した障害No「1」の障害情報を特定する。この障害No「1」の障害情報では、モジュールAAAの外部IFの限界値で障害が発生している。テストケース抽出部5cは、図4に示したテストケーステーブルを参照し、特定された障害情報に対応するものとして、モジュールAAAの外部IFの限界値をテストするテストケースを抽出する。なお、図4に示したテストテーブルにおいては、例えばモジュールAAAの外部IFの正常値での障害が発生していない。このため、テストケース抽出部5cは、モジュールAAAの外部IFの正常値に関するテストケースを抽出しない。 More specifically, the test case extracting unit 5c selects a failure with failure number “1” desired by the user in the failure information table shown in FIG. Identify information. In the fault information of this fault No. "1", a fault has occurred at the limit value of the external IF of module AAA. The test case extraction unit 5c refers to the test case table shown in FIG. 4 and extracts a test case for testing the limit value of the external IF of the module AAA, as one that corresponds to the identified failure information. In the test table shown in FIG. 4, for example, no failure occurs when the external IF of module AAA has a normal value. Therefore, the test case extraction unit 5c does not extract test cases related to the normal value of the external IF of module AAA.

テストケース実行部5dは、テストケース抽出部5cによって抽出されたテストケースを用いて、テストの対象となる機器についての動作をシミュレートする。テストケース実行部5dは、必要に応じて、シミュレート結果に基づいて、テストの対象となる機器が正常に動作するか否かを判定する。 The test case execution unit 5d simulates the operation of the device to be tested using the test case extracted by the test case extraction unit 5c. The test case execution unit 5d determines whether the device to be tested operates normally, based on the simulation result, as necessary.

なお、テストケース抽出部5c、テストケース実行部5dは、は、CPU501がROM502に格納された専用プログラムをRAM503上で実行することにより実現される。しかしながら、当該例に限定されず、テストケース抽出部5c、テストケース実行部5dの一部又は全部を、同様の各機能を実行するように設計された専用のハードウェア、例えばASIC(Application Specific Integrated Circuit)、DSP(digital signal processor)、FPGA(field programmable gate array)等の半導体集積回路や従来の回路モジュール等によって実現するようにしてもよい。 Note that the test case extraction unit 5c and the test case execution unit 5d are realized by the CPU 501 executing a dedicated program stored in the ROM 502 on the RAM 503. However, the present invention is not limited to this example, and part or all of the test case extraction unit 5c and the test case execution unit 5d may be implemented using dedicated hardware designed to perform similar functions, such as an ASIC (Application Specific Integrated Integrated Circuit). It may be realized by a semiconductor integrated circuit such as a DSP (digital signal processor), a DSP (digital signal processor), or an FPGA (field programmable gate array), or a conventional circuit module.

(テストケース抽出処理)
図5は、本実施形態に係る情報処理装置5が実行するテストケース抽出処理の流れを示したフローチャートである。図5を参照しながら、情報処理装置5が実行するテストケース抽出処理について説明する。
(Test case extraction process)
FIG. 5 is a flowchart showing the flow of test case extraction processing executed by the information processing device 5 according to the present embodiment. The test case extraction process executed by the information processing device 5 will be described with reference to FIG. 5.

まず、テストケース抽出部5cは、入力部5aを介したユーザからの入力に基づいて、障害情報を特定する(ステップS1)。この障害情報の特定は、例えば、ディスプレイ506に表示された障害情報テーブルから、ユーザが所望する障害情報を特定することにより実行される。或いは、例えばユーザが「障害モジュール」、「障害箇所」、「障害原因」のうちの少なくとも何れかに基づいて検索された障害情報の中から所望の障害情報を特定し、ユーザが所望する障害情報を特定するようにしてもよい。また、所望する障害情報の管理番号(障害No)を把握している場合には、障害Noを入力することで所望する障害情報を特定するようにしてもよい。 First, the test case extraction unit 5c identifies failure information based on the input from the user via the input unit 5a (step S1). This identification of the fault information is executed, for example, by specifying the fault information desired by the user from the fault information table displayed on the display 506. Alternatively, for example, the user may specify desired fault information from among the fault information searched based on at least one of "fault module", "fault location", and "fault cause", and the user may specify the desired fault information. may be specified. Furthermore, if the management number (fault number) of the desired fault information is known, the desired fault information may be specified by inputting the fault number.

本実施形態では、例えば、テストケース抽出部5cは、入力部5aを介して受け付けられたユーザからの入力に従って、図3に示した障害情報テーブルにおいて、例えばユーザが所望した障害No「1」の障害情報を特定する。 In this embodiment, for example, the test case extracting unit 5c selects the failure No. “1” desired by the user in the failure information table shown in FIG. 3 according to the input from the user received via the input unit 5a. Identify fault information.

次に、テストケース抽出部5cは、障害情報テーブルを参照し、特定された障害情報に含まれる「障害モジュール」、「障害箇所」、「障害原因」のうちの少なくともいずれかを抽出する(ステップS2)。 Next, the test case extraction unit 5c refers to the fault information table and extracts at least one of the "fault module", "fault location", and "fault cause" included in the identified fault information (step S2).

なお、本実施形態では、説明を具体的にするため、特定された障害情報から「障害モジュール」、「障害原因」が抽出されたものとしている。従って、例えば、テストケース抽出部5cは、障害情報テーブルを参照し、特定された障害No「1」の障害情報に含まれる「障害モジュール」として「AAA」を、同じく特定された障害No「1」の障害情報に含まれる「障害原因」として「限界値」を、それぞれ抽出する。 In this embodiment, in order to make the explanation more concrete, it is assumed that the "fault module" and "fault cause" are extracted from the identified fault information. Therefore, for example, the test case extraction unit 5c refers to the fault information table and selects "AAA" as the "fault module" included in the fault information of the identified fault No. "1". The "limit value" is extracted as the "failure cause" contained in the fault information of "."

次に、テストケース抽出部5cは、テストケーステーブルを参照し、抽出された「障害モジュール」、「障害原因」に対応するテストケースを抽出する(ステップS3)。すなわち、テストケース抽出部5cは、テストケーステーブルを参照し、「障害モジュール」が一致し、且つ「障害原因」を「テスト項目詳細」に含むテストケースを抽出する。 Next, the test case extraction unit 5c refers to the test case table and extracts a test case corresponding to the extracted "fault module" and "fault cause" (step S3). That is, the test case extraction unit 5c refers to the test case table and extracts test cases in which the "fault module" matches and the "fault cause" is included in the "test item details."

例えば、テストケース抽出部5cは、図4に示したテストケーステーブルを参照し、「障害モジュール」が「AAA」であり、且つ「障害原因」としての「限界値」を「テスト項目詳細」に含むテストケースを抽出する。図4に示した例では、テストケースNo「2」と「4」とが抽出されることになる。 For example, the test case extraction unit 5c refers to the test case table shown in FIG. Extract the containing test cases. In the example shown in FIG. 4, test case numbers "2" and "4" are extracted.

なお、このとき、「障害原因」が「限界値」であることから、「障害原因」としての「正常値」を「テスト項目詳細」に含むテストケースは抽出されない。 Note that at this time, since the "failure cause" is "limit value", test cases whose "test item details" include "normal value" as the "failure cause" are not extracted.

次に、テストケース実行部5dは、抽出されたテストケースを用いて、テストの対象となる機器についての動作をシミュレートする(ステップS4)。例えば、テストケース実行部5dは、障害モジュール「AAA」のテスト項目「外部IF_X」につき、限界値(0,11)を設定するテストケースNo「2」と、及び障害モジュール「AAA」のテスト項目「外部IF_Y」につき、限界値(0,101)を設定するテストケース「4」とを用いて、テストの対象となる機器についての動作をシミュレートする。 Next, the test case execution unit 5d uses the extracted test case to simulate the operation of the device to be tested (step S4). For example, the test case execution unit 5d creates a test case No. ``2'' that sets a limit value (0, 11) for the test item ``external IF_X'' of the fault module ``AAA'', and a test item of the fault module ``AAA''. For "external IF_Y", the operation of the device to be tested is simulated using test case "4" which sets the limit value (0, 101).

(効果)
以上述べた本実施形態に係る情報処理装置では、入力部5aを介したユーザからの入力に基づいて、ソフトウェアテストの対象となる機器についての障害情報を特定し、ソフトウェアテストの対象となる機器についての複数の障害情報を管理する障害情報データベースと、ソフトウェアテストの対象となる機器の複数の障害情報に含まれる複数の項目と複数のテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースと、特性された障害情報と、から、特定された障害情報に対応するテストケースを抽出する。
(effect)
In the information processing apparatus according to the present embodiment described above, based on the input from the user via the input unit 5a, failure information regarding the device to be subjected to software testing is specified, and information about the device to be subjected to software testing is determined. Manages a fault information database that manages multiple fault information of devices targeted for software testing, and test case information that is information that associates multiple test cases with multiple items included in the multiple fault information of devices targeted for software testing. A test case corresponding to the identified fault information is extracted from the test case database and the characterized fault information.

従って、ユーザは、実際に発生している複数の障害情報の中から所望の障害情報を特定して、実際に発生している障害情報からのフィードバックを考慮したテストケースを抽出することができる。ソフトウェアの障害は、一般に、新機能において発生する他に、過去に障害が発生した部分や似た部分で発生することが多い。そのため、過去に発生した障害情報を基準として、シミュレーションにおいて実行すべきテストケースを優先して抽出することができる。その結果、障害情報とは関係のない無駄なテストを省略し、効率的に障害を発見するテストを実行することができ、実機ファームウェアの自動テストシステムにおける、障害情報を利用したテスト効率の向上させることができる。 Therefore, the user can specify desired failure information from among a plurality of actually occurring failure information and extract a test case that takes into consideration feedback from the actually occurring failure information. Software failures generally occur not only in new functions, but also in parts where failures have occurred in the past or similar parts. Therefore, test cases to be executed in simulation can be extracted with priority based on information on failures that have occurred in the past. As a result, it is possible to omit unnecessary tests unrelated to fault information and to perform tests that efficiently discover faults, improving test efficiency using fault information in automatic test systems for actual device firmware. be able to.

(変形例1)
上述した実施形態においては、特定された障害情報から「障害モジュール」、「障害原因」を抽出し、この抽出された「障害モジュール」、「障害原因」と類似する情報を含むテストケースを抽出する場合を例をとして説明した。しかしながら、本実施形態に係る情報処理装置5が実行するテストケース抽出処理は、当該例に限定されない。例えば、特定された障害情報から「障害モジュール」、「障害箇所」を抽出し、この抽出された「障害モジュール」、「障害箇所」と類似する情報を含むテストケースを抽出するようにしてもよい。
(Modification 1)
In the embodiment described above, the "fault module" and "fault cause" are extracted from the identified fault information, and test cases containing information similar to the extracted "fault module" and "fault cause" are extracted. The case was explained using an example. However, the test case extraction process executed by the information processing device 5 according to the present embodiment is not limited to this example. For example, "fault module" and "fault location" may be extracted from the identified fault information, and test cases containing information similar to the extracted "fault module" and "fault location" may be extracted. .

(変形例2)
上述した実施形態においては、障害情報データベース51b、テストケースデータベース52bを情報処理装置5に格納する場合を例とした。しかしながら、当該例に限定されず、障害情報データベース51b、テストケースデータベース52bは、ネットワークを介して情報処理装置5と通信可能な装置(例えば、クラウド上のサーバ装置等)に格納する構成であってもよい。係る場合には、テストケース抽出部5cは、ネットワークを介して情報処理装置5と通信可能な装置と情報のやり取りをし、上述したテストケース抽出処理を実行する。
(Modification 2)
In the embodiment described above, the case where the failure information database 51b and the test case database 52b are stored in the information processing device 5 is taken as an example. However, the present invention is not limited to this example, and the failure information database 51b and the test case database 52b are configured to be stored in a device (for example, a server device on a cloud) that can communicate with the information processing device 5 via a network. Good too. In such a case, the test case extraction unit 5c exchanges information with a device that can communicate with the information processing device 5 via the network, and executes the test case extraction process described above.

上述した自動テストシステム1、情報処理装置5が有する機能を実現するためのプログラムは、インストール可能な形式または実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)、USB(Universal Serial Bus)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよいし、インターネット等のネットワーク経由で提供または配布するように構成してもよい。また、各種プログラムを、ROM等の不揮発性の記録媒体に予め組み込んで提供するように構成してもよい。 The programs for realizing the functions of the automatic test system 1 and the information processing device 5 described above are files in an installable or executable format and can be stored on a CD-ROM, flexible disk (FD), CD-R, or DVD ( It may be configured to be recorded and provided on a computer-readable recording medium such as a Digital Versatile Disk or USB (Universal Serial Bus), or it may be configured to be provided or distributed via a network such as the Internet. Good too. Further, various programs may be provided by being incorporated in a non-volatile recording medium such as a ROM in advance.

5 情報処理装置
5a 入力部
5b 情報蓄積部
5c テストケース抽出部
5d テストケース実行部
501 CPU
502 ROM
503 RAM
504 HD
506 ディスプレイ
508 外部機器接続I/F
509 ネットワークI/F
510 バス
511 キーボード
512 ポインティングデバイス
514 DVD-RWドライブ
515 SDカード
516 メディアI/F
5 Information processing device 5a Input section 5b Information storage section 5c Test case extraction section 5d Test case execution section 501 CPU
502 ROM
503 RAM
504 HD
506 Display 508 External device connection I/F
509 Network I/F
510 Bus 511 Keyboard 512 Pointing device 514 DVD-RW drive 515 SD card 516 Media I/F

特開2007-334630号公報Japanese Patent Application Publication No. 2007-334630

Claims (9)

ユーザから、前記ユーザが所望する障害情報を特定する入力を受け付ける入力部と、
ソフトウェアテストの対象となる機器において発生した障害、に基づいて予め作成された複数の障害情報であって、前記複数の障害情報ごとに複数の項目を含む前記複数の障害情報、を管理する障害情報データベースから、前記入力部で受け付けた入力に基づいて、前記ユーザが所望する前記障害情報を特定する特定部と、
前記複数の項目とテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースから、前記入力に基づいて前記特定部で特定された前記ユーザが所望する前記障害情報、に含まれる複数の項目に基づいて、当該障害情報に対応するテストケースを抽出する抽出部と、
を具備する情報処理装置。
an input unit that receives input from a user to specify failure information desired by the user;
Fault information that manages a plurality of fault information that is created in advance based on a fault that has occurred in a device that is the target of a software test, and that includes a plurality of items for each of the plurality of fault information. an identification unit that identifies the failure information desired by the user from a database based on input received by the input unit;
the failure information desired by the user, which is specified by the specifying unit based on the input, from a test case database that manages test case information that is information that associates the plurality of items with test cases ; an extraction unit that extracts a test case corresponding to the failure information based on a plurality of items included in the failure information;
An information processing device comprising:
前記抽出部は、前記テストケースデータベースから、前記入力に基づいて前記特定部で特定された前記ユーザが所望する前記障害情報、に含まれる複数の項目のうち、少なくともいずれか1つの項目に基づいて、当該障害情報に対応するテストケースを抽出するThe extracting unit extracts information from the test case database based on at least one item among a plurality of items included in the failure information desired by the user, which is specified by the specifying unit based on the input. , extract the test case corresponding to the relevant failure information
請求項1に記載の情報処理装置。The information processing device according to claim 1.
前記抽出部が抽出するテストケースは、前記入力に基づいて前記特定部で特定された前記ユーザが所望する前記障害情報、に含まれる複数の項目のうち、少なくともいずれか1つの項目と一致する項目を含むテストケースであるThe test case extracted by the extraction unit is an item that matches at least one item among a plurality of items included in the failure information desired by the user specified by the identification unit based on the input. is a test case containing
請求項2に記載の情報処理装置。The information processing device according to claim 2.
前記抽出部で抽出されたテストケースを用いて、前記機器についての動作をシミュレートする実行部をさらに具備する請求項1乃至3のいずれか一項に記載の情報処理装置。The information processing apparatus according to any one of claims 1 to 3, further comprising an execution unit that simulates an operation of the device using the test case extracted by the extraction unit. 前記入力部はキーボード又はポインティングデバイスである請求項1乃至4のいずれか一項に記載の情報処理装置。The information processing apparatus according to any one of claims 1 to 4, wherein the input unit is a keyboard or a pointing device. 前記障害情報は、前記複数の項目として、障害モジュール、障害箇所、障害原因のうちの少なくともいずれかを含む、請求項1乃至5のいずれか一項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 5, wherein the failure information includes at least one of a failure module, a failure location, and a failure cause as the plurality of items. 前記テストケース情報は、前記障害原因を少なくとも含む、請求項6に記載の情報処理装置。 The information processing apparatus according to claim 6, wherein the test case information includes at least the cause of the failure. 情報処理装置が実行する方法であって、A method executed by an information processing device, the method comprising:
ユーザから、前記ユーザが所望する障害情報を特定する入力を受け付け、receiving input from a user specifying failure information desired by the user;
ソフトウェアテストの対象となる機器において発生した障害、に基づいて予め作成された複数の障害情報であって、前記複数の障害情報ごとに複数の項目を含む前記複数の障害情報、を管理する障害情報データベースから、前記入力に基づいて、前記ユーザが所望する前記障害情報を特定し、Fault information that manages a plurality of fault information that is created in advance based on a fault that has occurred in a device that is the target of a software test, and that includes a plurality of items for each of the plurality of fault information. identifying the failure information desired by the user from a database based on the input;
前記複数の項目とテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースから、前記入力に基づいて特定された前記ユーザが所望する前記障害情報、に含まれる複数の項目に基づいて、当該障害情報に対応するテストケースを抽出する方法。A plurality of items included in the failure information desired by the user specified based on the input from a test case database that manages test case information that is information that associates the plurality of items with test cases. A method of extracting a test case corresponding to the relevant failure information based on the method.
コンピュータに、to the computer,
ユーザから、前記ユーザが所望する障害情報を特定する入力を受け付ける入力機能と、an input function that receives input from a user to specify failure information desired by the user;
ソフトウェアテストの対象となる機器において発生した障害、に基づいて予め作成された複数の障害情報であって、前記複数の障害情報ごとに複数の項目を含む前記複数の障害情報、を管理する障害情報データベースから、前記入力機能で受け付けた入力に基づいて、前記ユーザが所望する前記障害情報を特定する特定機能と、Fault information that manages a plurality of fault information that is created in advance based on a fault that has occurred in a device that is the target of a software test, and that includes a plurality of items for each of the plurality of fault information. a specific function that specifies the failure information desired by the user from a database based on input received by the input function;
前記複数の項目とテストケースとを対応付けた情報であるテストケース情報を管理するテストケースデータベースから、前記入力に基づいて前記特定機能で特定された前記ユーザが所望する前記障害情報、に含まれる複数の項目に基づいて、当該障害情報に対応するテストケースを抽出する抽出機能と、Included in the failure information desired by the user specified by the specific function based on the input from a test case database that manages test case information that is information that associates the plurality of items and test cases. An extraction function that extracts test cases corresponding to the failure information based on multiple items;
を実現させる情報処理プログラム。An information processing program that realizes.
JP2019138316A 2019-07-26 2019-07-26 Information processing device, information processing method, and information processing program Active JP7363164B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019138316A JP7363164B2 (en) 2019-07-26 2019-07-26 Information processing device, information processing method, and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019138316A JP7363164B2 (en) 2019-07-26 2019-07-26 Information processing device, information processing method, and information processing program

Publications (2)

Publication Number Publication Date
JP2021022173A JP2021022173A (en) 2021-02-18
JP7363164B2 true JP7363164B2 (en) 2023-10-18

Family

ID=74573279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019138316A Active JP7363164B2 (en) 2019-07-26 2019-07-26 Information processing device, information processing method, and information processing program

Country Status (1)

Country Link
JP (1) JP7363164B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007087112A (en) 2005-09-22 2007-04-05 Fuji Xerox Co Ltd Failure diagnostic device
JP2009181536A (en) 2008-02-01 2009-08-13 Dainippon Screen Mfg Co Ltd Software fault management device, test management device and program therefor
JP2018036971A (en) 2016-09-01 2018-03-08 株式会社日立製作所 Computer system and test case management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2595117B2 (en) * 1990-03-08 1997-03-26 株式会社日立製作所 Test control method for information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007087112A (en) 2005-09-22 2007-04-05 Fuji Xerox Co Ltd Failure diagnostic device
JP2009181536A (en) 2008-02-01 2009-08-13 Dainippon Screen Mfg Co Ltd Software fault management device, test management device and program therefor
JP2018036971A (en) 2016-09-01 2018-03-08 株式会社日立製作所 Computer system and test case management method

Also Published As

Publication number Publication date
JP2021022173A (en) 2021-02-18

Similar Documents

Publication Publication Date Title
CN107402880B (en) Test method and electronic equipment
WO2018010552A1 (en) Test method and device
US8949672B1 (en) Analyzing a dump file from a data storage device together with debug history to diagnose/resolve programming errors
US20120254662A1 (en) Automated test system and automated test method
US10049031B2 (en) Correlation of violating change sets in regression testing of computer software
US20190079854A1 (en) Systems and methods for executing tests
WO2016015220A1 (en) Executable code abnormality detection
US20210208996A1 (en) Verification automation apparatus, verification automation method, and computer-readable recording medium
JP2007025497A (en) Educational assistance program and educational assistant device
JP6888415B2 (en) Information processing equipment and information processing programs
US20130339798A1 (en) Methods for automated software testing and devices thereof
TW200937287A (en) Building operating system images based on applications
CN112817869A (en) Test method, test device, test medium, and electronic apparatus
JP7363164B2 (en) Information processing device, information processing method, and information processing program
CN116719736A (en) Test case generation method and device for testing software interface
US10546080B1 (en) Method and system for identifying potential causes of failure in simulation runs using machine learning
CN113360366A (en) Web page testing method, testing device, electronic equipment and storage medium
JP4215255B2 (en) Degradation confirmation inspection method, degradation confirmation inspection system, and program therefor
WO2020230241A1 (en) Testing device, testing method, and program
JP2005332098A (en) Testing item extraction system, testing item extraction device, testing item extraction method used for the device, and program therefor
JP2013054693A (en) Regression test support program and regression test support device
WO2021205589A1 (en) Test script generation device, test script generation method, and program
JP7268748B2 (en) Information analysis device, method and program
US11354081B2 (en) Information processing apparatus with concealed information
JP2013148968A (en) Test data generation device, test data generation program and test data generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230519

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: 20230905

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230918

R151 Written notification of patent or utility model registration

Ref document number: 7363164

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151