JPH04199436A - Software check system - Google Patents

Software check system

Info

Publication number
JPH04199436A
JPH04199436A JP2335679A JP33567990A JPH04199436A JP H04199436 A JPH04199436 A JP H04199436A JP 2335679 A JP2335679 A JP 2335679A JP 33567990 A JP33567990 A JP 33567990A JP H04199436 A JPH04199436 A JP H04199436A
Authority
JP
Japan
Prior art keywords
program
inspection
check
file
item
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
Application number
JP2335679A
Other languages
Japanese (ja)
Inventor
Hiroko Kawachino
川内野 博子
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2335679A priority Critical patent/JPH04199436A/en
Publication of JPH04199436A publication Critical patent/JPH04199436A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To reduce the necessary file capacity by arranging the check programs into a single file, taking out only a program of the desired check contents to edit it together with a common part and checking a due program based on the edited program. CONSTITUTION:A check subject program 104 is checked based on a check program control file 101, a check execution system 102, and a console 103. Then these check results are arranged into an output result file 105 for each check item. Thus all programs necessary for check are arranged and controlled in a single file. Then the necessary programs are taken out for each desired check item. When the check of each item is complete, the contents of an edited check program are erased end an idle area is increased in a secondary storage. Then an editing means for a new program necessary for the next check its provided. Thus the effective check is attained for the check programs with the least file capacity.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はソフトウェア検査システムに関し、特にプログ
ラムの動作検証に使用する検査プログラムの処理手段に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a software testing system, and particularly to a processing means for a testing program used to verify the operation of a program.

〔従来の技術〕[Conventional technology]

一般に、プロクラムの動作検証は検査プログラムを用い
て行われている。昨今のように、ソフトウェアの規模が
増大し、かつ高機能化するにつれ、その検査プログラム
は非常に複雑になっており、開発した1つのプロクラム
を多種類の検査プログラムを用いて検証しなけれはなら
ない状況にある。
Generally, program operation verification is performed using a test program. In recent years, as the scale of software has increased and its functionality has become more sophisticated, its testing programs have become extremely complex, and a single developed program must be verified using multiple types of testing programs. situation.

かかる状況の下で、従来は第4図に示すように各検査プ
ログラムを検査項目別に分けて各々独立したファイルを
作成し、必要に応じて検査項目に合致したファイルをア
クセスしてプログラムを検証していた。第4図には、検
査項目がN個の検査プログラムを用いてプログラムを検
証する時のシステムブロック図が示されている。検査プ
ログラムは各検査項目番号毎にN個の独立したファイル
309.310,311の中に格納されており、各々の
ファイルを検査対象プログラム104に入力することに
より、検証が実行される。その結果はファイル105−
L  105−2,105−3に格納され出力結果10
5として記録される。この記録結果が被検査プロクラム
の検査結果となるわけである。
Under such circumstances, conventionally, as shown in Figure 4, each inspection program is divided into inspection items and independent files are created for each, and the program is verified by accessing files that match the inspection items as needed. was. FIG. 4 shows a system block diagram when a program is verified using a test program with N test items. The inspection program is stored in N independent files 309, 310, 311 for each inspection item number, and verification is executed by inputting each file to the inspection target program 104. The result is file 105-
Stored in L 105-2, 105-3 and output result 10
Recorded as 5. This recorded result becomes the inspection result of the program to be inspected.

ご発明が解決しようとする課題〕 しかるに、従来のように検査項目毎に独立したファイル
を用意するのは検査プログラムの管理の容易性からは好
ましいことであるが、次に述べるように種々の問題を含
んでいる。
[Problems to be Solved by the Invention] However, while it is preferable to prepare separate files for each inspection item as in the past from the viewpoint of ease of managing inspection programs, there are various problems as described below. Contains.

すなわち、各検査プログラムの個々についてみると、第
5図に示すように、検査プログラムの各ファイルには検
査内容毎に異なるプロクラムが記述された領域304,
307と、プログラムの前処理および後処理に必要なプ
ロクラムが記述された領域301,308とが存在する
。このうち、領域301および308はすべての検査プ
ログラムについて共通のプログラム領域となっている。
That is, looking at each inspection program individually, as shown in FIG. 5, each file of the inspection program has an area 304 where a different program is written for each inspection content,
307, and areas 301 and 308 in which programs necessary for program pre-processing and post-processing are written. Of these, areas 301 and 308 are common program areas for all inspection programs.

