JPH04199438A - Software check system - Google Patents

Software check system

Info

Publication number
JPH04199438A
JPH04199438A JP2335683A JP33568390A JPH04199438A JP H04199438 A JPH04199438 A JP H04199438A JP 2335683 A JP2335683 A JP 2335683A JP 33568390 A JP33568390 A JP 33568390A JP H04199438 A JPH04199438 A JP H04199438A
Authority
JP
Japan
Prior art keywords
inspection
program
check
file
item number
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
JP2335683A
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 JP2335683A priority Critical patent/JPH04199438A/en
Publication of JPH04199438A publication Critical patent/JPH04199438A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To shorten the checking time together with reduction of the storage capacity and improvement of the operability by preparing no independent file for each of check contents and registering collectively the necessary check contents into a control file. CONSTITUTION:A check program control file 101 and a check system 102 are provided, and a command option pattern outputted from the system 102 and a check program are inputted to a check subject program 103 for execution of the program check. The check results are outputted for each item number and recorded into the check result files 104-l-106-3 respectively. Thus plural command option patterns and plural check programs are registered into a single file. Then the check programs are edited. As a result, the necessary file capacity is reduced end also the check workability is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はソフトウェア検査システムに関し、特に複数の
コマンドオプションパターンに従って複数の検査プログ
ラムで検査を行うソフトウェア検査システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a software inspection system, and more particularly to a software inspection system that performs inspection using a plurality of inspection programs according to a plurality of command option patterns.

〔従来の技術〕[Conventional technology]

従来、プログラムは第5図に示すような手順で作成され
ていた。すなわち、ステップ501で所望のプログラム
を作成した後、ステップ502でその検査を行い、結果
が正しいか否かをステップ503でチエツクし、誤って
いる場合にはステップ504でプログラムの修正を行い
、その後修正が正しいか否かを再度ステップ502で検
査していた。
Conventionally, programs have been created using the procedure shown in FIG. That is, after creating a desired program in step 501, it is inspected in step 502, and whether or not the result is correct is checked in step 503. If the result is incorrect, the program is corrected in step 504, and then It is checked again in step 502 whether the modification is correct.

この過程の中で、プログラムの検査としては起勤行上に
記述するコマンドオプションを検査することが不可欠で
ある。すなわち、コマンドオプション同士が不必要な影
響を及ぼし合っていないか、また同一検査プログラムを
検査データとじて入力する際に、異なるコマンドオプシ
ョンの組ミ合せを指定した時に期待する差分が得られる
か等の検査が必要であった。
In this process, it is essential to check the command options written on the start line to check the program. In other words, do command options have unnecessary effects on each other? Also, when inputting the same inspection program as inspection data, do you get the expected difference when specifying different combinations of command options? inspection was necessary.

従来は、この検査ステップを第4図に示すようなシステ
ムで検査を行っていた。すなわち、必要な検査プログラ
ムの数分だけのファイル310゜311.312を用意
し、コンソール401から手入力によってコマンドオプ
ションパターンヲ入力して検査対象プログラム103を
検査していた。
Conventionally, this inspection step was performed using a system as shown in FIG. That is, files 310, 311, and 312 are prepared for the number of necessary inspection programs, and the program to be inspected 103 is inspected by inputting command option patterns manually from the console 401.

コンソール401から手入力によってコマンドオプショ
ンパターンを入力することを避けるための方法としては
、バッチ機能を用いていた。これは検査プログラム名や
コマンドオプションのパターンを記述したバッチファイ
ル402を作成し、実行させる方法である。
A batch function has been used as a method to avoid manually inputting command option patterns from the console 401. This is a method of creating and executing a batch file 402 that describes the inspection program name and command option pattern.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

