[go: up one dir, main page]

JP2008299397A - Test program development device - Google Patents

Test program development device Download PDF

Info

Publication number
JP2008299397A
JP2008299397A JP2007141930A JP2007141930A JP2008299397A JP 2008299397 A JP2008299397 A JP 2008299397A JP 2007141930 A JP2007141930 A JP 2007141930A JP 2007141930 A JP2007141930 A JP 2007141930A JP 2008299397 A JP2008299397 A JP 2008299397A
Authority
JP
Japan
Prior art keywords
test
input
source file
test program
text editor
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
JP2007141930A
Other languages
Japanese (ja)
Inventor
Hironori Tango
浩徳 反後
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2007141930A priority Critical patent/JP2008299397A/en
Publication of JP2008299397A publication Critical patent/JP2008299397A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Abstract

【課題】自動生成されたソースコードの形態を容易に把握でき、入力シートとユーザーが編集した後のソースファイル相互間のテスト条件の同一性が保証され、テストプログラムの編集やデバッグの作業効率を高めることができるテストプログラム開発装置を提供すること。
【解決手段】セル単位でテスト条件が入力される表計算様式の入力シート1と、ソースファイルを表示するテキストエディタ画面3が同一画面上に表示される表示部90と、これら入力シートとテキストエディタ画面の相互間で一方の編集内容を他方に反映させるイベント監視部30、を設けたことを特徴とするもの。
【選択図】図2
[PROBLEMS] To easily grasp the form of automatically generated source code, guarantee the same test conditions between the input sheet and the source file after being edited by the user, and improve the work efficiency of test program editing and debugging To provide a test program development device that can be enhanced.
A spreadsheet in which a test condition is input in cell units, a display section 90 on which a text editor screen 3 for displaying a source file is displayed on the same screen, and the input sheet and text editor An event monitoring unit 30 is provided that reflects one editing content on the other between screens.
[Selection] Figure 2

Description

本発明は、テストプログラム開発装置に関し、詳しくは、たとえばICテスタのテストプログラムの生成・編集・デバッグなどに好適な装置に関するものである。   The present invention relates to a test program development apparatus, and more particularly to an apparatus suitable for generating, editing, and debugging a test program for an IC tester, for example.

たとえばICテスタでは、テストプログラム開発装置を用いて、被測定対象IC(以下DUTという)の特性仕様に基づき、DUTのテストを実行するために必要なテストプログラムが生成編集される。   For example, an IC tester uses a test program development device to generate and edit a test program necessary for executing a DUT test based on a characteristic specification of a measurement target IC (hereinafter referred to as a DUT).

図4は、従来のテストプログラム生成処理の流れの一例を示す構成図である。
1)はじめに、テストプログラム作成作業者(以下ユーザーという)は、テストプログラム開発装置の表示部に表示される行列の2次元方向に複数の入力セルが展開された表計算様式の入力シート1のリストA,Bの所定の入力セルに、DUTのテストを実行するために必要なテストフローとテスト条件を入力する。
FIG. 4 is a block diagram showing an example of the flow of conventional test program generation processing.
1) First, a test program creation operator (hereinafter referred to as a user) lists a spreadsheet in an input sheet 1 in which a plurality of input cells are expanded in a two-dimensional direction of a matrix displayed on the display unit of the test program development device. Test flows and test conditions necessary for executing a DUT test are input to predetermined input cells A and B.

2)ユーザーは、入力シートへの入力が完了した時点で、テストプログラム開発装置に組み込まれているテストプログラム生成処理ソフトウェアを呼び出し起動する。   2) When the input to the input sheet is completed, the user calls and activates test program generation processing software incorporated in the test program development apparatus.

3)テストプログラム開発装置のテストプログラム生成処理ソフトウェアは、入力シート1に入力されたテストフローとテスト条件に対応した所定のプログラムコードをソースファイル2として出力する。   3) The test program generation processing software of the test program development apparatus outputs a predetermined program code corresponding to the test flow and test conditions input to the input sheet 1 as the source file 2.