しかしながら従来のように検査項目別に各々独立したフ
ァイルを設け、そのうちの1つで1つの検査項目を検査
する方式では、各ファイル毎に独立した共通プロクラム
領域301,308を設けなければならないため、ファ
イルの容量が膨大になるという大きな欠点がある。
However, in the conventional method where independent files are provided for each inspection item and one inspection item is inspected using one of the files, independent common program areas 301 and 308 must be provided for each file. The major drawback is that the capacity is enormous.

更に、2次記憶装置(ハードディスクまたはフロッピー
ディスク)上における1つのファイルに対する2次記憶
領域の割り当ては、通常最小512ハイド〜最大16に
バイト単位で行われ、割り当てられた領域は他のファイ
ルでは利用することができない。このため100バイト
程度のファイルが多数存在するとき、それらのファイル
を別々のまま2次記憶装置上に保持しておくことは、他
のファイルとして使用することのできない多くの空き領
域ができてしまう(512バイト単位の場合:  (5
12−100)÷512=約80%、16にバイト単位
の場合:  (16384−100)÷16384=約
99%の空き領域)ため、大変不経済である。しかしな
がら従来のソフトウェア検査システムでは、これらを解
決できる有効な手段かないためやむなく独立したファイ
ル管理形式を採らざるを得なかった。
Furthermore, the allocation of secondary storage area for one file on a secondary storage device (hard disk or floppy disk) is usually done in bytes from a minimum of 512 bytes to a maximum of 16 bytes, and the allocated area cannot be used by other files. Can not do it. For this reason, when there are many files of about 100 bytes, keeping these files separate on the secondary storage device creates a lot of free space that cannot be used for other files. (For units of 512 bytes: (5
12-100) ÷ 512 = approximately 80%, and in the case of 16 bytes: (16384-100) ÷ 16384 = approximately 99% free space), which is very uneconomical. However, in the conventional software inspection system, there is no effective means to solve these problems, so an independent file management format has no choice but to be adopted.

本発明の目的は少ないファイル容量で効率的な検査が可
能なソフトウェア検査システムを提供することである。
An object of the present invention is to provide a software testing system that can perform efficient testing with a small file capacity.

こ課題を解決するための手段〕 本発明では検査に必要なプログラムをすべて1つにまと
めて管理し、所望の検査項目毎に必要なプログラムを取
り出して編集するようにし、各項目の検査終了時に編集
した1つの検査プログラムの内容を消去して2次記憶装
置上の空き領域を増加し、そこに次の検査で必要なプロ
グラムを新たに編集する手段を設けることによって、最
低量のファイル容量で効率的な検査を可能としたことを
特徴とする。
Means for Solving the Problem] In the present invention, all the programs necessary for inspection are managed in one place, the necessary programs are retrieved and edited for each desired inspection item, and when the inspection of each item is completed, By deleting the contents of one edited test program to increase the free space on the secondary storage device, and providing a means to newly edit the program required for the next test, the file size can be minimized. It is characterized by enabling efficient inspection.

本発明において、1つにまとめられた検査プログラム管
理ファイルには、各検査プログラムの前処理に必要な共
通プログラム領域Aを最初に設定し、各検査内容を記述
した検査内容プログラムを項目毎に設け、最後にプログ
ラムの後処理に必要な共通プログラム領域Bを設けるよ
うにし、各検査内容プロクラムの開始番地にスタートキ
ーワードと項目番号を配し、終了番地にエンドキーワー
ドと項目番号を配するようにして検査プログラム用ファ
イルの縮小化を計っている。
In the present invention, in a single inspection program management file, a common program area A necessary for preprocessing of each inspection program is first set, and an inspection content program that describes each inspection content is provided for each item. Finally, a common program area B necessary for post-processing of the program is provided, and the start keyword and item number are placed at the start address of each inspection content program, and the end keyword and item number are placed at the end address. We are trying to reduce the size of inspection program files.