以上に述べた従来のソフトウェア検査システムにおいて
は、検査プログラムがそれぞれ別々のファイルで管理さ
れているため非常に不経済であるという欠点がある。す
なわち、2次記憶装置(ハードディスクまたはフロッピ
ーティスフ)上における1つのファイルに対する2次記
憶領域の割り当ては、通常最小512ハイド〜最犬1.
6にバイト単位で行われ、割り当てられた領域は他のフ
ァイルでは利用することができない。このため、100
バイト程度のファイルが多数存在するとき、それらのフ
ァイルを別々のまま2次記憶装置上に保持しておくこと
は、他のファイルとして使用することのできない多くの
空き領域ができてしまう(512バイト単位の場合: 
 (512−100)÷512=約80%、16にバイ
ト単位の場合:(16384−100)÷16384=
約99%の空き領域)のため大変不経済である。
The conventional software testing system described above has the disadvantage that it is very uneconomical because each testing program is managed in a separate file. That is, the allocation of secondary storage area for one file on a secondary storage device (hard disk or floppy disk) is usually a minimum of 512 hides to a maximum of 1.
6 bytes, and the allocated space cannot be used by other files. For this reason, 100
When there are many byte-sized files, keeping them separate on the secondary storage device creates a lot of free space that cannot be used for other files (512 bytes). For units:
(512-100) ÷ 512 = approximately 80%, in 16 byte units: (16384-100) ÷ 16384 =
(approximately 99% free space), making it very uneconomical.

更に、コマンドオプションパターンをコンソール401
から人手によって逐次入力する方法はオペレータの作業
能率を著しく低下せしめることになり、非効率的である
とともに、誤って入力する危険性を含んでいた。
Furthermore, the command option pattern is added to the console 401.
The method of manually inputting information one after another significantly reduces the operator's work efficiency, is inefficient, and involves the risk of erroneous input.

また、コンソール401からコマンドオプションパター
ンを人手で入力することを避け、バッチファイルを作成
してバッチ機能を用いて検査を行う場合には、検査プロ
グラムが納められたファイルとは別にバッチファイルを
設けなければならず、検査に必要なファイルの管理が煩
雑になる原因となる。また、コマンドオプションパター
ンのアル1パターンに修正が必要となった場合に、バッ
チファイル中の複数箇所を修正する必要が発生し、修正
もれを起こしやすいという欠点がある。
In addition, if you want to avoid manually inputting command option patterns from the console 401 and create a batch file and perform inspection using the batch function, you must create a batch file separate from the file containing the inspection program. This also causes the management of files necessary for inspection to become complicated. Furthermore, when it is necessary to modify the Al1 pattern of the command option pattern, it is necessary to modify multiple locations in the batch file, and there is a drawback that modifications are likely to be omitted.

本発明の目的は複数の検査プログラムと複数のコマンド
オプションパターンとを用いて検査を行うソフトウェア
検査システムにおいて、必要とするファイル容量の低減
とともに検査の作業性を向上することを目的とするもの
である。
An object of the present invention is to reduce the required file capacity and improve inspection workability in a software inspection system that performs inspection using multiple inspection programs and multiple command option patterns. .

〔課題を解決するための手段〕[Means to solve the problem]

本発明のソフトウェア検査システムは、複数のコマンド
オプションパターンと複数の検査フログラムとを1つの
ファイルに登録する手段と、検査項目番号を索引として
登録されたファイルから検査項目に該当する検査プログ
ラムを編集する手段と、前記複数のコマンドオプション
パターンを取り比して記憶する手段と、編集されたファ
イルを用いて前記該当する検査ブロクラムを前記複数の
コマンドオプションパターンに従って順次実行する手段
とを有することを特徴とするものである。
The software inspection system of the present invention includes a means for registering a plurality of command option patterns and a plurality of inspection programs in one file, and editing an inspection program corresponding to an inspection item from the registered file using an inspection item number as an index. and means for comparing and storing the plurality of command option patterns; and means for sequentially executing the corresponding inspection blocks using the edited file according to the plurality of command option patterns. It is something to do.

〔実施例〕〔Example〕

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

第1図は本実施例のシステムブロック図で、後述する検
査プログラム管理ファイル101と、管理ファイル内の
すべてのコマンドオプションパターンを取り出すととも
に指定された項目番号に対応する管理ファイル内の検査
プログラムをアクセスして1つのファイルに編集する検
査システム102とを有し、検査システム102から出
力されるコマンドオプションパターンと検査プログラム
とを検査対象プログラム103に入力して検査を行い、
その結果を項目番号毎に出力して各検査結果ファイル1
04−1〜104−3,105−1〜105−3,10
6−1〜106−3に記録するようにしている。
FIG. 1 is a system block diagram of this embodiment, in which an inspection program management file 101, which will be described later, and all command option patterns in the management file are extracted, and the inspection program in the management file corresponding to the specified item number is accessed. and an inspection system 102 that edits the command option pattern and the inspection program into one file, inputs the command option pattern and inspection program output from the inspection system 102 into the inspection target program 103, and performs inspection.
The results are output for each item number and each inspection result file 1
04-1~104-3,105-1~105-3,10
6-1 to 106-3.

