JP2019153264A - Information processing apparatus, processing method of the same and program - Google Patents
Information processing apparatus, processing method of the same and program Download PDFInfo
- Publication number
- JP2019153264A JP2019153264A JP2018087069A JP2018087069A JP2019153264A JP 2019153264 A JP2019153264 A JP 2019153264A JP 2018087069 A JP2018087069 A JP 2018087069A JP 2018087069 A JP2018087069 A JP 2018087069A JP 2019153264 A JP2019153264 A JP 2019153264A
- Authority
- JP
- Japan
- Prior art keywords
- test
- application
- definition
- unit
- processing apparatus
- 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
- 230000010365 information processing Effects 0.000 title claims abstract description 99
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000012360 testing method Methods 0.000 claims abstract description 261
- 238000010276 construction Methods 0.000 claims abstract description 24
- 238000000034 method Methods 0.000 claims description 40
- 238000012545 processing Methods 0.000 claims description 32
- 238000006467 substitution reaction Methods 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 33
- 238000010998 test method Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 12
- 238000012795 verification Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000013499 data model Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- KNMAVSAGTYIFJF-UHFFFAOYSA-N 1-[2-[(2-hydroxy-3-phenoxypropyl)amino]ethylamino]-3-phenoxypropan-2-ol;dihydrochloride Chemical compound Cl.Cl.C=1C=CC=CC=1OCC(O)CNCCNCC(O)COC1=CC=CC=C1 KNMAVSAGTYIFJF-UHFFFAOYSA-N 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 235000014510 cooky Nutrition 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Images
Abstract
Description
本発明は、アプリケーションを構築するための情報処理装置、その処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus for building an application, a processing method thereof, and a program.
従来、設定された定義に基づきアプリケーションを構築(生成)するツールやサービスが存在する。このようなツールやサービスを利用して構築したアプリケーションであっても、定義の設定ミス等により予想外の動作をすることがあるため、テスト工程を省略することはできない。 Conventionally, there are tools and services for building (generating) an application based on a set definition. Even an application constructed using such a tool or service may be operated unexpectedly due to a definition setting error or the like, so the test process cannot be omitted.
特許文献1には、アプリケーションをテストするためのプログラムを生成する仕組みが開示されている。
しかし、特許文献1は、テスト対象のアプリケーションが動作可能な状態でなければならない。
However, in
つまり、特許文献1の仕組みを用いて、アプリケーション構築ツールを用いて構築するアプリケーションのテストをする場合、テスト対象の画面や処理に到達するまでに必要な画面や処理(例えば、ログイン処理やメニュー画面等)がテストできる程度に構築されている必要がある。そのため、テスト工程の開始時期がどうしても遅れてしまい、テスト工程の開始までに設定したアプリケーション定義に係る品質を保証することができない。
In other words, when testing an application built using an application construction tool using the mechanism of
そこで、本発明の目的は、アプリケーション構築ツールにおいて、テストを効率的に行う仕組みを提供することである。 Accordingly, an object of the present invention is to provide a mechanism for efficiently performing a test in an application construction tool.
アプリケーションを構築する情報処理装置であって、前記アプリケーションを構築するための定義情報を取得する定義情報取得手段と、前記定義情報取得手段により取得された定義情報に基づき、前記アプリケーションを構築するアプリケーション構築手段と、前記定義情報取得手段により取得された定義情報を用いて生成されたテストケースに基づき、前記アプリケーション構築手段により構築されたアプリケーションに係るテストを実行するテスト実行手段とを備えることを特徴とする情報処理装置。 An information processing apparatus for constructing an application, the definition information obtaining means for obtaining definition information for constructing the application, and the application construction for constructing the application based on the definition information obtained by the definition information obtaining means And a test execution means for executing a test related to the application constructed by the application construction means based on the test case generated using the definition information obtained by the definition information obtaining means. Information processing apparatus.
本発明によれば、アプリケーション構築ツールにおいて、テストを効率的に行う仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism for efficiently performing a test in an application construction tool.
以下、本発明の実施の形態を、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明に係るシステムの構成図の一例である。 FIG. 1 is an example of a configuration diagram of a system according to the present invention.
情報処理装置101は、開発者の操作に従って画面レイアウト及びデータベース検索指示などを定義する。情報処理装置101は、アプリケーションのプログラム生成を行う。
The
なお、本実施形態においては、情報処理装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用するアプリケーションでなくてもよい。
In the present embodiment, the application generated by the
また、本実施形態においては、情報処理装置101はアプリケーションのプログラムを生成するとしたが、この方法に限定するものではなく、プログラムを生成することなく、アプリケーションサーバ102やクラウド環境等でアプリケーションが動作する様にデータやファイル等を生成することにより、アプリケーション(の動作環境)を構築する等であってもよい。
In this embodiment, the
アプリケーションサーバ102は、情報処理装置101で生成され配置されたアプリケーションを実行する。また、アプリケーションサーバ102は、データベースサーバ103に接続し、データベースのデータを操作することができる。
The
データベースサーバ103は、生成されたアプリケーションが利用するデータベースである。なお、開発時にも動作確認などのために利用してもよい。また、データベースサーバ103は、情報処理装置101や、アプリケーションサーバ102と同一の装置で構成されていてもよいし、LANなどのネットワーク105内に配置されてもよい。
The
アプリケーションクライアント104は、アプリケーションサーバ102と協調して情報処理装置101で開発したアプリケーションプログラムを動作させる、エンドユーザの操作端末である。この、アプリケーションクライアント104は、携帯端末などの情報処理装置であってもよい。
The
クラウド環境106は、動的にスケーラブルかつ仮想化されたリソースを供給することが可能な環境である。 The cloud environment 106 is an environment that can supply dynamically scalable and virtualized resources.
クラウド環境106内の仮想アプリケーションサーバ107は、情報処理装置101で生成され配置されたアプリケーションを実行する。また、仮想アプリケーションサーバ107は、仮想データベースサーバ108に接続し、データベースのデータを操作することができる。
A virtual application server 107 in the cloud environment 106 executes an application generated and arranged by the
クラウド環境106内の仮想データベースサーバ108は、生成されたアプリケーションが利用するデータベースである。なお、開発時にも動作確認などのために利用してもよい。 The virtual database server 108 in the cloud environment 106 is a database used by the generated application. Note that it may be used for operation confirmation during development.
なお、クラウド環境106は動的にスケーラブルかつ仮想化されたリソースを供給することが可能な環境であるとしたが、本実施形態においては、この特徴を備えている必要はなく、クラウド環境106が仮想アプリケーションサーバ107及び仮想データベースサーバ108の動作を提供するのであれば、動的にスケーラブルでなくても、仮想化されたリソースを供給できなくてもよい。
Although the cloud environment 106 is an environment that can supply dynamically scalable and virtualized resources, in this embodiment, it is not necessary to have this feature, and the cloud environment 106 If the operations of the virtual application server 107 and the virtual database server 108 are provided, the virtualized resource may not be supplied even if it is not dynamically scalable.
図2は、本発明に係わる情報処理装置101、アプリケーションサーバ102、データベースサーバ103、アプリケーションクライアント104として適用可能な各ハードウェア構成の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
In FIG. 2, the
また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
The
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The
入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイス、タッチパネルが挙げられる。
The
なお、入力部209がタッチパネルの場合、ユーザがタッチパネルに表示されたアイコンやカーソルやボタンに合わせて押下(指等でタッチ)することにより、各種の指示を行うことができることとする。
Note that when the
また、タッチパネルは、マルチタッチスクリーン等の、複数の指でタッチされた位置を検出することが可能なタッチパネルであってもよい。 The touch panel may be a touch panel that can detect a position touched by a plurality of fingers, such as a multi-touch screen.
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。尚、本体と一体になったノート型パソコンのディスプレイも含まれるものとする。また、プロジェクタであってもよいこととする。
The
外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。外部メモリ211には、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
The
なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォント展開(ラスタライズ)処理を実行することにより、出力部210上での表示を可能としている。また、CPU201は、出力部210上の不図示のマウスカーソル等でのユーザ指示を可能とする。
Note that the
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。
The communication I /
本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
A
図3は、本発明の実施の形態のソフトウェア構成を示すブロック図の一例である。 FIG. 3 is an example of a block diagram illustrating a software configuration according to the embodiment of this invention.
情報処理装置101は、以下の機能部を備える。
The
定義情報取得部301は、アプリケーションを構築するための定義情報を取得する機能部である。
The definition
テストケース作成部302は、定義情報取得部301により取得された定義情報を用いて、テストケースを生成する機能部である。
The test case creation unit 302 is a functional unit that generates a test case using the definition information acquired by the definition
テスト実行部303は、テストケース作成部302により生成されたテストケースに基づき、定義情報が正しく定義されているか否かのテストを実行する機能部である。 The test execution unit 303 is a functional unit that executes a test as to whether or not the definition information is correctly defined based on the test case generated by the test case creation unit 302.
予想値入力受付部304は、定義情報取得部301により取得された定義情報の持つ値として予想される値の入力を受け付ける機能部である。
The expected value input receiving unit 304 is a functional unit that receives an input of a value expected as the value of the definition information acquired by the definition
テストケース作成部302は、予想値入力受付部304により受け付けた値を含むテストケースを生成する機能部である。 The test case creation unit 302 is a functional unit that generates a test case including the value received by the predicted value input reception unit 304.
テスト成否判定部305は、予想値入力受付部304により受け付けた値に基づいて、テスト実行部303によるテストの成否を判定する機能部である。
The test success /
代入値入力受付部306は、定義情報取得部301により取得された定義情報に対して代入する値の入力を受け付ける機能部である。
The substitution value
テストケース作成部302は、代入値入力受付部306により受け付けた値を含むテストケースを生成する機能部である。
The test case creation unit 302 is a functional unit that generates a test case including the value received by the substitution value
テスト実行部303は、定義情報取得部301により取得された定義情報を用いて生成されたテストケースに基づき、アプリケーションに係るテストを実行する機能部である。
The test execution unit 303 is a functional unit that executes a test related to an application based on a test case generated using the definition information acquired by the definition
テスト実行部303は、定義情報取得部301により取得された定義情報を用いて生成されたテストケースに基づき、定義情報が正しく定義されているか否かのテストを実行すること
情報受付部311は、テスト実行部303により実行されるテストに用いる情報を受け付ける機能部である。
The test execution unit 303 executes a test of whether the definition information is correctly defined based on the test case generated using the definition information acquired by the definition
テスト実行部303は、情報受付部311により受け付けた情報を用いて、テストを実行する機能部である。 The test execution unit 303 is a functional unit that executes a test using the information received by the information reception unit 311.
テストケース定義受付部312は、テストケースの定義を受け付ける機能部である。 The test case definition accepting unit 312 is a functional unit that accepts test case definitions.
テストケース生成部313は、テストケース定義受付部312により受け付けた定義に基づき、テストケースを生成する機能部である。 The test case generation unit 313 is a functional unit that generates a test case based on the definition received by the test case definition reception unit 312.
代入値入力受付部306は、定義情報取得部301により取得された定義情報に含まれる項目に対して代入する値の入力を受け付ける機能部である。
The substitution value
テストケース生成部313は、代入値入力受付部306により受け付けた値を項目に対して代入することを含むテストケースを生成する機能部である。
The test case generation unit 313 is a functional unit that generates a test case including substituting the value received by the substitution value
予想値入力受付部304は、定義情報取得部301により取得された定義情報に含まれる項目が持つと予想される値の入力を受け付ける機能部である。
The expected value input receiving unit 304 is a functional unit that receives an input of a value expected to be included in an item included in the definition information acquired by the definition
テストケース生成部313は、予想値入力受付部304により受け付けた値と項目が持つ値とを比較することを含むテストケースを生成する機能部である。 The test case generation unit 313 is a functional unit that generates a test case including comparing the value received by the predicted value input reception unit 304 with the value of the item.
テスト成否判定部305は、予想値入力受付部304により受け付けた値と項目が持つ値とを比較した結果に基づいて、テスト実行部303により実行されるテストの成否を判定する機能部である。
The test success /
アプリケーション構築制御部314は、テスト成否判定部305によりテストの結果に従って、アプリケーションの構築をする/しないを制御する機能部である。
The application construction control unit 314 is a functional unit that controls whether or not the application is constructed according to the test result by the test success /
以上で、図3の説明を終了する。
This is the end of the description of FIG.
図4は、情報処理装置101、アプリケーションサーバ102及びアプリケーションクライアント104の構成図である。
FIG. 4 is a configuration diagram of the
情報処理装置101は、リポジトリ定義部401及びアプリケーション生成部410を備える。
The
情報処理装置101は、アプリケーションを開発する開発者により設定されたリポジトリ定義部401の各定義を用いて、アプリケーション生成部410によりアプリケーションを生成する。
The
リポジトリ定義部401には、アプリケーション定義402、入出力定義403、データモデル定義404、ビジネスプロセス定義405、データベース定義406が記憶されている。これら402〜406の定義は、アプリケーション構築ツールを介して、開発者によって入力設定または配置される。
The
入出力定義403は、アプリケーション画面に配置される各種項目のレイアウトの定義情報を保持する。入出力定義403は、入力項目定義情報及び出力項目定義情報を含む。入力項目定義情報は、生成されたアプリケーションの画面を介して当該アプリケーションのエンドユーザが入力する入力項目を定義した情報である。出力項目定義情報は、生成されたアプリケーションの画面に出力する出力項目を定義した情報である。以降、「入力項目定義情報」及び「出力項目定義情報」をまとめて「入出力項目定義情報」と呼ぶ。
The input /
なお、本実施形態においては、「入力項目定義情報は、生成されたアプリケーションの画面を介して当該アプリケーションのエンドユーザが入力する入力項目を定義した情報」「出力項目定義情報は、生成されたアプリケーションの画面に出力する出力項目を定義した情報」としたが、これらに限定するものではなく、例えば、画面を有さないバッチやWebサービス等のように、「入力項目定義情報は、生成されたアプリケーションに入力される入力項目を定義した情報」「出力項目定義情報は、生成されたアプリケーションが出力する出力項目を定義した情報」であってもよい。 In this embodiment, “input item definition information is information defining an input item input by an end user of the application via the generated application screen” “output item definition information is generated application However, the present invention is not limited to these. For example, the input item definition information is generated as in a batch or Web service that does not have a screen. “Information defining input items input to an application” and “output item definition information may be information defining output items output by a generated application”.
データモデル定義404は、データベースのテーブルの項目の定義情報を保持する。入出力定義403の各項目には、データモデル定義404の項目を対応づけることができる。
The
ビジネスプロセス定義405は、アプリケーションにおけるデータを処理するためのロジックの定義情報を保持する。
The
データベース定義406は、アプリケーションが接続するデータベースに係る情報(データベースサーバ103のIPアドレス、接続ユーザ、接続パスワード等)を定義する。
The
アプリケーション生成部410は、アプリケーション生成用のリポジトリ定義解析部411を用いてリポジトリ定義部401に記憶されている各定義を解析し、アプリケーションコード生成部412及びソースコードコンパイル部413を介し、コンパイル済Java(登録商標)コード441及びHTML/JSP/JavaScript(登録商標)442を含むアプリケーションを生成する。すなわち、アプリケーション生成部410は、設定された定義を用いて、アプリケーションとして用いられるプログラムを生成する手段の一例である。
The
リポジトリ定義エディタ部420は、リポジトリ定義参照部421によってリポジトリ定義部401を解析し、テストケース定義407の場合は、テストケース定義エディタ部422を用いて、それ以外の定義の時はそれぞれに対応したその他定義エディタ部423を用いてリポジトリ定義を変更及び参照する。
The repository
テスト実行部430は、テストケース定義受信部431によってテストケース定義407を取得し、テストケース定義解釈部433を用いてその内容を解析する。テスト実行部(インタープリタ)434は、テストケース定義解釈部433を用いて、アプリケーションコードアクセス部436から、アプリケーションコードをテスト実行する。
The
テスト実行部(インタープリタ)434は、テストケース定義解釈部433を用いて解釈した内容からテスト実行準備部を用いてテストの事前処理を行い、アプリケーションコードアクセス部436を用いてアプリケーションコードをテスト実行する。
The test execution unit (interpreter) 434 performs test pre-processing using the test execution preparation unit from the content interpreted using the test case
テストがすべて完了すると、テスト実行部(インタープリタ)435はテスト終了処理部437を用いてテスト終了処理を行う。
When all the tests are completed, the test execution unit (interpreter) 435 uses the test
最後に、テスト結果取得部435を用いて、テスト実行の結果を取得し、テスト結果表示部438に表示する。
Finally, the test execution result is acquired using the test
以上で、図4の説明を終了する。
This is the end of the description of FIG.
図5は、アプリケーション生成のフローチャートの一例を示す図である。 FIG. 5 is a diagram illustrating an example of a flowchart of application generation.
情報処理装置101は、ディレクトリ構造を用いて、リポジトリ定義部401の各定義をファイルとして管理する。なお、本実施形態においては、ディレクトリ構造を用いて、リポジトリ定義部401の各定義をファイルとして管理するとしたが、これに限定するものではなく、例えば、データベースを用いてリポジトリ定義部401の各定義を管理してもよいし、クラウドなどネットワーク上の記憶装置を用いて管理する等としてもよい。
The
アプリケーション生成のフローチャートについて説明する。 An application generation flowchart will be described.
ステップS501において、情報処理装置101は、アプリケーション定義402の設定を受け付ける。具体的には、アプリケーション構築ツールの画面を介して、アプリケーション開発者から入出力定義403、データモデル定義404、ビジネスプロセス定義405及びデータベース定義406の設定を受け付ける。
In step S <b> 501, the
ステップS501にて、受け付けたアプリケーション定義402、入出力定義403、データモデル定義404、ビジネスプロセス定義405及びデータベース定義406の設定は、リポジトリ定義部401にXMLファイル形式で記憶する。
In step S501, the received
ステップS502において、情報処理装置101は、アプリケーション生成の指示を受け付ける。
In step S502, the
ステップS503において、情報処理装置101は、リポジトリ定義部401からアプリケーション定義402を取得する。リポジトリ定義解析部411は、読み込んだ定義を解析したうえでROM203に記憶しておき、解析された定義は各生成部から適宜参照される。
In step S <b> 503, the
ステップS504において、情報処理装置101は、リポジトリ定義部401からデータモデル定義404を取得する。
In step S <b> 504, the
ステップS505において、情報処理装置101は、リポジトリ定義部401から入出力定義403を取得する。
In step S505, the
ステップS506において、情報処理装置101は、リポジトリ定義部401からビジネスプロセス定義405を取得する。
In step S <b> 506, the
ステップS507において、情報処理装置101は、リポジトリ定義部401からデータベース定義406を取得する。すなわち、ステップS501〜S507は、アプリケーションを構築するための定義情報を取得する処理の一例を示すステップである。
In step S507, the
ステップS508において、情報処理装置101は、アプリケーション生成部410を用いて、Webアプリケーションに用いるプログラムを生成する。すなわち、ステップS508は、アプリケーションのプログラムを生成する処理の一例を示すステップである。また、ステップS508は、アプリケーションを構築する処理の一例を示すステップである。
In step S508, the
ステップS509において、情報処理装置101は、テストケース定義を生成する(詳細は、図7の説明にて後述する)。すなわち、ステップS509は、取得された定義情報を用いて、テストケースを生成する処理の一例を示すステップである。また、ステップS509は、受け付けた定義に基づき、テストケースを生成する処理の一例を示すステップである。
In step S509, the
ステップS510において、情報処理装置101は、ステップS509にて生成したテストケース定義に用いてテストを実行する(詳細は、図8の説明にて後述する)。すなわち、ステップS510は、定義情報を用いて生成されたテストケースに基づき、アプリケーションに係るテストを実行する処理の一例を示すステップである。また、ステップS510は、定義情報を用いて生成されたテストケースに基づき、定義情報が正しく定義されているか否かテストを実行する処理の一例を示すステップである。
In step S510, the
この段階ではアプリケーションをアプリケーションサーバ102に配置(デプロイ)していないため、以上により、アプリケーションサーバ102を用意することなく、テストを実行することができる。
At this stage, since the application is not arranged (deployed) on the
また、以上により、アプリケーションアーカイブファイルの生成、アプリケーションサーバ102への転送、デプロイをすることなく、テストを実行することができるため、テストにかかる時間を削減することができ、開発とテストをシームレスに何度も繰り返すことができる。
In addition, as described above, the test can be executed without generating the application archive file, transferring to the
また、以上により、情報処理装置101だけでアプリケーションサーバ102にて動作するアプリケーションのテストを実行することができるため、複数人の開発者が同時に並行してテストを行うことができる。
In addition, as described above, a test of an application running on the
ステップS511において、情報処理装置101は、ステップS510にて実行したテストにおける失敗したテストケースの有無を判定し、有る場合は本フローチャートを終了し、無い場合はステップS512に進む。すなわち、ステップS511は、テストの結果に従って、アプリケーションの構築をする/しないを制御する処理の一例を示すステップである。
In step S511, the
ステップS512において、情報処理装置101は、ステップS508にて生成したプログラムをアプリケーションサーバ102に配置(デプロイ)する。
In step S512, the
これにより、失敗テストが無い状態のアプリケーションをサーバに構築する仕組みを提供することができる。よって、テストに時間がかかってしまう場合、夜間にテストを実行させ、テストが成功した場合は、続けてアプリケーションサーバ102にデプロイさせておくことができるため、アプリケーション管理者や運用者の手間を軽減することができる。
As a result, it is possible to provide a mechanism for building an application without a failure test on the server. Therefore, if the test takes a long time, the test can be executed at night, and if the test is successful, it can be continuously deployed on the
また、失敗テストが有る状態のアプリケーションはサーバに構築することが無くなるため、不具合を含んだアプリケーションをリリースすることがなくなり、アプリケーションが不整合なデータを出力することもなくなるため、結果として、信頼性の高いアプリケーションを運用することができ、エンドユーザの満足度も向上させることができる。 In addition, since an application with a failure test is not built on the server, an application including a defect is not released, and the application does not output inconsistent data, resulting in reliability. Applications can be operated, and the satisfaction of end users can be improved.
以上で、図5の説明を終了する。 This is the end of the description of FIG.
以上により、アプリケーションプログラム生成、テスト実行、デプロイ等の処理を1つの指示で行うことができる。よって、アプリケーション構築ツールにおいて、テストを効率的に行う仕組みを提供することができる。
As described above, processing such as application program generation, test execution, and deployment can be performed with one instruction. Therefore, it is possible to provide a mechanism for efficiently performing tests in the application construction tool.
図7は、テストケース定義生成のフローチャートの一例を示す図である。 FIG. 7 is a diagram illustrating an example of a flowchart of test case definition generation.
ステップS701において、情報処理装置101は、ユーザからのテストケース定義生成の指示を受け付ける。具体的には、新規テストケース作成メニュー1101(図11)の押下を受け付ける。
In step S701, the
ステップS702において、情報処理装置101は、外部メモリ211にアプリケーション定義402が作成済か否かを判定する。作成済の場合はステップS703に進み、未作成の場合は本フローチャートを終了する。
In step S <b> 702, the
ステップS703において、情報処理装置101は、新規テストケース作成ダイアログ1102(図11)を表示し、新規のテストケースの生成に必要な「コード名」「名前」「対象アプリケーション1103」の入力を受け付け、受け付けた情報に基づき、外部メモリ211にテストケース定義407を新規に作成する。
In step S <b> 703, the
ステップS704において、情報処理装置101は、ステップS703にて作成されたテストケースのテスト手順を入力するためのテスト手順入力画面1201(図12)表示する。この時点では、テストケースにテスト手順が登録されていない状態であるため、テスト手順入力画面1201の「テスト手順」タブを選択した場合、テスト手順を設定するエディタ部には何も表示されていない。
In step S704, the
ステップS705において、情報処理装置101は、ステップS703にて入力を受け付けた「対象アプリケーション1103」に属す入出力定義403を外部メモリ211から取得する。すなわち、ステップS705は、アプリケーションを構築するための定義情報を取得する処理の一例を示すステップである。
In step S <b> 705, the
ステップS706において、情報処理装置101は、登録するテスト手順の数だけステップS707〜S712を繰り返す。
In step S706, the
ステップS707において、情報処理装置101は、テスト実行時に疑似的に行う命令の選択を受け付ける。命令の種類は、例えば、「画面表示」「行追加」「項目値入力」「項目値検証」等がある。
In step S <b> 707, the
通常、スクラッチ開発によって構築されたアプリケーションのテストは、テスト要員による「画面表示」「行追加」「項目値入力」等の操作及び目視による「項目値検証」を必要とするが、本実施形態におけるテストは、テスト要員が行う操作及び目視をステップS707にて「命令」として手順化しておき、構築又は生成されたアプリケーションプログラムに対して(テスト要員が操作を行ったかのように疑似的に)「命令」を実行することで、テストの実行及び検証が自動でできる。 Normally, testing an application built by scratch development requires operations such as “screen display”, “add row”, and “item value input” by test personnel, and visual “item value verification”. In the test, the operation and visual inspection performed by the test personnel are made into procedures as “commands” in step S707, and the “command” is simulated (as if the test personnel performed operations) on the constructed or generated application program. The test can be automatically executed and verified.
なお、本実施形態においては、命令の種類は上記4種類の中から選択を受け付けるとしたが、この4種類に限定するものではなく、その他の命令(例:キーボード・マウス・タッチパネル等の入力装置による操作、カメラ等の周辺機器の操作、音声入力、ブラウザ操作、n秒待機、不正な操作等)を選択できるとしてもよい。 In this embodiment, the command type is selected from the above four types. However, the command type is not limited to these four types, and other commands (eg, input devices such as a keyboard, a mouse, a touch panel, etc.) Operation of peripheral devices such as a camera, voice input, browser operation, standby for n seconds, illegal operation, etc.) may be selected.
ステップS708において、情報処理装置101は、ステップS705にて取得した入出力定義403に基づき、「対象アプリケーション1103」に属す入出力定義403を選択肢として表示する(図12の1203)。
In step S708, the
ステップS709において、情報処理装置101は、ステップS708にて表示した選択肢から、テスト実行に用いる入出力定義403の選択を受け付ける。
In step S709, the
ステップS710において、情報処理装置101は、ステップS709にて選択を受け付けた入出力定義403に属す入出力項目を選択肢として表示する(図12の1204)。例えば、ステップS707にて、命令に「項目値入力」が選択された場合は、入出力項目のうち値を入力できる項目だけに絞った選択肢を表示する。
In step S710, the
ステップS711において、情報処理装置101は、ステップS710にて表示した選択肢から、テスト実行に用いる入出力項目の選択を受け付ける。
In step S711, the
ステップS712において、情報処理装置101は、テストの命令実行時に用いる入出力項目への引数の入力を受け付ける。なお、「引数」とは、テスト手順を実行するときに、入出力定義などの定義情報に対して設定するテストデータのことである。
In step S712, the
例えば、図12では、グループ項目「G ユーザマスタ」の入出力項目「ID」「パスワード」「名前」への引数を入力する。グループ項目とは、入出力項目を複数持つ表である(例:図6の602)。この命令に、行番号と引数を入力したものを1302(図13)に示す。1302(図13)は、グループ項目における明細「1」行目の入出力項目「ID」「パスワード」「名前」にそれぞれ「1」「yamada」「山田」を入力するという意味である。 For example, in FIG. 12, an argument to the input / output items “ID”, “password”, and “name” of the group item “G user master” is input. The group item is a table having a plurality of input / output items (for example, 602 in FIG. 6). 1302 (FIG. 13) shows a line number and an argument input to this instruction. 1302 (FIG. 13) means that “1”, “yamada”, and “Yamada” are respectively input to the input / output items “ID”, “password”, and “name” on the detail “1” line in the group item.
また、命令が「項目値検証」の場合の引数は、その「入出力項目」の値が、テスト実行時にその「引数」の値と等しいか否かを判定するという意味である(図13の1303)。ここでは、1302にて「項目値入力」を行い、「アクション実行」でUPDATE(更新)処理を行った後において、「ID」の値が「1」と等しいか否かを判定する。つまり、その時点で「ID」=1の場合は、そのテスト手順=成功と判定し、「ID」≠1の場合は、そのテスト手順=失敗と判定する(詳細は、図9のステップS911にて後述する)。 Further, the argument when the instruction is “item value verification” means that it is determined whether or not the value of the “input / output item” is equal to the value of the “argument” during the test execution (FIG. 13). 1303). Here, after “item value input” is performed in 1302 and UPDATE (update) processing is performed in “action execution”, it is determined whether or not the value of “ID” is equal to “1”. That is, if “ID” = 1 at that time, it is determined that the test procedure = success, and if “ID” ≠ 1, it is determined that the test procedure = failure (for details, see step S911 in FIG. 9). Will be described later).
なお、本実施形態においては、「引数」の例として「入出力項目の値」を挙げたが、「入出力項目の値」に限定するものではなく、「引数」は、例えば、画面の入出力に係る位置、色、大きさ又は内容等に係る情報であってもよい。また、表示、認証、検索、追加、更新若しくは削除等の処理に対して与える情報、又は、カメラ等の周辺機器に対して送信する情報等、テスト実行のために用いる情報であれば、その他の情報であってもよい。 In this embodiment, “input / output item value” is given as an example of “argument”. However, the “argument” is not limited to “input / output item value”. It may be information relating to the position, color, size, content, etc. relating to the output. In addition, if it is information used for test execution, such as information given to processing such as display, authentication, search, addition, update or deletion, or information transmitted to peripheral devices such as cameras, etc. It may be information.
すなわち、ステップS712は、実行されるテストに用いる情報を受け付ける処理の一例を示すステップである。また、ステップS712は、取得された定義情報に含まれる項目に対して代入する値の入力を受け付ける処理の一例を示すステップである。また、ステップS712は、取得された定義情報に含まれる項目が持つと予想される値の入力を受け付ける処理の一例を示すステップである。 That is, step S712 is a step showing an example of processing for receiving information used for the test to be executed. Step S712 is a step showing an example of a process of accepting an input of a value to be substituted for an item included in the acquired definition information. Step S712 is a step showing an example of processing for accepting an input of a value expected to be included in an item included in the acquired definition information.
すなわち、ステップS706〜S712は、テストケースの定義を受け付ける処理の一例を示すステップである。 That is, steps S706 to S712 are steps showing an example of processing for receiving a test case definition.
ステップS713において、情報処理装置101は、ステップS706〜S712を繰り返すことによって作成されたテストケース手順(例:図13の1301)に基づき、図16のようなテストケース定義407を生成し、外部メモリ211に記憶する。
In step S713, the
具体的には、テストケース手順1301を1つずつ、テストケース定義407の要素<autotest−step>に変換することにより、テストケース定義407を生成する。同様に、テストケース手順1301の「命令」はテストケース定義407の要素<command>に、「入出力」は<object_01>に、「入出力項目」は<object_02>に、「行番号」は<object_03>に、「引数」は<argument>にそれぞれ変換する。
Specifically, a
なお、本実施形態においては、テストケース定義407を図16のようなXMLファイルとしたが、XMLファイルに限定するものではなく、その他の形式のファイルとして生成したり、データベースに記憶させたり、ファイルやデータベース以外の情報として生成したりしてもよい。
In this embodiment, the
すなわち、ステップS713は、取得された定義情報を用いて、テストケースを生成する処理の一例を示すステップである。また、ステップS713は、受け付けた定義に基づき、テストケースを生成する処理の一例を示すステップである。また、ステップS713は、受け付けた値を項目に対して代入することを含むテストケースを生成する処理の一例を示すステップである。また、すなわち、ステップS713は、受け付けた値と項目が持つ値とを比較することを含むテストケースを生成する処理の一例を示すステップである。 That is, step S713 is a step showing an example of a process for generating a test case using the acquired definition information. Step S713 is a step showing an example of processing for generating a test case based on the accepted definition. Step S713 is a step showing an example of processing for generating a test case including substituting the received value for the item. That is, step S713 is a step showing an example of processing for generating a test case including comparing the received value with the value of the item.
以上で、図7の説明を終了する。 Above, description of FIG. 7 is complete | finished.
以上により、アプリケーションを構築するための定義情報を用いて、アプリケーションに係るテストケースを容易に生成することができる。また、アプリケーションを構築するための定義情報を用いて、定義情報が正しく定義されているか否かテストするためのテストケースを容易に生成することができる。
つまり、アプリケーション開発者は、テストを実行するプログラム(テストスクリプト)を記述する必要がないため、テストに係る工数を削減することができ、テストを効率的に行うことができる。よって、プログラミング知識のないアプリケーション開発者であっても、定義情報さえ理解できれば、アプリケーションに係るテストケースを容易に生成することができる。
As described above, it is possible to easily generate a test case related to an application using definition information for building the application. Further, it is possible to easily generate a test case for testing whether or not the definition information is correctly defined by using the definition information for building the application.
That is, since the application developer does not need to write a program (test script) for executing the test, man-hours related to the test can be reduced, and the test can be performed efficiently. Therefore, even an application developer who does not have programming knowledge can easily generate a test case related to an application as long as the definition information can be understood.
図8、図9及び図10は、テスト実行のフローチャートの一例を示す図である。 8, FIG. 9 and FIG. 10 are diagrams illustrating an example of a flowchart of test execution.
ステップS801において、情報処理装置101は、テスト実行指示を受け付ける。具体的には、実行メニュー1401(図14)の押下を受け付ける。
In step S801, the
ステップS802において、情報処理装置101は、テスト実行対象のテストケース定義に係るアプリケーション1103(図11)のアプリケーションコード440が作成済か否かを判定する。作成済の場合はステップS803に進み、未作成の場合は本フローチャートを終了する。
In step S802, the
ステップS803において、情報処理装置101は、テスト実行部(インタープリタ)434とテストケース定義解釈部433を用いて、ステップS801で実行メニュー1401の押下時に選択されていたテストケースに対応するテストケース定義407を外部メモリ211から取得する。
In step S803, the
ステップS804において、情報処理装置101は、テスト実行部(インタープリタ)434とテストケース定義解釈部433を用いて、ステップS803にて取得したテストケース定義407に含まれるテストケース数及びテスト手順数をカウントする。
In step S804, the
ステップS805において、情報処理装置101は、テストビュー1403(図14)を表示する。
In step S805, the
ステップS806において、情報処理装置101は、テスト進捗バー1404(図14)を空の状態で表示する。
In step S806, the
ステップS807において、情報処理装置101は、テスト情報のテストツリーペイン1406(図14)に、ステップS803及びステップS804でテスト対象としたテストケース名(例:ユーザ登録フォームチェック、商品登録フォームチェック)及びテスト手順(1.画面表示、2.行追加、3.…)を表示する。
In step S807, the
ステップS808において、情報処理装置101は、テスト情報の詳細ペイン1407(図14)にメッセージ「実行中…」を表示する。
In step S808, the
ステップS809において、情報処理装置101は、テスト実行準備部432を用いて、テスト実行前準備を行う。具体的には、テスト実行前準備では、セッション、クッキー及びスレッド等の生成を行い、ユーザが実際にブラウザを用いてアプリケーションを実行した場合と同様のアプリケーションデータを生成する。これにより、ブラウザ、エンドユーザ操作及びアプリケーションサーバ等を用いなくても、アプリケーション構築ツールにおいて、テストを効率的に行うことができる。
In step S <b> 809, the
ステップS901において、情報処理装置101は、テスト実行対象のテストケースの分だけ、ステップS902〜S1001を繰り返す。
In step S901, the
ステップS902において、情報処理装置101は、テスト実行対象のテストケースのテスト手順の分だけ、ステップS903〜S915、S921又はS925を繰り返す。
In step S902, the
ステップS903において、情報処理装置101は、強制終了ボタン1405(図14)の押下を受け付けたか否かを判断し、押下された場合はステップS904へ進み、押下されていない場合はステップS905へ進む。
In step S903, the
ステップS904において、情報処理装置101は、テスト進捗バー1404を灰色100%で更新し、未実行のテストケース又はテスト手順がある場合であっても中断し、本フローチャートを終了する。
In step S904, the
ステップS905において、情報処理装置101は、テストケース定義解釈部433を用いて、テスト手順情報1203を取得する。
In step S <b> 905, the
ステップS906において、情報処理装置101は、テスト手順情報のテスト命令が入力系か否かを判定し、入力系の場合はステップS907へ進み、入力系でない場合はステップS908へ進む。
In step S906, the
ステップS907において、情報処理装置101は、アプリケーションコードアクセス部436を用いて、生成済のアプリケーションコード440へ疑似的に値の入力を実行する。その後、アプリケーションコードアクセス部を用いて、アプリケーションコード440から実行結果を受け取り、テスト結果取得部435を用いてテスト結果を得る。すなわち、ステップS907は、ステップS712にて受け付けた情報を用いて、テストを実行する処理の一例を示すステップである。
In step S <b> 907, the
ステップS908において、情報処理装置101は、テスト手順情報のテスト命令が実行系か否かを判定し、実行系の場合はステップS909へ進み、実行系でない場合はステップS910へ進む。
In step S908, the
ステップS909において、情報処理装置101は、アプリケーションコードアクセス部436を用いて、生成済のアプリケーションコード440へ疑似的にアクションを実行するリクエストを送る。その後、アプリケーションコードアクセス部436を用いて、アプリケーションコード440から実行結果を受け取り、テスト結果取得部435を用いてテスト結果を得る。
In step S909, the
ステップS910において、情報処理装置101は、アプリケーションコードアクセス部436を用いて、生成済のアプリケーションコード440から検証対象の情報を取得する。
In step S <b> 910, the
ステップS911において、情報処理装置101は、検証対象の情報(検証対象が定義情報に含まれる項目である場合、当該項目に係る情報(例;当該項目が持つ値や属性値))が条件(例;ステップS712にて入力を受け付けた引数の値)に合致するか否かを判定し、検証が成功(条件に合致する)の場合はステップS916へ進み、失敗(条件に合致しない)の場合はステップS912へ進む。
In step S911, the
例えば、図13の1303の場合、1302にて「項目値入力」を行い、「アクション実行」でUPDATE(更新)を行った後において、「ID」の値が「1」と等しいか否かを判定する。つまり、その時点で「ID」=1の場合は、そのテスト手順=“成功”と判定し、「ID」≠1の場合は、そのテスト手順=“失敗”と判定する。 For example, in the case of 1303 in FIG. 13, after “item value input” is performed in 1302 and UPDATE (update) is performed in “action execution”, it is determined whether or not the value of “ID” is equal to “1”. judge. That is, if “ID” = 1 at that time, the test procedure is determined to be “successful”, and if “ID” ≠ 1, the test procedure is determined to be “failure”.
なお、本実施形態においては、検証系の例として「項目値検証」を挙げたが、項目値に限定するものではなく、例えば、表示するオブジェクトやメッセージの表示位置、色、大きさ又は表示内容等の検証であってもよい。また、表示、認証、検索、追加、更新若しくは削除等の処理にかかった時間、CPUの使用率、記憶領域の空き容量、又は、カメラ等の周辺機器から取得可能な情報等、テスト実行時に取得可能な情報に係る検証であれば、その他の検証であってもよい。 In the present embodiment, “item value verification” is given as an example of a verification system, but it is not limited to item values. For example, the display position, color, size, or display content of an object to be displayed or a message is displayed. Etc. may be verified. Also, the time taken for processing such as display, authentication, search, addition, update or deletion, CPU usage rate, free storage space, or information that can be obtained from peripheral devices such as cameras, etc. Other verifications may be used as long as they are verifications relating to possible information.
すなわち、ステップS911は、ステップS712にて受け付けた情報を用いて、テストを実行する処理の一例を示すステップである。また、ステップS911は、受け付けた値と項目が持つ値とを比較した結果に基づいて、実行されるテストの成否を判定する処理の一例を示すステップである。 That is, step S911 is a step showing an example of a process for executing a test using the information received in step S712. Step S911 is a step showing an example of a process for determining the success or failure of the test to be executed based on the result of comparing the received value with the value of the item.
ステップS912において、情報処理装置101は、テスト手順のステータスを“失敗”としてRAM202に記憶する。
In step S912, the
ステップS913において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、検証失敗数を更新する(図15の1503)。
In step S913, the
ステップS914において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、テスト手順数を更新する(図15の1502)。
In step S914, the
ステップS915において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、進捗バーを赤色で更新する(図15の1505)。
In step S915, the
ステップS916において、情報処理装置101は、アプリケーションエラーが発生していないことを確認する。発生していなければステップS922へ進み、エラーが発生している場合は、ステップS917へ進む。
In step S916, the
ステップS917において、情報処理装置101は、テスト手順のステータスを“テスト失敗”としてRAM202に記憶する。
In step S917, the
ステップS918において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、テスト失敗数を更新する(図15の1504)。
In step S918, the
ステップS919において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、テスト手順数を更新する(図15の1502)。
In step S919, the
ステップS920において、情報処理装置101は、テスト結果取得部435及びテスト結果表示部438を用いて、進捗バーを赤色で更新する(図15の1505)。
In step S920, the
ステップS921において、情報処理装置101は、テスト結果表示部438を用いて、テストケース数を更新する(図15の1501)。その後、未実施のテスト手順が実行中のテストケースに含まれている場合であっても、それらの実行はせず、次に実行予定のテストケースを実行する。ステップS902に戻る。
In step S921, the
ステップS922において、情報処理装置101は、テスト手順のステータスを“成功”として登録する(図15の1507)。
In step S922, the
ステップS923において、情報処理装置101は、テスト結果表示部438を用いて、テスト手順数を更新する(図15の1502)。
In step S923, the
ステップS924において、情報処理装置101は、これまでのテスト手順のステータスにテスト失敗及び検証失敗の両方が0件であるか否かを判定し、正の場合はステップS925に進み、偽の場合はステップS925を行わない。
In step S924, the
ステップS1001において、情報処理装置101は、テスト結果表示部438を用いて、テストケース数を更新する(図15の1501)。
In step S1001, the
ステップS1002において、情報処理装置101は、テスト終了処理部437を用いて、テスト実行を終了する。具体的には、テスト実行終了処理では、ステップS809にて生成したセッション、クッキー及びスレッド等をクローズする。
In step S <b> 1002, the
ステップS1003において、情報処理装置101は、テスト結果表示部438を用いて、テスト実行時間を更新する(図15の1506)。
In step S1003, the
ステップS1004において、情報処理装置101は、テスト結果取得部435とテスト結果表示部438を用いて、テスト中に出力されるログをアプリケーションログビューに表示する(図15の1509)。
In step S1004, the
以上により、テスト対象の画面や処理に到達するまでに必要な画面や処理(例えば、ログイン処理やメニュー画面等)がテストできる程度に構築されていない状態であっても、アプリケーション構築ツールにおいて、テスト対象の定義についてのみテストを行うことができるため、テストを効率的に行うことができる。つまり、早い段階でテスト工程を開始することができるため、高品質なアプリケーションを構築することができる。 As described above, even if the screen and processing required to reach the test target screen and processing (for example, login processing and menu screen) are not built to the extent that they can be tested, Since the test can be performed only on the target definition, the test can be performed efficiently. That is, since the test process can be started at an early stage, a high-quality application can be constructed.
以上で、図8、図9及び図10の説明を終了する。
Above, description of FIG.8, FIG.9 and FIG.10 is complete | finished.
なお、本実施形態のようなアプリケーション構築ツールにおいては、構築されたアプリケーション又は生成されたそのプログラムが正しく動作するかのテストよりも、アプリケーションを構築するために設定した定義情報が予想通りに設定されているかのテストをすべきである。 Note that in the application construction tool as in the present embodiment, the definition information set for building the application is set as expected rather than testing whether the built application or the generated program operates correctly. Should be tested.
つまり、アプリケーション構築ツールによるアプリケーション構築又はプログラム生成そのものは信頼すべきであり、構築又は生成の基となった(アプリケーション開発者が設定した)定義情報についての正否についてテストすべきである。そのため、本発明が有効である。 That is, the application construction or program generation itself by the application construction tool should be trusted, and the correctness of the definition information (set by the application developer) that is the basis of the construction or generation should be tested. Therefore, the present invention is effective.
以上により、アプリケーション構築ツールにおいて、アプリケーションを構築する又はプログラムを生成するために設定した定義情報が正しく定義されているかについて、テストを行うことができる。つまり、これにより、アプリケーション構築ツールにおいて、テスト対象を定義情報に絞ったテスト行うことができるため、テストを効率的に行うことができる。 As described above, in the application construction tool, it is possible to test whether the definition information set for constructing the application or generating the program is correctly defined. In other words, this allows the application construction tool to perform a test focusing on the definition information, so that the test can be performed efficiently.
勿論、本実施形態により生成したテストケースを用いて、テスト対象を定義情報に絞ったテストを行うだけでなく、構築又は生成したアプリケーションを動作させてテストを行うことで、アプリケーション全体までテスト対象を広げたテスト(総合テスト)を行うとしてもよい。
Of course, using the test cases generated according to the present embodiment, not only the test target is limited to the definition information, but also the built or generated application is operated and the test is performed so that the entire application can be tested. An extended test (integrated test) may be performed.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(又はCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。 As described above, a recording medium in which a program for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。 As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 The present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。 The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (operating system), and the like.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態及びその変形例を組み合わせた構成も全て本発明に含まれるものである。
Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
101 情報処理装置
102 アプリケーションサーバ
103 データベースサーバ
104 アプリケーションクライアント
105 ネットワーク
101
Claims (10)
前記アプリケーションを構築するための定義情報を取得する定義情報取得手段と、
前記定義情報取得手段により取得された定義情報に基づき、前記アプリケーションを構築するアプリケーション構築手段と、
前記定義情報取得手段により取得された定義情報を用いて生成されたテストケースに基づき、前記アプリケーション構築手段により構築されたアプリケーションに係るテストを実行するテスト実行手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus for building an application,
Definition information acquisition means for acquiring definition information for constructing the application;
Application construction means for constructing the application based on the definition information acquired by the definition information acquisition means;
An information processing system comprising: a test execution unit configured to execute a test related to an application constructed by the application construction unit based on a test case generated using the definition information acquired by the definition information acquisition unit. apparatus.
前記定義情報取得手段により取得された定義情報を用いて生成されたテストケースに基づき、前記定義情報が正しく定義されているか否かのテストを実行すること
を特徴とする請求項1に記載の情報処理装置。 The test execution means includes
The information according to claim 1, wherein a test is performed to determine whether or not the definition information is correctly defined based on a test case generated using the definition information acquired by the definition information acquisition means. Processing equipment.
前記テスト実行手段は、前記情報受付手段により受け付けた情報を用いて、前記テストを実行すること
を特徴とする請求項1又は2に記載の情報処理装置。 An information receiving means for receiving information used for the test executed by the test execution means;
The information processing apparatus according to claim 1, wherein the test execution unit executes the test using information received by the information reception unit.
前記テストケース定義受付手段により受け付けた定義に基づき、前記テストケースを生成するテストケース生成手段と
を更に備えることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 Test case definition accepting means for accepting the definition of the test case;
The information processing apparatus according to claim 1, further comprising: a test case generation unit that generates the test case based on a definition received by the test case definition reception unit.
前記テストケース生成手段は、前記代入値入力受付手段により受け付けた値を前記項目に対して代入することを含むテストケースを生成すること
を特徴とする請求項4に記載の情報処理装置。 A substitution value input receiving unit that receives an input of a value to be substituted for an item included in the definition information acquired by the definition information acquisition unit;
The information processing apparatus according to claim 4, wherein the test case generation unit generates a test case including substituting the value received by the substitution value input reception unit for the item.
前記テストケース生成手段は、前記予想値入力受付手段により受け付けた値と前記項目が持つ値とを比較することを含むテストケースを生成すること
を特徴とする請求項4又は5に記載の情報処理装置。 An expected value input receiving means for receiving an input of a value expected to be included in an item included in the definition information acquired by the definition information acquiring means;
6. The information processing according to claim 4, wherein the test case generation unit generates a test case including comparing a value received by the predicted value input reception unit with a value of the item. apparatus.
を更に備えることを特徴とする請求項6に記載の情報処理装置。 The apparatus further comprises test success / failure determination means for determining success / failure of the test executed by the test execution means based on a result of comparing the value received by the predicted value input reception means and the value of the item. The information processing apparatus according to claim 6.
を更に備えることを特徴とする請求項7に記載の情報処理装置。 The information processing apparatus according to claim 7, further comprising an application construction control unit that controls whether or not the application is constructed according to a test result by the test success / failure judgment unit.
前記情報処理装置が、
前記アプリケーションを構築するための定義情報を取得する定義情報取得ステップと、
前記定義情報取得ステップにより取得された定義情報に基づき、前記アプリケーションを構築するアプリケーション構築ステップと、
前記定義情報取得ステップにより取得された定義情報を用いて生成されたテストケースに基づき、前記アプリケーション構築ステップにより構築されたアプリケーションに係るテストを実行するテスト実行ステップと
を実行することを特徴とする処理方法。 A processing method in an information processing apparatus for building an application,
The information processing apparatus is
A definition information acquisition step for acquiring definition information for constructing the application;
An application construction step of constructing the application based on the definition information acquired by the definition information acquisition step;
A test execution step for executing a test related to the application constructed in the application construction step based on the test case generated using the definition information obtained in the definition information acquisition step. Method.
A program for causing a computer to function as the information processing apparatus according to any one of claims 1 to 8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018039091 | 2018-03-05 | ||
JP2018039091 | 2018-03-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019153264A true JP2019153264A (en) | 2019-09-12 |
Family
ID=67946616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018087069A Pending JP2019153264A (en) | 2018-03-05 | 2018-04-27 | Information processing apparatus, processing method of the same and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019153264A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05265802A (en) * | 1992-03-18 | 1993-10-15 | Shimadzu Corp | Software debugging device |
JP2002366387A (en) * | 2001-06-13 | 2002-12-20 | Hitachi Ltd | Automatic test system for software program |
JP2006221447A (en) * | 2005-02-10 | 2006-08-24 | Mitsubishi Electric Corp | System test device |
JP2006260390A (en) * | 2005-03-18 | 2006-09-28 | Nomura Research Institute Ltd | Test case generating program and method |
JP2011170587A (en) * | 2010-02-18 | 2011-09-01 | Fuji Electric Co Ltd | Software development support apparatus and method |
JP2018010631A (en) * | 2016-06-30 | 2018-01-18 | キヤノンマーケティングジャパン株式会社 | Information processing device, processing method and program thereof |
-
2018
- 2018-04-27 JP JP2018087069A patent/JP2019153264A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05265802A (en) * | 1992-03-18 | 1993-10-15 | Shimadzu Corp | Software debugging device |
JP2002366387A (en) * | 2001-06-13 | 2002-12-20 | Hitachi Ltd | Automatic test system for software program |
JP2006221447A (en) * | 2005-02-10 | 2006-08-24 | Mitsubishi Electric Corp | System test device |
JP2006260390A (en) * | 2005-03-18 | 2006-09-28 | Nomura Research Institute Ltd | Test case generating program and method |
JP2011170587A (en) * | 2010-02-18 | 2011-09-01 | Fuji Electric Co Ltd | Software development support apparatus and method |
JP2018010631A (en) * | 2016-06-30 | 2018-01-18 | キヤノンマーケティングジャパン株式会社 | Information processing device, processing method and program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108959068B (en) | Software interface testing method, device and storage medium | |
US11237948B2 (en) | Rendering engine component abstraction system | |
JP6441786B2 (en) | Test support apparatus, test support method, and program | |
CN105453033A (en) | Program testing service | |
US20170039037A1 (en) | Live mobile application visual editor demo | |
CN110727575A (en) | Information processing method, system, device and storage medium | |
KR20100056338A (en) | Gui test automatic system for improving reusability of test script and method thereof | |
JP7212238B2 (en) | Information processing device, its control method and program | |
CN111399811A (en) | Method, device and equipment for developing visual page and storage medium | |
KR102360646B1 (en) | Automatic application creation system based on user account input information | |
JP7256353B2 (en) | Information processing system, its control method and program | |
JP7319516B2 (en) | Program, information processing device, and control method thereof | |
JP2019153264A (en) | Information processing apparatus, processing method of the same and program | |
JP7323755B2 (en) | Information processing system, its control method and program | |
JP7277694B2 (en) | Information processing device, its control method and program | |
JP2019192133A (en) | Information processing device, processing method therefor and program | |
JP2019192135A (en) | Information processing device, processing method therefor and program | |
JP2019197261A (en) | Information processor, method for controlling the same, and program | |
JP7219389B2 (en) | Information processing device, its control method and program | |
JP7311740B2 (en) | Information processing system, its control method, and program | |
JP2019153265A (en) | Information processing apparatus, processing method of the same and program | |
US10530835B2 (en) | Application recording | |
JP7294609B2 (en) | Program, Method, and Device for Supporting Software Operation Scenario Generation | |
JP2021039433A (en) | Information processing device, processing method therein, and program | |
US10798181B2 (en) | Storage medium containing a program, information processing device, and processing method for deploying an application generated to a cloud environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180703 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20181031 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20190115 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210426 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220705 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220902 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221227 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230224 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20230627 |