口実施例〕 以下、図面を参照して本発明の一実施例につき詳細に説
明する。
Embodiment] Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本実施例のシステムブロック図であり、本発明
の特徴である検査プログラム管理ファイル101と、こ
の管理ファイルの中から必要な検査項目に対応する検査
プログラムを取り出して編集する検査実行システム10
2およびコンソール103を新たに設け、これらを用い
て検査対象プログラム104を検査してその結果を各検
査項目別に出力結果ファイル105にまとめるようにし
ている。
FIG. 1 is a system block diagram of this embodiment, which is a feature of the present invention, including an inspection program management file 101 and an inspection execution system that extracts and edits an inspection program corresponding to a necessary inspection item from this management file. 10
2 and a console 103 are newly provided, and these are used to test the program to be tested 104 and the results are compiled into an output result file 105 for each test item.

操作手順は第2図に示すように、まずコンソール103
より検査項目番号および検査対象プログラム名を入力し
くステップ201)、次に入力された検査項目番号に従
って検査プログラムを検査実行システム102で作成す
る(ステップ202)。
As shown in FIG. 2, the operating procedure begins with the console 103.
Input the inspection item number and the name of the program to be inspected (step 201), and then create an inspection program in the inspection execution system 102 according to the input inspection item number (step 202).

検査実行システム102は検査項目毎の検査プログラム
を編集する。続いてその検査プログラムに従ってプログ
ラムを検査し結果を指定した項目番号105−1,10
5−2,105−3のいずれかに記録する(ステップ2
03)。最後に編集した検査プログラムを削除し、前記
検査プログラムが占有していた2次記憶装置の領域を解
放することにより空き領域を増加して次の検査項目の検
査プログラムが編集できるように準備する(ステップ2
04)。かかる一連の処理をすべての検査項目に対して
実行することにより検査対象プログラムの検査が終了す
る。
The inspection execution system 102 edits inspection programs for each inspection item. Subsequently, the program was inspected according to the inspection program and the results were designated with item numbers 105-1 and 10.
Record in either 5-2 or 105-3 (Step 2
03). By deleting the last edited inspection program and releasing the area of the secondary storage device occupied by the inspection program, free space is increased and preparations are made for editing the inspection program for the next inspection item ( Step 2
04). By executing this series of processing for all inspection items, the inspection of the program to be inspected is completed.

第3図は検査プロクラム管理ファイル101と編集され
るべき検査プログラムの構成図である。
FIG. 3 is a configuration diagram of the inspection program management file 101 and the inspection program to be edited.

検査プロクラム管理ファイル101は共通部A(各検査
の前処理用プロクラム)、続いて検査内容l・・・Nの
順に独立するプログラム304,306゜307を設け
、最後に共通部B(後処理用の共通プログラム)308
を設ける。各検査内容の最初と最後には項目番号303
とスタートキーワード302並びに項目番号303とエ
ンドキーワード305を配置する。
The inspection program management file 101 includes a common part A (preprocessing program for each test), followed by independent programs 304, 306, 307 in the order of test contents l...N, and finally a common part B (postprocessing program). common program) 308
will be established. Item number 303 at the beginning and end of each inspection content
A start keyword 302, an item number 303, and an end keyword 305 are arranged.

検査プログラム管理ファイル101から検査プロクラム
を編集する手順は第4図に示す通り、まず検査プログラ
ム管理ファイルと編集ファイルをオーブンする(ステッ
プ401)。次に、検査プログラム管理ファイルから1
行読み出す(ステ、ツブ402)。ファイルの終了か否
かを調べ(ステップ403)、終了でない限り以下を繰
り返す。ます、読み出した行にスタートキーワードが存
在するかを調べ(ステップ404)、存在しなければそ
のまま読み出した行を編集ファイルに出力する(ステッ
プ405)。スタートキーワードが存在するならば、次
の項目番号部の項目番号が指定された検査項目番号に一
致するかを調べ(ステップ406)、一致するならばそ
の先からエンドキーワードの前までを編集ファイルに出
力する(ステップ408)。一致しない場合は、該当す
る検査項目内容ではないので次にエンドキーワードの行
が来るまで読みとばす(ステップ407)。以上を、フ
ァイルの終了まて繰り返し、ファイルの終了になった時
に、検査プログラム管理ファイルおよび編集ファイルを
クローズして、検査プロクラムを生成する。
The procedure for editing an inspection program from the inspection program management file 101 is as shown in FIG. 4. First, the inspection program management file and the editing file are opened (step 401). Next, 1 from the inspection program management file.
Read the line (step 402). Check whether the file has ended (step 403), and repeat the following unless the file has ended. First, it is checked whether the start keyword exists in the read line (step 404), and if it does not exist, the read line is output as is to the editing file (step 405). If the start keyword exists, check whether the item number in the next item number section matches the specified inspection item number (step 406), and if it does, the data from that point to before the end keyword is created in the edit file. Output (step 408). If they do not match, the contents of the test item are not relevant, so reading is skipped until the next end keyword line is reached (step 407). The above steps are repeated until the file ends, and when the file ends, the inspection program management file and editing file are closed and an inspection program is generated.