第3図は本実施例で使用する検査プログラム管理ファイ
ル101の構成と生成された検査ブロクラムの対応を示
す図で、管理ファイル101は検査対象プログラム名が
記述された領域301と、必要なコマンドオプションパ
ターン1,2・・・Nが連続して記述された領域301
,302,303・・・304と、スタートキーワード
305および項目番号306並びに該当項目番号の検査
内容が1セツトとして検査項目番号述された検査内容領
域とを有している。
FIG. 3 is a diagram showing the correspondence between the configuration of the inspection program management file 101 used in this embodiment and the generated inspection blocks. Area 301 where patterns 1, 2...N are continuously described
, 302, 303, . . . 304, and an examination content area in which a start keyword 305, an item number 306, and the examination contents of the corresponding item number are described as one set.

以下、本実施例の動作を操作手順に従って説明する。ま
ず、管理ファイル101から検査対象プログラム名を取
り出し、次にコマンドオプションパターン1〜Nを取り
出して記憶しておく。続いて検査すべき項目番号を指定
して検査内容の1つを取り出して編集する。各検査項目
がそれぞれ登録されたコマンドオプションパターンのす
べてを使用する場合には、最初にコマンドオプションパ
ターン1〜Nを記憶しておくたけで、各検査項目に対し
て共通に使用することができる。
The operation of this embodiment will be explained below according to the operating procedure. First, the name of the program to be inspected is extracted from the management file 101, and then the command option patterns 1 to N are extracted and stored. Next, the user specifies the item number to be inspected, extracts and edits one of the inspection contents. When each test item uses all of the registered command option patterns, the command option patterns 1 to N can be used in common for each test item by simply storing them first.

第2図に示すように検査項目番号をm=oにクリアしく
ステップ201)、その後mを+1する(ステップ20
2)ことによって検査項目番号lの検査を行うための検
査内容1が検査プログラム310として編集される(ス
テップ203)。その後、n、 = 0にクリアして(
ステップ204)、nを+1する(ステップ205)こ
とにより、コマンドオプションパターン1に従ってプロ
グラムの検査が実行され、その結果が第1図の項目番号
1のファイル104−1に記録される(ステップ206
)。次にコマンドオプションパターンの判定が行われ(
ステップ207)、次のコマンドオプションパターンが
存在していればnがさらに+1される(ステップ205
)。この結果、コマンドオプションパターン2による検
査が実行され、その結果が項目番号lのファイル105
−1に記録される。以下同様にステップ205〜207
が繰り返し処理され、項目番号1に対するすべてのコマ
ンドオプションパターンの検査が終了する。検査が終了
すると検査システム102は項目番号1に対する検査内
容を削除して(ステップ208)、次に検査すべき項目
番号があるか否かを判定する(ステップ209)。あれ
ばステップ202へ戻り次の検査項目を指定して検査プ
ログラムを編集する。すべての検査項目に対する検査が
終了すれば、プログラムの全検査が終了したことになる
As shown in FIG. 2, clear the inspection item number to m=o (step 201), then increment m by 1 (step 20).
2) As a result, test content 1 for performing the test with test item number l is edited as test program 310 (step 203). After that, clear n, = 0 (
Step 204), by adding 1 to n (Step 205), a program check is executed according to command option pattern 1, and the result is recorded in the file 104-1 of item number 1 in FIG. 1 (Step 206).
). Next, the command option pattern is judged (
Step 207), if the next command option pattern exists, n is further incremented by 1 (Step 205).
). As a result, the inspection based on command option pattern 2 is executed, and the result is file 105 with item number l.
-1 is recorded. Similarly, steps 205 to 207
is repeatedly processed, and all command option patterns for item number 1 have been checked. When the inspection is completed, the inspection system 102 deletes the inspection content for item number 1 (step 208), and determines whether there is an item number to be inspected next (step 209). If so, the process returns to step 202, the next inspection item is specified, and the inspection program is edited. Once all inspection items have been inspected, all inspections of the program have been completed.