なお、図4において、リストAの“Tno”はテスト番号を表わし、“Tname”はテスト名称を表わし、“Bin”はビン番号を表わし、“Pattern”はテストパターンの種類を表わし、“Start”はテストパターンの開始アドレスを表わしている。   In FIG. 4, “Tno” in the list A represents a test number, “Tname” represents a test name, “Bin” represents a bin number, “Pattern” represents a type of test pattern, and “Start”. Represents the start address of the test pattern.

また、リストBの“PinName”はピンの名称を表わし、“VIH”は電圧入力のHレベルを表わし、“VIL”は電圧入力のLレベルを表わし、“VOH”は電圧出力のHレベルを表わし、“VOL”は電圧出力のLレベルを表わしている。   “PinName” in the list B represents the pin name, “VIH” represents the H level of the voltage input, “VIL” represents the L level of the voltage input, and “VOH” represents the H level of the voltage output. "VOL" represents the L level of the voltage output.

このような従来の手順によれば、ユーザーは必ずしもテストプログラム言語API(Application Program Interface)を習得しなくても、DUTのテストを実行するために必要なテストプログラムを作成することができる。   According to such a conventional procedure, a user can create a test program necessary for executing a DUT test without necessarily learning a test program language API (Application Program Interface).

特許文献1には、表計算様式の入力シートを用いてDUTのテストを実行するために必要なテストフローとテスト条件を入力する発明が記載されている。   Patent Document 1 describes an invention for inputting a test flow and test conditions necessary for executing a DUT test using an input sheet in a spreadsheet format.

特開2001−154864号公報JP 2001-154864 A

しかし、従来のテストプログラム開発装置では、入力シートへの入力が完了した段階で初めてテストプログラムソースコードを自動生成できることから、APIを熟知していないユーザーがソースファイルのコメント文やprint文などについてテキストエディタで編集を行う場合には、どのコードがどのテスト条件を設定するAPIに該当するのかが理解できない場合が多くなり、作業効率は著しく低下することになる。ソースファイルレベルでテストプログラムのデバッグを行う場合についても、同様の状況になる。   However, in the conventional test program development device, the test program source code can be automatically generated only after the input to the input sheet is completed, so that a user who is not familiar with the API can make a comment about the comment or print statement in the source file. When editing with an editor, it is often impossible to understand which code corresponds to an API for setting which test condition, and the work efficiency is significantly reduced. The same situation occurs when debugging a test program at the source file level.

また、入力シート1にはソースファイルを読み込む機能がないことから、テストプログラム作成作業者が自動生成されたソースコードをテキストエディタで編集した時点で、入力シートとソースファイル間のテスト条件の同一性は保証できなくなる。そのため、ソースファイルを編集した後は、そのソースファイルの基礎になった入力シートを利用することができない。   Also, since the input sheet 1 does not have a function to read the source file, the test condition between the input sheet and the source file is the same when the test program creator edits the automatically generated source code with a text editor. Cannot be guaranteed. Therefore, after editing a source file, the input sheet that is the basis of the source file cannot be used.

本発明は、これらの従来の問題点に着目したものであり、その目的は、自動生成されたソースコードの形態を容易に把握できるようにすることで、ユーザー独自のソース編集作業やデバッグ作業の効率を改善できるテストプログラム開発装置を提供することにある。   The present invention focuses on these conventional problems. The purpose of the present invention is to make it possible to easily grasp the form of the automatically generated source code so that the user's original source editing work and debugging work can be performed. The object is to provide a test program development apparatus capable of improving the efficiency.

また、他の目的は、入力シートとユーザーが編集した後のソースファイル相互間のテスト条件の同一性を保証し、入力シートとテキストエディタの相互間における編集作業を可能にすることで編集やデバッグの作業効率を高めることができるテストプログラム開発装置を提供することにある。   Another purpose is to ensure the same test conditions between the input sheet and the source file after the user edits, and to enable editing work between the input sheet and the text editor. It is an object of the present invention to provide a test program development apparatus that can improve the work efficiency of the system.