例えば今、項目番号1の検査プログラムが必要であれば
、項目番号1を指定することによって共通部A、検査内
容1および共通部Bが管理ファイル101から取り出さ
れて実行システム102内の小ファイルに編集される。
For example, if you need an inspection program with item number 1, by specifying item number 1, common part A, inspection content 1, and common part B are extracted from management file 101 and saved in a small file in execution system 102. Edited.

他の検査項目についても同様である。The same applies to other inspection items.

なお、複数の検査項目を連続して検査する場合には、編
集ファイル上で検査内容のみを書き換えるようにすれば
共通部A、Bを共通に使用することができることは明ら
かである。
Note that, when a plurality of inspection items are inspected in succession, it is clear that the common parts A and B can be used in common by rewriting only the inspection contents on the edit file.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明によれば多数使用する検査プログ
ラムを1つのファイルにまとめ、共通部とともに所望の
検査内容プログラムのみを取り出して編集し、この編集
したプログラムに基づいて被検査プログラムを検査する
ことができるので、必要とされるファイル容量を著しく
縮小化することができるとともに、編集ファイルに基づ
いて各項目の検査を行うようにしているのて、編集ファ
イルとしては小容量のファイル1個分て済ますことがで
き経済的である。
As described above, according to the present invention, a large number of inspection programs to be used are combined into one file, only the desired inspection content program is extracted and edited along with the common parts, and the program to be inspected is inspected based on this edited program. This makes it possible to significantly reduce the required file capacity, and since each item is inspected based on the edited file, the edited file can be reduced to the size of one small file. It is economical to use.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の検査システムの全体の構成図、第2
図は、検査システムの処理の流れ図、第3図は検査ンス
テムが入力する検査プログラム管理ファイルの内容の構
成と、それから生成される検査プログラムの内容の構成
の対応図、第4図は検査プログラム管理ファイルから検
査プログラムを生成する処理の流れ図、第5図は従来の
検査方法の構成図、第6図は従来の検査プログラムの内
容の構成図を示したものである。 101・・・・・・検査プログラム管理ファイル、10
2・・ ・検査システム、103・・・・・コンソール
、104・・・・・・検査対象プログラム、105・・
・・・・出力結果、105−1・・・・項目番号1の出
力結果、105−2・・・・・項目番号2の出力結果、
105−3・・・項目番号Nの出力結果、201〜20
4・・・・・検査システムの処理、301・・・・・検
査プログラムの共通部A、302・・・・・スタートキ
ーワードL303・・・・・項目番号部、304・・・
・・・検査プログラムの検査内容1.305・・・・エ
ンドキーワード部、306・・・・検査プログラムの検
査内容2.307・・・・・検査プログラムの検査内容
N、308・・・・・・検査プログラムの共通部B、3
09・・・・項目番号1の検査プログラム、310・・
・・・項目番号2の検査プログラム、311・・・・・
・項目番号Nの検査プログラム、401〜409・・・
・・検査プログラム管理ファイルから検査プログラムを
生成する検査システムの処理。 代理人 弁理士  内 原   音 第2図 第3図 第4図    END
FIG. 1 is an overall configuration diagram of the inspection system of the present invention, and FIG.
The figure is a flowchart of the processing of the inspection system, Figure 3 is a correspondence diagram of the structure of the contents of the inspection program management file input by the inspection system and the structure of the contents of the inspection program generated from it, and Figure 4 is the inspection program management FIG. 5 is a flowchart of a process for generating an inspection program from a file, FIG. 5 is a block diagram of a conventional inspection method, and FIG. 6 is a block diagram of the contents of a conventional inspection program. 101...Inspection program management file, 10
2... Inspection system, 103... Console, 104... Program to be inspected, 105...
...output result, 105-1...output result of item number 1, 105-2...output result of item number 2,
105-3...Output result of item number N, 201 to 20
4...Inspection system processing, 301...Inspection program common part A, 302...Start keyword L303...Item number part, 304...
...Inspection content of the inspection program 1.305... End keyword section, 306... Inspection content of the inspection program 2.307... Inspection content N of the inspection program, 308...・Inspection program common part B, 3
09...Inspection program for item number 1, 310...
...Inspection program for item number 2, 311...
・Inspection program of item number N, 401 to 409...
...Inspection system processing that generates an inspection program from an inspection program management file. Agent Patent Attorney Oto Hara Figure 2 Figure 3 Figure 4 END