本実施例によれば、任意の1つの検査項目に対して複数
のコマンドオプションパターンで順次検査を行うことが
できる。なお、検査項目は順次連続的に指定しても、任
意に不連続に指定してもよ  lいことは明らかである
According to this embodiment, it is possible to sequentially test any one test item using a plurality of command option patterns. It is clear that the inspection items may be specified sequentially or discontinuously.

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

本発明によれば、検査内容毎に独立したファイルを用意
することを避け、必要な検査内容を一括して管理ファイ
ルに登録しているので、従来のようにコンソールからい
ろいろコマンドオプションパターンを入力する必要がな
く検査時間を大幅に短縮することができる。
According to the present invention, the necessary inspection contents are registered in a management file all at once, avoiding the need to prepare separate files for each inspection content, so it is no longer necessary to input various command option patterns from the console as in the past. This is not necessary and the inspection time can be significantly shortened.

さらに、管理ファイルを設けることによって2次記憶装
置に多くの無駄な空き領域を作らずに済むため、きわめ
て経済的である。加えて従来のように検査プログラム毎
にファイルを交換する必要もないので操作性が非常に簡
易化されるという効果もある。
Furthermore, by providing the management file, it is not necessary to create a large amount of wasteful free space in the secondary storage device, which is extremely economical. In addition, unlike the conventional method, there is no need to exchange files for each inspection program, which greatly simplifies operability.

よって、特に最近のように検査項目およびコマンドオプ
ションパターンが増加する傾向にあっては本発明は極め
て有効なシステムとなりうることが理解されよう。
Therefore, it will be understood that the present invention can be an extremely effective system, especially in the recent trend of increasing test items and command option patterns.

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

第1図は、本発明の検査システムの全体の構成図、第2
図は、検査システムの処理の流れ図、第3図は検査シス
テムが入力する検査プログラム管理ファイルの内容の構
成と、それから生成される検査プログラムの対応図、第
4図は従来の検査方法の構成図、第5図はプログラムの
開発手順の図を示したものである。 101・・・・・・検査プログラム管理ファイル、10
2・・・・・検査システム、103・・・・・・検査対
象プログラム、104・・・・・・コマンドオプション
パターン1の出力結果、104−1・・・・・・項目番
号lの出力結果、104−2・・・・・・項目番号2の
出力結果、104−3・・・・・・項目番号Mの圧力結
果、105・・・・・・コマンドオプションパターン2
の出力結果、105−1・・・・・・項目番号1の出力
結果、105−2・・・・・・項目番号2の出力結果、
105−3・・・・・・項目番号Mの圧力!果、  1
06・・・・・・コマンドオプションパターンNの出力
結果、106−1・・・・・・項目番号lの圧力結果、
106−2・・・・・・項目番号2の圧力結果、106
−3・・・・・・項目番号Mの出力結果、201〜20
9・・・・・・検査システムの処理、301・・・・・
・検査対象プログラム名、302・・・・・・コマンド
オプションパターン1.303・・・・・・コマンドオ
プションパターン2.304・・・・・・コマンドオプ
ションパターンN、305・・・・・・スタートキーワ
ード部、306・・・・・・項目番号部、307・・・
・・・検査プログラムの検査内容l、308・・・・・
・検査プログラムの検査内容2.309・・・・・・検
査プログラムの検査内容M、310・・・・・・項目番
号1の検査プログラム1.311・・・・・・項目番号
2の検査プログラム2.312・・・・・・項目番号M
の検査プログラム3.401・・・・・・コンソール、
402・・・・・バッチファイル、501〜504・・
・・・・プログラム開発の各ステップ。 代理人 弁理士  内 原   晋 ↓N。 ND 第3図 第5図 TART ↓YES El、ID
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 diagram showing the structure of the content of the inspection program management file input by the inspection system and the correspondence between the inspection program generated from it, and Figure 4 is a diagram of the configuration of the conventional inspection method. , FIG. 5 shows a diagram of the program development procedure. 101...Inspection program management file, 10
2...Inspection system, 103...Program to be inspected, 104...Output result of command option pattern 1, 104-1...Output result of item number l , 104-2... Output result of item number 2, 104-3... Pressure result of item number M, 105... Command option pattern 2
105-1... Output result of item number 1, 105-2... Output result of item number 2,
105-3...Item number M pressure! Fruit, 1
06... Output result of command option pattern N, 106-1... Pressure result of item number l,
106-2... Pressure result of item number 2, 106
-3...Output result of item number M, 201 to 20
9... Inspection system processing, 301...
・Inspection target program name, 302...Command option pattern 1.303...Command option pattern 2.304...Command option pattern N, 305...Start Keyword section, 306...Item number section, 307...
...Inspection content of inspection program l, 308...
- Inspection content of inspection program 2.309... Inspection content M of inspection program, 310... Inspection program of item number 1 1.311... Inspection program of item number 2 2.312...Item number M
Inspection program 3.401...Console,
402...Batch file, 501-504...
...Each step of program development. Agent: Susumu Uchihara, patent attorney ↓N. ND Figure 3 Figure 5 TART ↓YES El, ID

