JP2007072968A - Verification method for software, verification program for software, and image forming device with the same program incorporated - Google Patents
Verification method for software, verification program for software, and image forming device with the same program incorporated Download PDFInfo
- Publication number
- JP2007072968A JP2007072968A JP2005262110A JP2005262110A JP2007072968A JP 2007072968 A JP2007072968 A JP 2007072968A JP 2005262110 A JP2005262110 A JP 2005262110A JP 2005262110 A JP2005262110 A JP 2005262110A JP 2007072968 A JP2007072968 A JP 2007072968A
- Authority
- JP
- Japan
- Prior art keywords
- program
- test
- image forming
- forming apparatus
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Debugging And Monitoring (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
本発明は、画像形成装置におけるパネル操作制御プログラムのようなミドルウェアに対する、ソフトウェア検証方法、ソフトウェア検証プログラム、及び、該プログラムが組み込まれた画像形成装置に関する。 The present invention relates to a software verification method, a software verification program for middleware such as a panel operation control program in an image forming apparatus, and an image forming apparatus incorporating the program.
アプリケーションプログラムの動作確認を自動的に実行し、ソフトウェアの品質向上のための自動実行ツールに関する技術が知られている。例えば、特許文献1では、入力条件及び動作環境条件に基づくテスト項目表を作成し、そのテスト項目表に基づいてテストスクリプトを自動生成することを特徴とするアプリケーションプログラムの検証方法に関する技術が開示されている。
A technique related to an automatic execution tool for automatically executing an operation check of an application program and improving the quality of software is known. For example,
また、特許文献2では、プログラミングの知識がなくても所望の目的の検査装置用ソフトウェアを構築可能とした技術が開示されている。本技術は、コンピュータシステムにおいて、ある検査装置用ソフトウェアに対し、ユーザの要求に応じて外部からのアプローチ(設定、手段)により、ソフトウェアのコードを変更することなく所望の目的の動作を行わせるために、各制御部の動作をエディタで編集することで所望の目的の検査装置用ソフトウェアを構築する構成とすると共に、当該ソフトウェアとこのソフトウェアで用いる情報ファイルを、データベースエンジンを有するネットワークサーバ(検査装置情報サーバ)2に格納し、ネットワークを介して検索、入手可能とするものである。
しかし、上述したような、特許文献1に開示される技術では「アプリケーション」の動作確認を目的としているため、テスト対象がデバイスドライバとアプリケーションの中間に位置するパネル操作制御プログラムのようなミドルウェアに対しては有効ではないという問題があった。これは入力をユーザ方向からの一方向と想定しているため、ミドルウェアのように上位層からも下位層からも入力があるシステムの動作を検証することが難しいということによる。
However, since the technique disclosed in
本発明は、上記のような問題点に鑑み、画像形成装置のパネル操作制御プログラムのようなミドルウェアの検証に適した、ソフトウェア検証方法、ソフトウェア検証プログラム、及び、該プログラムが組み込まれた画像形成装置を提供することを目的とする。 In view of the above-described problems, the present invention provides a software verification method, a software verification program, and an image forming apparatus incorporating the program, suitable for middleware verification such as a panel operation control program for an image forming apparatus. The purpose is to provide.
請求項1記載の発明は、ユーザからの指示情報及びアプリケーションからの指示情報に基づいて、画像形成装置操作パネル制御プログラムを動作させ、該プログラムを検証するソフトウェア検証方法としたことを特徴とする。
The invention described in
請求項2記載の発明は、画像形成装置が有するアプリケーションプログラムをシミュレートするためのテスト用アプリケーションプログラムと、前記画像形成装置が有するパネルドライバをシミュレートするためのテスト用パネルドライバプログラムと、該テスト用アプリケーションプログラム及び該テスト用パネルドライバプログラムに指示を出し、前記画像形成装置操作パネル制御プログラムの検証をするためのテスト全体を管理するテスト管理プログラムと、を有するソフトウェア検証プログラムの実行によるソフトウェア検証方法であって、前記テスト管理プログラムが、前記ユーザからの指示情報と前記アプリケーションからの指示情報を含むテストシナリオデータに基づいて、前記テスト用アプリケーションプログラム及び前記テスト用パネルドライバプログラムを動作させることにより前記画像形成装置操作パネル制御プログラムを動作させる第1の工程と、前記テスト管理プログラムが、前記第1の工程における前記画像形成装置操作パネル制御プログラムの動作結果を取得する第2の工程と、前記テスト管理プログラムが、前記第2の工程において取得した前記動作結果と、該動作結果を判断するものさしとなるテスト結果基準データとを比較することにより、前記画像形成装置操作パネル制御プログラムの検証結果を生成する第3の工程とを有する請求項1記載のソフトウェア検証方法としたことを特徴とする。
According to a second aspect of the present invention, there is provided a test application program for simulating an application program included in an image forming apparatus, a test panel driver program for simulating a panel driver included in the image forming apparatus, and the test Software verification method by executing a software verification program comprising: a test management program that issues an instruction to the application program for testing and a test management program that issues instructions to the test panel driver program and manages the entire test for verifying the image forming apparatus operation panel control program The test management program is based on test scenario data including instruction information from the user and instruction information from the application. A first step of operating the image forming apparatus operation panel control program by operating a strike panel driver program, and an operation result of the image forming apparatus operation panel control program in the first step. And the test management program compares the operation result acquired in the second step with test result reference data for determining the operation result. A software verification method according to
請求項3記載の発明は、前記ソフトウェア検証プログラムは、コンピュータに、前記テストシナリオデータを編集し、前記画像形成装置操作パネル制御プログラムに実行させるコマンドを、変更、削除、又は、追加する機能を実現させるためのテストシナリオ編集プログラムを有する請求項2記載のソフトウェア検証方法としたことを特徴とする。 According to a third aspect of the present invention, the software verification program realizes a function of changing, deleting, or adding a command for causing the computer to edit the test scenario data and to cause the image forming apparatus operation panel control program to execute. The software verification method according to claim 2, further comprising a test scenario editing program for executing the test scenario editing program.
請求項4記載の発明は、前記ソフトウェア検証プログラムは、コンピュータに、前記テストシナリオデータを編集し、ユーザからの指示情報及びアプリケーションからの指示情報をグループ化し、複数のグループの自由な組み合わせからなるテストシナリオデータを作成する機能を実現させるためのテストシナリオ編集プログラムを有する請求項2記載のソフトウェア検証方法としたことを特徴とする。 According to a fourth aspect of the present invention, the software verification program edits the test scenario data on a computer, groups instruction information from a user and instruction information from an application, and includes a free combination of a plurality of groups. The software verification method according to claim 2, further comprising a test scenario editing program for realizing a function of creating scenario data.
請求項5記載の発明は、コンピュータに、ユーザからの指示情報及びアプリケーションからの指示情報に基づいて、画像形成装置操作パネル制御プログラムを動作させ、該プログラムを検証させる機能を実現させるためのソフトウェア検証プログラムとしたことを特徴とする。 According to a fifth aspect of the present invention, there is provided software verification for causing a computer to execute an image forming apparatus operation panel control program based on instruction information from a user and instruction information from an application, and to realize a function of verifying the program. It is characterized as a program.
請求項6記載の発明は、画像形成装置が有するアプリケーションプログラムをシミュレートするためのテスト用アプリケーションプログラムと、前記画像形成装置が有するパネルドライバをシミュレートするためのテスト用パネルドライバプログラムと、該テスト用アプリケーションプログラム及び該テスト用パネルドライバプログラムに指示を出し、前記画像形成装置操作パネル制御プログラムの検証をするためのテスト全体を管理するテスト管理プログラムと、を有するソフトウェア検証プログラムであって、コンピュータに、前記テスト管理プログラムが、前記ユーザからの指示情報と前記アプリケーションからの指示情報を含むテストシナリオデータに基づいて、前記テスト用アプリケーションプログラム及び前記テスト用パネルドライバプログラムを動作させることにより前記画像形成装置操作パネル制御プログラムを動作させる第1の処理と、前記テスト管理プログラムが、前記第1の処理における前記画像形成装置操作パネル制御プログラムの動作結果を取得する第2の処理と、前記テスト管理プログラムが、前記第2の処理において取得した前記動作結果と、該動作結果を判断するものさしとなるテスト結果基準データとを比較することにより、前記画像形成装置操作パネル制御プログラムの検証結果を生成する第3の処理とを実行させるための請求項5記載のソフトウェア検証プログラムとしたことを特徴とする。
The invention according to
請求項7記載の発明は、コンピュータに、前記テストシナリオデータを編集し、前記画像形成装置操作パネル制御プログラムに実行させるコマンドを、変更、削除、又は、追加する機能を実現させるためのテストシナリオ編集プログラムを有する請求項6記載のソフトウェア検証プログラムとしたことを特徴とする。
The invention described in claim 7 is a test scenario editing for causing a computer to edit the test scenario data and to change, delete or add a command to be executed by the image forming apparatus operation panel control program. The software verification program according to
請求項8記載の発明は、コンピュータに、前記テストシナリオデータを編集し、ユーザからの指示情報及びアプリケーションからの指示情報をグループ化し、複数のグループの自由な組み合わせからなるテストシナリオデータを作成する機能を実現させるためのテストシナリオ編集プログラムを有する請求項6記載のソフトウェア検証プログラムとしたことを特徴とする。
The invention according to claim 8 is a function of editing test scenario data on a computer, grouping instruction information from a user and instruction information from an application, and creating test scenario data comprising a free combination of a plurality of groups. 7. The software verification program according to
請求項9記載の発明は、請求項5から8のいずれか1項に記載のソフトウェア検証プログラムが組み込まれた画像形成装置としたことを特徴とする。
The invention described in
本発明によれば、画像形成装置のパネル操作制御プログラムのようなミドルウェアの検証に適した、ソフトウェア検証方法、ソフトウェア検証プログラム、及び、該プログラムが組み込まれた画像形成装置を実現することができる。 According to the present invention, it is possible to realize a software verification method, a software verification program, and an image forming apparatus incorporating the program, which are suitable for middleware verification such as a panel operation control program of the image forming apparatus.
本発明を実施するための最良の形態は、ユーザからの指示情報及びアプリケーションからの指示情報に基づいて、画像形成装置操作パネル制御プログラムを動作させ、該プログラムを検証する。 In the best mode for carrying out the present invention, an image forming apparatus operation panel control program is operated based on instruction information from a user and instruction information from an application, and the program is verified.
以下に、本発明の好適な実施形態を添付図面に基づいて詳細に説明する。尚、以下に述べる実施形態は本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの実施形態に限られるものではない。 Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. The embodiments described below are preferable specific examples of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. Unless otherwise described, the present invention is not limited to these embodiments.
(実施形態1)
まず、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置のハードウエア構成とその機能について、図7を用いて以下に説明する。図7は、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置のハードウエア構成とその機能について説明するための構成ブロック図である。
(Embodiment 1)
First, the hardware configuration and functions of an image forming apparatus in which the software verification program of this embodiment is incorporated will be described below with reference to FIG. FIG. 7 is a block diagram illustrating the hardware configuration and functions of an image forming apparatus in which the software verification program of this embodiment is incorporated.
図7に示すように、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置100は、CPU1、操作パネル2、スキャンプリントエンジン3、記憶装置4、パネル制御部5、エンジン制御部6、ディスクドライバ7、通信制御部8、ROM9、RAM10、NVRAM11、モデム12、及び、ホストI/F13とを備えている。
As shown in FIG. 7, the image forming apparatus 100 in which the software verification program of this embodiment is incorporated includes a
CPU1は、画像形成装置100全体の制御を司るものである。そして、CPU1の制御下に、操作パネル2、スキャンプリントエンジン3、記憶装置4、パネル制御部5、エンジン制御部6、ディスクドライバ7、通信制御部8、ROM9、RAM10、NVRAM11、モデム12、及び、ホストI/F(外部I/F)13が接続されている。
The
操作パネル2とパネル制御部5は、ユーザとのインターフェイスを司る。スキャンプリントエンジン3とエンジン制御部6は、イメージデータの入出力ユニットとして、紙原稿の読み取りと転写紙への印刷を実行する。記憶装置4とディスクドライバ7は、大量のイメージデータなどを蓄積したり、データベースの記憶場所として利用される。通信制御部8は、イーサネット(登録商標)等のネットワークに接続され、外部の機器との通信を可能とする。
The operation panel 2 and the
ROM9には、プログラムコード、フォント、及びその他の静的なデータが格納されている。RAM10は、データの一時的な記憶場所として利用される。NVRAM11は、不揮発性のデータを格納する。モデム12は、公衆回線と接続され、外部の機器との通信を可能とする。ホストI/F13は、セントロニクスやRS−232C等のインターフェイスを用いてホスト外部の機器との通信を可能とする。
The
次に、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置のソフトウェア構成とその機能について、図8を用いて以下に説明する。図8は、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置のソフトウェア構成とその機能について説明するための構成ブロック図である。 Next, the software configuration and functions of the image forming apparatus in which the software verification program of this embodiment is incorporated will be described below with reference to FIG. FIG. 8 is a block diagram illustrating the software configuration and functions of an image forming apparatus in which the software verification program of this embodiment is incorporated.
図8に示すように、本実施形態のソフトウェア検証プログラムが組み込まれる画像形成装置100には、アプリケーションプログラム14、パネル制御プログラム15、エンジン制御プログラム16、通信制御プログラム17、パネルドライバ18、エンジンドライバ19、通信ドライバ20、及び、オペレーションシステム21が組み込まれている。
As shown in FIG. 8, the image forming apparatus 100 in which the software verification program of the present embodiment is incorporated includes an application program 14, a
アプリケーションプログラム14は、コピー、ファクス、プリンタなどの機能実行を管理する。パネル制御プログラム15は、パネルドライバ18を介して操作パネル2を制御し、ユーザからの情報をアプリケーションプログラム14に伝え、アプリケーションプログラム14からの情報をユーザに伝える。パネルドライバ18は、パネル制御プログラム15の指示によりオペレーションシステム21を介して操作パネル2を制御する。
The application program 14 manages the execution of functions such as copying, faxing, and printers. The
エンジン制御プログラム16は、エンジンドライバ19を介してスキャンプリントエンジン3を制御し、スキャンプリントエンジン3からの情報をアプリケーションプログラム14に伝え、アプリケーションプログラム14からの情報をスキャンプリントエンジン3に伝える。エンジンドライバ19は、エンジン制御プログラム16の指示によりオペレーションシステム21を介してスキャナプリントエンジン3を制御する。
The engine control program 16 controls the scan print engine 3 via the
通信制御プログラム17は、通信ドライバ20を介してネットワーク通信を制御し、ネットワーク上の通信相手からの情報をアプリケーションプログラム14に伝え、アプリケーションプログラム14からの情報をネットワーク上の通信相手に伝える。通信ドライバ20は、通信制御プログラム17の指示によりオペレーションシステム21を介して物理ネットワーク通信を制御する。オペレーションシステム21は、各種ドライバからの指示に基づき物理デバイスを制御し、物理デバイスの情報を各デバイスドライバに伝え、各デバイスドライバからの情報を物理デバイスに伝える。
The
次に、本実施形態のソフトウェア検証プログラムについて、図1を用いて以下に説明する。図1は、本実施形態のソフトウェア検証プログラムについて説明するための図である。図1に示すように、本実施形態のソフトウェア検証プログラムは、図8に示すアプリケーションプログラム14をシミュレートする、テスト用アプリケーションプログラム22と、図8に示すパネルドライバ18をシミュレートする、テスト用パネルドライバプログラム23と、それらに指示を出しテスト全体を管理する、テスト管理プログラム24とから構成される。なお、本実施形態のソフトウェア検証プログラムは、図7に示すROM9に格納される。
Next, the software verification program of this embodiment will be described below with reference to FIG. FIG. 1 is a diagram for explaining the software verification program of the present embodiment. As shown in FIG. 1, the software verification program of this embodiment is a test panel that simulates a
また、図1に示す、テストシナリオの集まりであるテストシナリオデータ25、及び、テスト結果を判断する際のものさしとなるテスト結果基準データ26は、図7に示すROM9に格納される。これらのデータは、本実施形態のソフトウェア検証プログラムの実行による、対象プログラム28(本実施形態ではパネル制御プログラム15)の検証に用いられる。一方、図1に示すテスト結果データ27は、図7に示すRAM10に格納される。
1 is stored in the
なお、本発明のソフトウェア検証プログラムは、対象プログラム28として本実施形態のパネル制御プログラム15に限らず、例えば、LCDやCRTを使用した家電の操作パネル制御プログラムのような、上位と下位にそれぞれ別のプログラムの層を持つミドルウェアに対して適用することが可能である。
Note that the software verification program of the present invention is not limited to the
次に、本実施形態のソフトウェア検証プログラムの動作について、図2を用いて以下に説明する。図2は、本実施形態のソフトウェア検証プログラムの動作について説明するための図である。図2に示すように、まず、テスト管理プログラム24は、テストシナリオデータ25を読み込む(図2:「1.テストシナリオ読み込み」)。このテストシナリオデータ25は、ユーザからの指示情報と、アプリケーションからの指示情報とを含むデータである。
Next, the operation of the software verification program of this embodiment will be described below with reference to FIG. FIG. 2 is a diagram for explaining the operation of the software verification program of the present embodiment. As shown in FIG. 2, first, the
次に、テスト管理プログラム24は、テストシナリオデータ25に基づいて、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23のそれぞれが、テスト対象プログラム28(図8:パネル制御プログラム15)に出すコマンドを指定し、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23に対して指示をする(図2:「2.指示、8.指示」)。
Next, based on the
続いて、上記指示を受け取ったテスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23はそれぞれ、テスト管理プログラム24が指定した所定のコマンドを、テスト対象プログラム28が実行するように、テスト対象プログラム28に対して指示を出す(図2:「3.指示、9.指示」)。そして、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23からの指示を受けたテスト対象プログラム28は、所定のコマンドを実行する。
Subsequently, the
続いて、テスト対象プログラム28は、所定のコマンドを実行した結果を、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23のそれぞれに対して送付する(図2:「4.結果、6.結果」、「10.結果、12.結果」)。ここで、テスト対象プログラム28は、指示された所定のコマンドを全て実行するまで動作を継続する。
Subsequently, the
続いて、テスト対象プログラム28からのコマンド実行結果を受け取ったテスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23はそれぞれ、テスト管理プログラム24に対して、上記テスト対象プログラム28のコマンド実行結果を送付する(図2に示す「5.結果、7.結果」、「11.結果、13.結果」)。
Subsequently, the
次に、テスト管理プログラム24は、テスト対象プログラム28のコマンド実行結果(図2に示す「5.結果、7.結果」、「11.結果、13.結果」)を受け取り、図7に示すRAM10に一時的に記憶しておく。その後、テスト管理プログラム24は、テスト結果基準データ26を読み込み(図2:「14.結果基準読み込み」)、一時的に図7に示すRAM10に記憶しておいた、テスト対象プログラム28のコマンド実行結果と照らし合わせ、両者に差異があったかなかったか、差異があった場合、それはどの結果についてかをテスト結果データ27として書き出す(図2:「15.テスト結果書き出し」)。
Next, the
本実施形態によれば、ユーザからの指示とアプリケーションからの指示の双方をシミュレートすることにより、画像形成装置の操作パネル制御プログラムの動作を自動で確認することができることで、画像形成装置の操作パネル制御プログラムのようなミドルウェアの動作確認に必要なコストを削減することができる。また、開発者自身が日常的に動作確認を行うことも容易となるため、品質の向上にもつながる。 According to the present embodiment, the operation of the operation panel control program of the image forming apparatus can be automatically confirmed by simulating both the instruction from the user and the instruction from the application. Costs required for checking the operation of middleware such as a panel control program can be reduced. In addition, it is easy for the developer to check the operation on a daily basis, which leads to an improvement in quality.
(実施形態2)
本実施形態は、実施形態1の応用例である。よって、実施形態1と共通する部分は説明を省略し、本実施形態の特徴部分のみ、添付図面を用いて以下に説明する。まず、本実施形態のソフトウェア検証プログラムについて、図3、4を用いて以下に説明する。図3は、本実施形態のソフトウェア検証プログラムについて説明するための図である。図4は、本実施形態のソフトウェア検証プログラムの動作について説明するための図である。
(Embodiment 2)
The present embodiment is an application example of the first embodiment. Therefore, the description of the parts common to the first embodiment will be omitted, and only the characteristic parts of the present embodiment will be described below with reference to the accompanying drawings. First, the software verification program of this embodiment will be described below with reference to FIGS. FIG. 3 is a diagram for explaining the software verification program of the present embodiment. FIG. 4 is a diagram for explaining the operation of the software verification program of this embodiment.
図3に示すように、本実施形態のソフトウェア検証プログラムは、実施形態1の図1で示したソフトウェア検証プログラムの構成に、テストシナリオデータ25を編集するためのテストシナリオ編集プログラム29を加えたことを特徴とする。
なお、実施形態1とは異なり、テストシナリオデータ25、及び、テスト結果基準データ26は、テストシナリオ編集プログラム29による編集のためその内容が変更されるので、図7に示すRAM10に格納される。
As shown in FIG. 3, the software verification program of the present embodiment is obtained by adding a test
Unlike the first embodiment, the
テストシナリオ編集プログラム29は、ユーザからの指示に基づいて、テストシナリオデータ25を編集し、テスト用アプリケーションプログラム22がテスト対象プログラム28に出すコマンド及びテスト用パネルドライバプログラムがテスト対象プログラム28に出すコマンドを変更、削除、追加することを可能とするものである。
The test
従って、図4に示すように、例えば、本実施形態の画像形成装置の有するパネル制御プログラム15をテスト対象プログラム28として、本実施形態のソフトウェア検証プログラムを実行させる前に、テストシナリオ編集プログラム29を動作させて、テストシナリオデータ25を編集して、対象プログラム28に対し、その実行を指示するコマンドに関して、変更、削除、追加をすることができる(図4:1.テスト要素書き出し)。
Accordingly, as shown in FIG. 4, for example, the
本実施形態によれば、テスト設計者がシミュレートする指示内容を編集できることにより、テスト対象プログラム28の動作確認内容を変更したい際にも、テストシナリオデータ25を一から作り直す必要はないため、テスト設計コストを削減することができる。
According to the present embodiment, since the instruction content to be simulated by the test designer can be edited, it is not necessary to recreate the
(実施形態3)
本実施形態は、実施形態1の応用例である。よって、実施形態1と共通する部分は説明を省略し、本実施形態の特徴部分のみ、添付図面を用いて以下に説明する。まず、本実施形態のソフトウェア検証プログラムについて、図5、6を用いて以下に説明する。図5は、本実施形態のソフトウェア検証プログラムについて説明するための図である。図6は、本実施形態のソフトウェア検証プログラムの動作について説明するための図である。
(Embodiment 3)
The present embodiment is an application example of the first embodiment. Therefore, description of the parts common to the first embodiment will be omitted, and only the characteristic parts of the present embodiment will be described below with reference to the accompanying drawings. First, the software verification program of this embodiment will be described below with reference to FIGS. FIG. 5 is a diagram for explaining the software verification program of the present embodiment. FIG. 6 is a diagram for explaining the operation of the software verification program of this embodiment.
図5に示すように、本実施形態のソフトウェア検証プログラムは、実施形態1の図1で示したソフトウェア検証プログラムの構成に、テストシナリオの集まりである子テストシナリオデータ32の集まりである、親テストシナリオデータ31、それら親テストシナリオデータ31、及び、子テストシナリオデータ32を編集するためのテストシナリオ編集プログラム30を加えたことを特徴とする。
As shown in FIG. 5, the software verification program of the present embodiment has a parent test that is a collection of child
また、図5に示す、テストシナリオの集まりである子テストシナリオデータ32の集まりである、親テストシナリオデータ31、及び、テスト結果を判断する際のものさしとなる子テスト結果基準データ34の集まりである、親テスト結果基準データ33は、図7に示すRAM10に格納される。
5 is a collection of parent
上記データは、本実施形態のソフトウェア検証プログラムの実行による、対象プログラム28(本実施形態ではパネル制御プログラム15)の検証に用いられる。また、図5に示す子テスト結果データ36の集まりである親テスト結果データ35は、図7に示すRAM10に格納される。
The data is used for verification of the target program 28 (
なお、実施形態1とは異なり、子テストシナリオデータ32の集まりである、親テストシナリオデータ31、及び、子テスト結果基準データ34の集まりである、親テスト結果基準データ33は、テストシナリオ編集プログラム30による編集のためその内容が変更されるので、図7に示すRAM10に格納される。
Unlike the first embodiment, the parent test
従って、図6に示すように、例えば、本実施形態の画像形成装置の有するパネル制御プログラム15をテスト対象プログラム28として、本実施形態のソフトウェア検証プログラムを実行させる前に、テストシナリオ編集プログラム30を動作させる。
テストシナリオ編集プログラム30は、ユーザからの指示に基づいて、子テストシナリオデータ32に含まれる、テスト用アプリケーションプログラム22がテスト対象プログラム28に出すコマンド、及び、テスト用パネルドライバプログラム23がテスト対象プログラム28に出すコマンドを変更、削除、追加する(図6:1.テスト要素書き出し、2.テスト要素書き出し)。
Therefore, as shown in FIG. 6, for example, the
The test
続いて、テストシナリオ編集プログラム30は、上記コマンドの変更、削除、追加を、必要な子テストシナリオデータ32分繰り返し(図6:1.テスト要素書き出し、2.テスト要素書き出し)、必要な子テストシナリオデータ32群を得る。次に、テストシナリオ編集プログラム30は、既に作成した個々の子テストシナリオデータ32を、ユーザからの指示に基づいて順番に並べて、親テストシナリオデータ31として書き出す(図6:3.子シナリオの組み合わせ順次書き出し、4.5.子テストシナリオ読み込み)。
Subsequently, the test
次に、テスト管理プログラム24は、親テストシナリオデータに定義された最初の子テストシナリオデータ32を読み込み(図6:6.親テストシナリオ読み込み)、テストシナリオデータ32に基づいて、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23のそれぞれが、テスト対象プログラム28(図8:パネル制御プログラム15)に出すコマンドを指定し、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23に対して指示をする(図6:「7.指示、13.指示」)。
Next, the
続いて、上記指示を受け取ったテスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23はそれぞれ、テスト管理プログラム24が指定した所定のコマンドを、テスト対象プログラム28が実行するように、テスト対象プログラム28に対して指示を出す(図6:「8.指示、14.指示」)。そして、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23からの指示を受けたテスト対象プログラム28は、所定のコマンドを実行する。
Subsequently, the
続いて、テスト対象プログラム28は、所定のコマンドを実行した結果を、テスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23のそれぞれに対して送付する(図6:「9.結果、11.結果」、「15.結果、17.結果」)。ここで、テスト対象プログラム28は、指示された所定のコマンドを全て実行するまで動作を継続する。
Subsequently, the
続いて、テスト対象プログラム28からのコマンド実行結果を受け取ったテスト用アプリケーションプログラム22及びテスト用パネルドライバプログラム23はそれぞれ、テスト管理プログラム24に対して、上記テスト対象プログラム28のコマンド実行結果を送付する(図6に示す「10.結果、12.結果」、「16.結果、18.結果」)。次に、テスト管理プログラム24は、テスト対象プログラム28のコマンド実行結果(図6に示す「10.結果、12.結果」、「16.結果、18.結果」)を受け取り、図7に示すRAM10に一時的に記憶しておく。
Subsequently, the
その後、1つの子テストシナリオデータ32による、テスト対象プログラム28のコマンド実行が終了したら、テスト管理プログラム24は、親テスト結果基準データ31に定義された最初の子テスト結果基準データ34を読み込み(図6:「19.結果基準読み込み」)、一時的に図7に示すRAM10に記憶しておいた、テスト対象プログラム28のコマンド実行結果と照らし合わせ、両者に差異があったかなかったか、差異があった場合、それはどの結果についてかを親テスト結果データ35の最初の子テスト結果データ36として書き出す(図6:「20.テスト結果書き出し」)。
Thereafter, when the command execution of the
なお、以上説明した動作は、親テストシナリオデータ31に定義された最後の子テストシナリオデータ32について実行するまで繰り返される。本実施形態によれば、シミュレートする指示内容をグループ化し、複数のグループを自由に組み合わせたテストセットを作成することができることにより、開発作業のライフサイクル毎に最適なテスト範囲を選択することができ、より効率的な品質保証活動を行うことが可能となり、開発プロジェクト全体の生産性向上に寄与することができる。
The operation described above is repeated until the last child
1 CPU
2 操作パネル
3 スキャンプリントエンジン
4 記憶装置
5 パネル操作部
6 エンジン制御部
7 ディスクドライバ
8 通信制御部
9 ROM
10 RAM
11 NVRAM
12 モデム
13 ホストI/F
14 アプリケーションプログラム
15 パネル制御プログラム
16 エンジン制御プログラム
17 通信制御プログラム
18 パネルドライバ
19 エンジンドライバ
20 通信ドライバ
21 オペレーションシステム
22 テスト用アプリケーションプログラム
23 テスト用パネルドライバプログラム
24 テスト管理プログラム
25 テストシナリオデータ
26 テスト結果基準データ
27 テスト結果データ
28 テスト対象プログラム
29、30 テストシナリオ編集プログラム
31 親テストシナリオデータ
32 子テストシナリオデータ
33 親テスト結果基準データ
34 子テスト結果基準データ
35 親テスト結果データ
36 子テスト結果データ
1 CPU
2 Operation Panel 3
10 RAM
11 NVRAM
12
DESCRIPTION OF SYMBOLS 14
Claims (9)
前記画像形成装置が有するパネルドライバをシミュレートするためのテスト用パネルドライバプログラムと、
該テスト用アプリケーションプログラム及び該テスト用パネルドライバプログラムに指示を出し、前記画像形成装置操作パネル制御プログラムの検証をするためのテスト全体を管理するテスト管理プログラムと、を有するソフトウェア検証プログラムの実行によるソフトウェア検証方法であって、
前記テスト管理プログラムが、前記ユーザからの指示情報と前記アプリケーションからの指示情報を含むテストシナリオデータに基づいて、前記テスト用アプリケーションプログラム及び前記テスト用パネルドライバプログラムを動作させることにより前記画像形成装置操作パネル制御プログラムを動作させる第1の工程と、
前記テスト管理プログラムが、前記第1の工程における前記画像形成装置操作パネル制御プログラムの動作結果を取得する第2の工程と、
前記テスト管理プログラムが、前記第2の工程において取得した前記動作結果と、該動作結果を判断するものさしとなるテスト結果基準データとを比較することにより、
前記画像形成装置操作パネル制御プログラムの検証結果を生成する第3の工程と、を有することを特徴とする請求項1記載のソフトウェア検証方法。 An application program for testing for simulating an application program included in the image forming apparatus;
A test panel driver program for simulating a panel driver included in the image forming apparatus;
Software by executing a software verification program having a test management program for giving instructions to the test application program and the test panel driver program and managing the entire test for verifying the image forming apparatus operation panel control program A verification method,
The test management program operates the image forming apparatus by operating the test application program and the test panel driver program based on test scenario data including instruction information from the user and instruction information from the application. A first step of operating a panel control program;
A second step in which the test management program acquires an operation result of the image forming apparatus operation panel control program in the first step;
The test management program compares the operation result acquired in the second step with test result reference data for determining the operation result,
The software verification method according to claim 1, further comprising a third step of generating a verification result of the image forming apparatus operation panel control program.
前記画像形成装置が有するパネルドライバをシミュレートするためのテスト用パネルドライバプログラムと、
該テスト用アプリケーションプログラム及び該テスト用パネルドライバプログラムに指示を出し、前記画像形成装置操作パネル制御プログラムの検証をするためのテスト全体を管理するテスト管理プログラムと、を有するソフトウェア検証プログラムであって、
コンピュータに、前記テスト管理プログラムが、前記ユーザからの指示情報と前記アプリケーションからの指示情報を含むテストシナリオデータに基づいて、前記テスト用アプリケーションプログラム及び前記テスト用パネルドライバプログラムを動作させることにより前記画像形成装置操作パネル制御プログラムを動作させる第1の処理と、
前記テスト管理プログラムが、前記第1の処理における前記画像形成装置操作パネル制御プログラムの動作結果を取得する第2の処理と、
前記テスト管理プログラムが、前記第2の処理において取得した前記動作結果と、該動作結果を判断するものさしとなるテスト結果基準データとを比較することにより、前記画像形成装置操作パネル制御プログラムの検証結果を生成する第3の処理と、
を実行させるための請求項5記載のソフトウェア検証プログラム。 An application program for testing for simulating an application program included in the image forming apparatus;
A test panel driver program for simulating a panel driver included in the image forming apparatus;
A test management program that issues an instruction to the test application program and the test panel driver program and manages an entire test for verifying the image forming apparatus operation panel control program,
The image is obtained by causing the test management program to operate the test application program and the test panel driver program based on test scenario data including instruction information from the user and instruction information from the application. A first process for operating a forming apparatus operation panel control program;
A second process in which the test management program acquires an operation result of the image forming apparatus operation panel control program in the first process;
The test management program compares the operation result acquired in the second processing with the test result reference data for determining the operation result, thereby verifying the verification result of the image forming apparatus operation panel control program. A third process for generating
The software verification program according to claim 5 for executing
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262110A JP2007072968A (en) | 2005-09-09 | 2005-09-09 | Verification method for software, verification program for software, and image forming device with the same program incorporated |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262110A JP2007072968A (en) | 2005-09-09 | 2005-09-09 | Verification method for software, verification program for software, and image forming device with the same program incorporated |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007072968A true JP2007072968A (en) | 2007-03-22 |
JP2007072968A5 JP2007072968A5 (en) | 2008-10-30 |
Family
ID=37934329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005262110A Pending JP2007072968A (en) | 2005-09-09 | 2005-09-09 | Verification method for software, verification program for software, and image forming device with the same program incorporated |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007072968A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009223577A (en) * | 2008-03-14 | 2009-10-01 | Ricoh Co Ltd | User interface emulation device and user interface emulation program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000266816A (en) * | 1999-03-16 | 2000-09-29 | Nec Corp | Test method for semiconductor device |
JP2001519619A (en) * | 1997-10-07 | 2001-10-23 | オメゴン ネットワークス リミティド | Failure point measurement and performance testing of communication networks |
JP2001350514A (en) * | 2000-06-07 | 2001-12-21 | Mitsubishi Electric Corp | Testing method for plant monitor control system |
JP2002324141A (en) * | 2001-04-24 | 2002-11-08 | Ricoh Co Ltd | Support system for selling image forming device, maintenance and charging support system for the same |
JP2002366387A (en) * | 2001-06-13 | 2002-12-20 | Hitachi Ltd | Automatic test system for software program |
JP2004078294A (en) * | 2002-08-09 | 2004-03-11 | Hitachi Kokusai Electric Inc | Signal processor |
-
2005
- 2005-09-09 JP JP2005262110A patent/JP2007072968A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001519619A (en) * | 1997-10-07 | 2001-10-23 | オメゴン ネットワークス リミティド | Failure point measurement and performance testing of communication networks |
JP2000266816A (en) * | 1999-03-16 | 2000-09-29 | Nec Corp | Test method for semiconductor device |
JP2001350514A (en) * | 2000-06-07 | 2001-12-21 | Mitsubishi Electric Corp | Testing method for plant monitor control system |
JP2002324141A (en) * | 2001-04-24 | 2002-11-08 | Ricoh Co Ltd | Support system for selling image forming device, maintenance and charging support system for the same |
JP2002366387A (en) * | 2001-06-13 | 2002-12-20 | Hitachi Ltd | Automatic test system for software program |
JP2004078294A (en) * | 2002-08-09 | 2004-03-11 | Hitachi Kokusai Electric Inc | Signal processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009223577A (en) * | 2008-03-14 | 2009-10-01 | Ricoh Co Ltd | User interface emulation device and user interface emulation program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220172B (en) | Method and system for automated User Interface (UI) testing via model-driven techniques | |
JP4865634B2 (en) | Program editing support apparatus, computer program, program editing support method, and PLC system | |
CN101676868B (en) | Image processing apparatus and image processing method | |
JP5039428B2 (en) | Programmable controller and PLC system | |
JP5350428B2 (en) | Automatic program generation apparatus, method and computer program | |
CN105144088A (en) | Association of metadata with source code and applications and services premised thereon | |
US20120005603A1 (en) | Application development supporting apparatus, program, and recording medium | |
KR20170015968A (en) | High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices | |
US8527254B2 (en) | Simulator engine development system and simulator engine development method | |
JP4140917B2 (en) | Verification work support system and method | |
JP2008276690A (en) | Development system, server for development system, and development method | |
CN108073738B (en) | GPIO (general purpose input/output) verification system and method | |
CN117215556A (en) | Modularized page rapid construction method, system, equipment and medium | |
JP2007072968A (en) | Verification method for software, verification program for software, and image forming device with the same program incorporated | |
WO2012104959A1 (en) | Motion sfc program component creation device | |
JP7115342B2 (en) | Debugging support system and debugging support method | |
JP6097231B2 (en) | Program generating apparatus and method | |
JP5319643B2 (en) | Software product line development support apparatus and method | |
JP4488231B2 (en) | Program management device | |
JP7311740B2 (en) | Information processing system, its control method, and program | |
EP4261678A1 (en) | Generation of a technical instruction | |
JP7323755B2 (en) | Information processing system, its control method and program | |
Tervo | Standards for test automation | |
KR100352500B1 (en) | Method for automation of form controls generation | |
KR101606820B1 (en) | Work system developing device and work system providing server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080909 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080909 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100712 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100720 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100921 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110118 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110315 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110405 |