Claims (1)

【特許請求の範囲】[Claims] 検査すべきプログラムに検査プログラムを入力し、その
実行結果に基づいて前記プログラムの動作を検証するソ
フトウェア検査システムにおいて、複数の検査プログラ
ムに対し、それらの共通部分と独立な部分をわけてひと
つのファイルに登録する手段と、登録されたファイルか
ら検査項目番号を索引として、検査項目番号に該当する
検査プログラムを生成する手段と、前記検査プログラム
を検査すべきプログラムに入力し実行する手段と、前記
検査プログラムを消失する手段とを有することを特徴と
するソフトウェア検査システム。
In a software testing system that inputs a test program into the program to be tested and verifies the operation of the program based on the execution results, multiple test programs are separated into common parts and independent parts into one file. means for registering the inspection program in the registered file using the inspection item number as an index; means for generating an inspection program corresponding to the inspection item number; means for inputting and executing the inspection program into a program to be inspected; A software inspection system comprising: means for erasing a program.
JP2335679A 1990-11-29 1990-11-29 Software check system Pending JPH04199436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2335679A JPH04199436A (en) 1990-11-29 1990-11-29 Software check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2335679A JPH04199436A (en) 1990-11-29 1990-11-29 Software check system

Publications (1)

Publication Number Publication Date
JPH04199436A true JPH04199436A (en) 1992-07-20

Family

ID=18291294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2335679A Pending JPH04199436A (en) 1990-11-29 1990-11-29 Software check system

Country Status (1)

Country Link
JP (1) JPH04199436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006526193A (en) * 2003-05-17 2006-11-16 マイクロソフト コーポレーション Mechanism for assessing security risks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006526193A (en) * 2003-05-17 2006-11-16 マイクロソフト コーポレーション Mechanism for assessing security risks
US8156558B2 (en) 2003-05-17 2012-04-10 Microsoft Corporation Mechanism for evaluating security risks

Similar Documents

Publication Publication Date Title
US6526441B2 (en) Input/output device information management system for multi-computer system
JP2735698B2 (en) Interface verification processing method
US5379407A (en) Error handling in a state-free system
JPH096628A (en) Method and device for parallel processing procedure selection
JPH04199436A (en) Software check system
JP2585460B2 (en) Test data creation method
JPH0510692B2 (en)
JP2820184B2 (en) Load module unit test support device
JP3170795B2 (en) File group processing device
JPH04199438A (en) Software check system
JP3248433B2 (en) Program linkage verification method
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JP2671345B2 (en) Computer system product management support device and support method
JP2002014846A (en) Job checking device and job checking method and recording medium with job checking program recorded
JPH04264631A (en) Debugging device for program
JPH103390A (en) Table managing system and preparing method for the same
JPH07200356A (en) Automatic check list delete system
JPS61177532A (en) Area control system
JPH04199437A (en) Program check system
JPH02287841A (en) Computer system
JPH04178829A (en) File definition information editing system in load module
JPH02201646A (en) Program preparing device
JPH01136253A (en) Program loading control system
JPH02113343A (en) Generation system for test program execution control procedure
JP2000268079A (en) Device and method for automatically rerunning and recording in case of collation error of logic verification