Claims (1)

【特許請求の範囲】[Claims] 検査すべきプログラムに検査プログラムを入力し、検査
結果に基づいてプログラムの動作を検証するソフトウェ
ア検査システムにおいて、検査すべきプログラムの起動
時にソフトウェアの動作を制御するために指定するコマ
ンドオプションの複数のパターンと、複数の検査プログ
ラムとをひとつのファイルに登録する手段と、検査項目
番号を索引として、登録されたファイルから検査項目番
号に該当する検査プログラムを編集する手段と、前記複
数のコマンドオプションパターンを取り出して記憶する
手段と、生成された検査プログラムを用いて前記複数の
コマンドオプションパターンに従って順次検査を実行す
る手段とを有することを特徴とするソフトウェア検査シ
ステム。
In a software testing system that inputs a test program into the program to be tested and verifies the program's behavior based on the test results, multiple patterns of command options are specified to control the behavior of the software when starting the program to be tested. means for registering a plurality of inspection programs in one file; means for editing an inspection program corresponding to the inspection item number from the registered file using the inspection item number as an index; and means for editing the inspection program corresponding to the inspection item number from the registered file; A software inspection system comprising: means for extracting and storing the inspection program; and means for sequentially executing inspection according to the plurality of command option patterns using the generated inspection program.
JP2335683A 1990-11-29 1990-11-29 Software check system Pending JPH04199438A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=18291334

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH04199438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235025A (en) * 1995-02-24 1996-09-13 Nec Corp Program test support management device and its method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235025A (en) * 1995-02-24 1996-09-13 Nec Corp Program test support management device and its method

Similar Documents

Publication Publication Date Title
JP2735698B2 (en) Interface verification processing method
CN1722227B (en) Digital mixer, mixer configuration editing apparatus, and machine-readable medium thereof
JP7246301B2 (en) Program development support system and program development support method
US6345270B1 (en) Data management system
JP2004094432A (en) Control program creation support system and support method
JPH04199438A (en) Software check system
JP4477531B2 (en) Data import method and data import apparatus
JPS62202202A (en) Sequence control program creation device
GB2195479A (en) Planning support method and system
JPH04199436A (en) Software check system
JP2579996B2 (en) Core state prediction device
JPS63180159A (en) System set-up system for microcomputer system
JP3170795B2 (en) File group processing device
JP2000148562A (en) Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program
JPH0510692B2 (en)
JPH0721013A (en) System generation method
JPH10228396A (en) Data processing device for software inspection
JPH02113343A (en) Generation method of test program execution control procedure
JPH06332150A (en) Automatic processing system for mask data
CN117785658A (en) An automated testing method for Linux warehouse
JPH02234224A (en) How to check compatibility
JP2500385B2 (en) Input data management method
JP2022006483A (en) Program verification data generation support device, and program verification data generation support method
JPH02249026A (en) High speed patch executing method
JPH04199437A (en) Program check system