このような課題を達成する請求項1の発明は、
セル単位でテスト条件が入力される表計算様式の入力シートと、ソースファイルを表示するテキストエディタ画面が同一画面上に表示される表示部と、
これら入力シートとテキストエディタ画面の相互間で一方の編集内容を他方に反映させるイベント監視部、を設けたことを特徴とするテストプログラム開発装置である。
The invention of claim 1 which achieves such a problem,
An input sheet in a spreadsheet format in which test conditions are entered in cell units, and a display section on which the text editor screen for displaying the source file is displayed on the same screen,
The test program development apparatus is characterized in that an event monitoring unit for reflecting one editing content on the other between the input sheet and the text editor screen is provided.

請求項2の発明は、請求項1記載のテストプログラム開発装置において、
前記表示部には、入力シートよりなるテストフローシートとテスト条件シートおよびテキストエディタ画面が統合化されて表示されることを特徴とする。
The invention of claim 2 is the test program development apparatus according to claim 1,
The display unit is characterized in that a test flow sheet composed of an input sheet, a test condition sheet, and a text editor screen are integrated and displayed.

請求項3の発明は、請求項1または請求項2記載のテストプログラム開発装置において、
前記イベント監視部は、ソースファイルイメージとソースファイル本体との差分を抽出し、その抽出結果に基づき、前記入力シートの該当セルに対する所定の処理を行うことを特徴とする。
The invention of claim 3 is the test program development apparatus according to claim 1 or 2,
The event monitoring unit extracts a difference between a source file image and a source file body, and performs a predetermined process on a corresponding cell of the input sheet based on the extraction result.

請求項4の発明は、請求項1から請求項3のいずれかに記載のテストプログラム開発装置において、前記入力シートとテキストエディタ画面の相互間で編集対象部分の表示形態を非対象部分と異ならせることを特徴とする。   According to a fourth aspect of the present invention, in the test program development device according to any one of the first to third aspects, the display form of the edit target part is different from the non-target part between the input sheet and the text editor screen. It is characterized by that.

これらにより、自動生成されたソースコードの形態を容易に把握でき、入力シートとユーザーが編集した後のソースファイル相互間のテスト条件の同一性が保証されるので、テストプログラムの編集やデバッグの作業効率を高めることができる。   As a result, the form of the automatically generated source code can be easily grasped, and the test conditions between the input sheet and the source file after being edited by the user are guaranteed to be the same. Efficiency can be increased.

以下、本発明について、図面を用いて説明する。図1は本発明の具体例を示す構成図である。図1において、テスト条件入力部10から、入力シート編集部20にセル単位でテスト条件が入力される。   Hereinafter, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a specific example of the present invention. In FIG. 1, a test condition is input in units of cells from the test condition input unit 10 to the input sheet editing unit 20.

入力シート編集部20は、セル単位のテスト条件入力イベントを検出すると、イベント監視部30にそのセルに対応するテスト条件項目とその値を通知するとともに、入力されたテスト条件を入力シート格納部40に格納し、さらに入力されたテスト条件が反映された入力シートを表示部90に表示するように表示処理部80に指示する。   When the input condition editing unit 20 detects a test condition input event in units of cells, the input sheet editing unit 20 notifies the event monitoring unit 30 of the test condition item corresponding to the cell and its value, and the input test condition is input to the input sheet storage unit 40. In addition, the display processing unit 80 is instructed to display the input sheet on which the input test conditions are reflected on the display unit 90.

イベント監視部30は、そのテスト条件に対応するAPIとパラメータをソースファイル編集部50に出力する。   The event monitoring unit 30 outputs an API and parameters corresponding to the test condition to the source file editing unit 50.

ソースファイル編集部50は、そのテスト条件に対応するAPIとパラメータを反映させるようにソースファイルを編集して、編集結果をソースファイル格納部60に格納する。   The source file editing unit 50 edits the source file to reflect the API and parameters corresponding to the test conditions, and stores the edited result in the source file storage unit 60.

またイベント監視部30は、テキストエディタ70に、ソースファイル格納部60に編集格納されているソースファイルをテキストエディタ画面として表示部90に表示するように指示する。   The event monitoring unit 30 instructs the text editor 70 to display the source file edited and stored in the source file storage unit 60 on the display unit 90 as a text editor screen.

テキストエディタ70は、ソースファイル格納部60に編集格納されているソースファイルを表示部90に表示するためのテキストエディタ画面を生成して表示処理部80に出力する。   The text editor 70 generates a text editor screen for displaying the source file edited and stored in the source file storage unit 60 on the display unit 90 and outputs it to the display processing unit 80.

表示処理部80は、入力シート編集部20から入力される入力シートの表示指示とテキストエディタ70から入力されるテキストエディタ画面に基づき、図2のような入力シート1とテキストエディタ画面3を含む表示画面を生成して表示部90に表示出力する。   The display processing unit 80 includes the input sheet 1 and the text editor screen 3 as shown in FIG. 2 based on the display instruction of the input sheet input from the input sheet editing unit 20 and the text editor screen input from the text editor 70. A screen is generated and displayed on the display unit 90.

図2は、表示部90における表示画面例図であり、図4と共通する部分には同一の符号を付けている。表示部90には、入力シート1とテキストエディタ画面3が表示されていて、これら入力シート1とテキストエディタ画面3は、イベント監視部30を介して互いに連動変化するように構成されている。   FIG. 2 is a view showing an example of a display screen in the display unit 90, and the same reference numerals are given to the parts common to FIG. An input sheet 1 and a text editor screen 3 are displayed on the display unit 90, and the input sheet 1 and the text editor screen 3 are configured to change in conjunction with each other via the event monitoring unit 30.

イベント監視部30とテキストエディタ70によるソースファイルの編集と入力シートへの自動反映の処理の流れについて説明する。   A flow of processing of editing the source file and automatically reflecting the input sheet by the event monitoring unit 30 and the text editor 70 will be described.

テキストエディタ70は、ユーザーのテスト条件入力部10からのソースファイル保存イベントを検出することにより、イベント監視部30に通知する。   The text editor 70 notifies the event monitoring unit 30 by detecting a source file storage event from the test condition input unit 10 of the user.

イベント監視部30は、ソースファイルイメージ単体のコンパイルを行う。ここで、コンパイルエラーの場合は処理を終了するが、編集前のソースファイルイメージに戻すことも可能である。   The event monitoring unit 30 compiles a source file image alone. Here, in the case of a compile error, the processing ends, but it is also possible to return to the source file image before editing.

また、イベント監視部30は、たとえばdiffコマンドを実行することにより、ソースファイルイメージとソースファイル本体との差分を抽出し、抽出結果に基づき以下のような処理を行う。
a)APIのパラメータ変更を検出した場合、入力シートの該当セルの値の変更を行う
b)API文の追加を検出した場合、入力シートの該当する設定の追加を行う
c)API文の削除を検出した場合、入力シートの該当する設定の削除を行う
d)その他(たとえばコメント文、print文)の場合は何も行わない
Further, the event monitoring unit 30 extracts a difference between the source file image and the source file body by executing, for example, a diff command, and performs the following processing based on the extraction result.
a) When the API parameter change is detected, the value of the corresponding cell in the input sheet is changed. b) When the addition of the API statement is detected, the corresponding setting of the input sheet is added. c) The API statement is deleted. If it is detected, the corresponding setting in the input sheet is deleted. D) Nothing is done in other cases (for example, comment sentence, print sentence).

そして、イベント監視部30は、ソースファイルイメージをソースファイル本体に反映させる。   Then, the event monitoring unit 30 reflects the source file image on the source file body.

これにより、入力シート1のセル単位のテスト条件入力イベントで、テキストエディタ画面3にそのテスト条件に対応するAPIが表示されるため、自動生成されるプログラムソース形態を容易に把握でき、自動生成ソースの編集作業やデバッグ作業の効率が向上する。   As a result, since the API corresponding to the test condition is displayed on the text editor screen 3 in the test condition input event for each cell of the input sheet 1, the automatically generated program source form can be easily grasped. The efficiency of editing and debugging is improved.

また、テキストエディタ70によるソースファイルの編集内容を入力シート1に自動反映されるため、常に入力シート1とテキストエディタ画面3間のテスト条件の同一性が確約され、入力シート1とテキストエディタ画面3との相互間でのソースファイル編集作業が可能になる。   In addition, since the edited contents of the source file by the text editor 70 are automatically reflected in the input sheet 1, the same test conditions between the input sheet 1 and the text editor screen 3 are always guaranteed. Source file editing work between them.

なお、入力シート1とテキストエディタ画面3の相互間で編集対象部分の表示色や表示輝度を変えたり点滅させて表示形態を他の非対象部分と異ならせることにより、入力シート1とテキストエディタ画面3の相互間における編集対象を明確に識別できる。   The input sheet 1 and the text editor screen 3 are changed by changing the display color and display brightness of the portion to be edited or blinking between the input sheet 1 and the text editor screen 3 to make the display form different from other non-target portions. The objects to be edited among the three can be clearly identified.

図3は他の実施例を示す構成図であり、図2と共通する部分には同一の符号を付けている。図3の表示画面90には、ユーザーによる編集が可能な入力シート1よりなるテストフローシートとテスト条件シートおよびテキストエディタ画面3が統合化されて表示されている。このような構成にオンラインデバッグ機能を追加することにより、本発明の効果を最大限に活用できるテストプログラム統合開発環境が実現できる。   FIG. 3 is a block diagram showing another embodiment, and the same reference numerals are given to portions common to FIG. In the display screen 90 of FIG. 3, a test flow sheet composed of an input sheet 1 that can be edited by the user, a test condition sheet, and a text editor screen 3 are displayed in an integrated manner. By adding an online debugging function to such a configuration, a test program integrated development environment that can make the most of the effects of the present invention can be realized.

以上説明したように、本発明によれば、自動生成されたソースコードの形態を容易に把握でき、入力シートとユーザーが編集した後のソースファイル相互間のテスト条件の同一性が保証されるので、テストプログラムの編集やデバッグの作業効率を高めることができるテストプログラム開発装置が実現でき、半導体テスト装置などのテストプログラム開発装置として好適である。   As described above, according to the present invention, the form of the automatically generated source code can be easily grasped, and the same test conditions are guaranteed between the input sheet and the source file after being edited by the user. Therefore, a test program development apparatus capable of improving the work efficiency of test program editing and debugging can be realized, which is suitable as a test program development apparatus such as a semiconductor test apparatus.

本発明の具体例を示す構成図である。It is a block diagram which shows the specific example of this invention. 本発明の表示部90における表示画面例図である。It is an example of the display screen in the display part 90 of this invention. 本発明の他の実施例を示す構成図である。It is a block diagram which shows the other Example of this invention. 従来のテストプログラム開発装置における処理の流れの一例を示す構成図である。It is a block diagram which shows an example of the flow of a process in the conventional test program development apparatus.

符号の説明Explanation of symbols

1 入力シート
2 ソースファイル
3 テキストエディタ画面
10 テスト条件入力部
20 入力シート編集部
30 イベント監視部
40 入力シート格納部
50 ソースファイル編集部
60 ソースファイル格納部
70 テキストエディタ
80 表示処理部
90 表示部
DESCRIPTION OF SYMBOLS 1 Input sheet 2 Source file 3 Text editor screen 10 Test condition input part 20 Input sheet edit part 30 Event monitoring part 40 Input sheet storage part 50 Source file edit part 60 Source file storage part 70 Text editor 80 Display processing part 90 Display part

Claims (4)

セル単位でテスト条件が入力される表計算様式の入力シートと、ソースファイルを表示するテキストエディタ画面が同一画面上に表示される表示部と、
これら入力シートとテキストエディタ画面の相互間で一方の編集内容を他方に反映させるイベント監視部、
を設けたことを特徴とするテストプログラム開発装置。
An input sheet in a spreadsheet format in which test conditions are entered in cell units, and a display section on which the text editor screen for displaying the source file is displayed on the same screen,
An event monitoring unit that reflects the edited contents of one of the input sheets and the text editor screen on the other,
A test program development device characterized by providing
前記表示部には、入力シートよりなるテストフローシートとテスト条件シートおよびテキストエディタ画面が統合化されて表示されることを特徴とする請求項1記載のテストプログラム開発装置。   2. The test program development apparatus according to claim 1, wherein a test flow sheet, a test condition sheet, and a text editor screen made up of input sheets are integrated and displayed on the display unit. 前記イベント監視部は、ソースファイルイメージとソースファイル本体との差分を抽出し、その抽出結果に基づき、前記入力シートの該当セルに対する所定の処理を行うことを特徴とする請求項1または請求項2記載のテストプログラム開発装置。   3. The event monitoring unit extracts a difference between a source file image and a source file body, and performs predetermined processing on a corresponding cell of the input sheet based on the extraction result. The test program development device described. 前記入力シートとテキストエディタ画面の相互間で編集対象部分の表示形態を非対象部分と異ならせることを特徴とする請求項1から請求項3のいずれかに記載のテストプログラム開発装置。   The test program development device according to claim 1, wherein the display form of the edit target part is different from the non-target part between the input sheet and the text editor screen.
JP2007141930A 2007-05-29 2007-05-29 Test program development device Pending JP2008299397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007141930A JP2008299397A (en) 2007-05-29 2007-05-29 Test program development device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007141930A JP2008299397A (en) 2007-05-29 2007-05-29 Test program development device

Publications (1)

Publication Number Publication Date
JP2008299397A true JP2008299397A (en) 2008-12-11

Family

ID=40172904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007141930A Pending JP2008299397A (en) 2007-05-29 2007-05-29 Test program development device

Country Status (1)

Country Link
JP (1) JP2008299397A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018189641A (en) * 2017-04-28 2018-11-29 株式会社アドバンテスト User control of automated test functions using software application programming interface (api)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018189641A (en) * 2017-04-28 2018-11-29 株式会社アドバンテスト User control of automated test functions using software application programming interface (api)

Similar Documents

Publication Publication Date Title
US9021428B2 (en) Troubleshooting visuals and transient expressions in executing applications
CN108351764A (en) Graphical representation of data in the program code editor
KR101137067B1 (en) System and method for checking and resolving publication design problems
KR20160025426A (en) Source code analysis apparatus, Computer program for the same, Recording medium storing computer program for the same
CN107885493A (en) Program making supports method and program making to support device
US8473903B2 (en) Code edit apparatus and recording medium
KR20060120539A (en) Graphical Programmers and Programmable Indicators
JP2008299397A (en) Test program development device
JP6097231B2 (en) Program generating apparatus and method
JP2008165399A (en) Simulation data generation support device
US9015658B2 (en) Automatic program generation device and automatic program generation method
JP5733269B2 (en) Method for supporting program generation and apparatus for supporting program generation
JP2009181180A (en) Inspection program, inspection method, and inspection device of program creating tool
JP2010224597A (en) Programmable controller control program creation method and programmable controller control program creation system
JP4488227B2 (en) Debugging method of control component having variability and debugging support apparatus
Wilkes Advanced Python Development
JP2005316710A (en) Software test support device
WO2023112772A1 (en) Robot programming assistance device, robot programming assistance program, and robot programming assistance method
Luengruengroj et al. Stubs and drivers generator for object-oriented program testing using sequence and class diagrams
JP2004070561A (en) Debugging device
JP4488226B2 (en) Macro program that realizes highly functional ladder program
GB2510866A (en) Computer code editor
US12536004B1 (en) System and method for round-robinediting of a generated user interface
CN101364398B (en) Method for generating object attribute related to user interface
US20130262932A1 (en) Stream Generation