JP2010262376A - Test distribution method - Google Patents
Test distribution method Download PDFInfo
- Publication number
- JP2010262376A JP2010262376A JP2009111096A JP2009111096A JP2010262376A JP 2010262376 A JP2010262376 A JP 2010262376A JP 2009111096 A JP2009111096 A JP 2009111096A JP 2009111096 A JP2009111096 A JP 2009111096A JP 2010262376 A JP2010262376 A JP 2010262376A
- Authority
- JP
- Japan
- Prior art keywords
- test
- test case
- real machine
- case
- machine test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、コンピュータでソフトが動作して装置をテスト(以下、ソフトウェアテストとする。また、テストする装置をテストの対象装置という)する際のテスト項目リストを作成する方法に係り、特に、複数の作業者がかかるテスト対象装置を効率良くテストを実施できるスケジューリングをする際のテスト分配方法に関する。 The present invention relates to a method for creating a test item list when software is operated on a computer to test a device (hereinafter referred to as a software test, and a device to be tested is referred to as a device to be tested). It is related with the test distribution method at the time of carrying out the scheduling which can perform the test of such a test object apparatus efficiently.
ソフトウェアテストでは、複数のテストケースを限られた期間で効率良く消化する必要がある。そのため、テストの対象装置に対し、テストケースの網羅性を確保しつつ、テストケース数を削減するテスト組合せ生成ツールを用いることが有効とされている。代表的なツールとして直交表(非特許文献1)、及びAll-Pair法(特許文献1)が用いられている。 In software testing, it is necessary to efficiently digest multiple test cases within a limited period. Therefore, it is effective to use a test combination generation tool that reduces the number of test cases while ensuring the completeness of the test cases for the test target device. As typical tools, an orthogonal table (Non-patent Document 1) and an All-Pair method (Patent Document 1) are used.
非特許文献1では、全てのテスト項目数から、効果的にテスト項目を抽出する方法が記載されている。特許文献1では、複数回テスト項目リストを作成し直す場合であっても、テスト項目リストを容易に作成できる表作成装置について記載されている。
Non-Patent
例えば、組込み機器をテストの対象装置とした場合のソフトウェアのテスト項目は、実機や試作ハードウェアを利用する実機テストとパソコン上の開発環境やシミュレータを使用する非実機テストとの2種類に分類されることがある。 For example, software test items when an embedded device is used as a test target device are classified into two types: a real machine test using an actual machine or prototype hardware, and a non-real machine test using a development environment or simulator on a personal computer. Sometimes.
そして、テストに使用する実機の関発にはコストがかかるため、テストのために確保できる実機が少ないことが多い理由から、実機を必要とするテスト項目については、複数の作業者によるテストの場合には、作業者同士の実機の使用の重複を避け、効率良く実施することができるようにすることが必要である。 And since the cost of the actual equipment used for testing is high, there are many cases where there are few actual machines that can be secured for testing. Therefore, it is necessary to avoid the duplication of the use of actual machines among workers and to be able to carry out efficiently.
しかしながら、出力されたテストケースは、実機テストが複数の作業者で重複しないことを考慮したものではないため、これまでは手作業により並び替えを行なっている。この手作業による並び替えは、出力されるテストケース数が多いため、テストに時間を要し、さらに、手作業のため、正確性を保証することが難しいという問題があった。 However, since the output test cases do not take into consideration that the actual machine tests do not overlap among a plurality of workers, they have been rearranged manually. This manual rearrangement has a problem that it takes time to test because the number of test cases to be output is large, and further, it is difficult to guarantee the accuracy due to manual work.
本発明の目的は、かかる問題を解消し、複数の作業者でテストを実施する際に、複数のテストケースを、テスト実施条件により並び替え、作業者の作業負担やテストに要する時間を均一化することを可能としたテスト分配方法を提供するにある。 The purpose of the present invention is to eliminate such problems and to sort the test cases according to the test execution conditions when testing by a plurality of workers, and to equalize the workload of the workers and the time required for the tests. It is to provide a test distribution method that makes it possible.
上記目的を達成するために、本発明は、テストの対象となる装置に関し、テストのために設定された複数のテストケースを複数の作業者に分配するテスト分配方法であって、複数のテストケースを、実機を用いてテストする実機テストケースと実機を用いないでテストする非実機テストケースとに分類する第1の工程と、実機テストケースと非実機テストケース毎に、テストの実行優先順位に応じたグループに分類する第2の工程と、実機テストケースと非実機テストケースとについて、第2の工程で分類されたグループ毎に、作業者夫々に割り当てるテストケースを決定する第3の工程と、第3の工程で割り当てられたテストケースを、作業者夫々に分配する第4の工程とからなることを特徴とする。 In order to achieve the above object, the present invention relates to a device to be tested, and relates to a test distribution method for distributing a plurality of test cases set for testing to a plurality of workers. Are classified into real test cases that are tested using actual machines and non-real machine test cases that are tested without using real machines, and the test execution priority is assigned to each of the actual test cases and non-real machine test cases. A second step of classifying into a corresponding group, and a third step of determining a test case to be assigned to each worker for each group classified in the second step with respect to the actual machine test case and the non-real machine test case; The fourth process distributes the test cases assigned in the third process to the respective workers.
また、本発明は、テストケースが夫々、複数の因子の値の組み合わせからなり、テストケース毎に、因子の値の組み合わせが異なるものであって、第1の工程は、テストに実機を必要とする因子の値を規定した実機テスト条件表に基づいて、実機を用いたテストである実機テストを必要とする因子の値を有するテストケースを、実機テストケースとして、実機テストケース表に分類し、これ以外のテストを非実機テストとして、非実機テストのテストケースを、非実機テストケースとして、非実機テストケース表に分類することを特徴とする。 Further, according to the present invention, each test case is composed of a combination of a plurality of factor values, and each test case has a different combination of factor values, and the first step requires an actual machine for the test. Based on the actual machine test condition table that specifies the value of the factor to be used, classify the test cases having the value of the factor that requires the actual machine test, which is a test using the actual machine, into the actual machine test case table as an actual machine test case, Other tests are classified as non-real machine tests, and non-real machine test cases are classified as non-real machine test cases in a non-real machine test case table.
また、本発明は、第2の工程が、テストの実行優先順位が高い因子の値を規定したテスト順序条件表としての実行優先順位が高いテスト表と、テストの実行優先順位が低い因子の値を規定したテスト順序条件表としての実行優先順位が低いテスト表とをもとに、実機テストケース表での実行優先順位が高いテスト表で規定される因子の値を有する実機テストケースを実行優先順位が高い実機テストケースに分類し、実行優先順位が低いテスト表で規定される因子の値を有する実機テストケースを実行優先順位が低い実機テストケースに分類し、テスト順序条件表に当しない実機テストケースを実行優先順位が中程度の実機テストケースに分類して、夫々実行優先順位が高い実機テストケース表と、実行優先順位が低い実機テストケース表と、テスト順序条件表に当しない実機テストケース表とに格納し、かつ、非実機テストケース表での実行優先順位が高いテスト表で規定される因子の値を有する非実機テストケースを実行優先順位が高い非実機テストケースに分類し、実行優先順位が低いテスト表で規定される因子の値を有する非実機テストケースを実行優先順位が低い非実機テストケースに分類し、テスト順序条件表に当しない非実機テストケースをテスト順序条件表に当しない実行優先順位が中程度の非実機テストケースに分類して、夫々実行優先順位が高い非実機テストケース表と、実行優先順位が低い非実機テストケース表と、テスト順序条件表に当しない非実機テストケース表とに格納することを特徴とする。 In the present invention, the second step is a test table having a high execution priority as a test order condition table in which values of factors having a high test execution priority are defined, and a factor value having a low test execution priority. Based on the test order table with low execution priority as the test order condition table that stipulates the test order condition table, execution priority is given to the real machine test cases that have the factor values specified in the test table with high execution priority in the real machine test case table Classify actual test cases with higher ranks, classify actual test cases with factor values specified in test tables with lower execution priorities into actual test cases with lower execution priorities, and do not match test order condition tables Classifying test cases into real machine test cases with medium execution priorities, real machine test case tables with high execution priorities, real machine test case tables with low execution priorities, The non-real machine test cases that are stored in the real machine test case table that does not correspond to the strike order condition table and have the values of the factors specified in the test table with the high execution priority in the non-real machine test case table have the execution priority Classify as non-real machine test cases, classify non-real machine test cases with factor values specified in test table with low execution priority as non-real machine test cases with low execution priority, and do not hit test order condition table Categorize non-real machine test cases into non-real machine test cases with medium execution priority that do not match the test order condition table, and non-real machine test cases with high execution priority and non-real machine test cases with low execution priority And a non-real machine test case table that does not correspond to the test order condition table.
また、本発明は、第3の工程が、実機テストのテスト実行標準時間と非実機テストのテスト実行標準時間とを規定したテスト実行標準時間表と、同じ因子での値間のテスト切替操作時間を規定するテスト切替操作時間表とをもとに、実行優先順位が高い実機テストケース表,実行優先順位が低い実機テストケース表及びテスト順序条件表に該当しない実機テストケース表毎に、実機テストケースのテスト実行時間を設定し、かつ実行優先順位が高い非実機テストケース表,実行優先順位が低い非実機テストケース表及びテスト順序条件表に該当しない非実機テストケース表毎に、実機テストケースのテスト実行時間を設定することを特徴とする。 Further, according to the present invention, the third step is a test execution standard time table that defines a test execution standard time for a real machine test and a test execution standard time for a non-real machine test, and a test switching operation time between values of the same factor. Based on the test switching operation time table that stipulates, the actual machine test case table with high execution priority, the real machine test case table with low execution priority, and the real machine test case table that does not correspond to the test order condition table Actual test cases for each non-real machine test case table that sets the test execution time of the case and has a high execution priority, non-real machine test case table with low execution priority, and non-real machine test case table that does not fall under the test order condition table The test execution time is set.
また、テスト実行時間が、実機テストケースについては、実機テストのテスト実行標準時間とテスト切替操作時間との加算値であることを特徴とする。 In addition, the test execution time is an added value of the test execution standard time of the actual machine test and the test switching operation time for the actual machine test case.
また、第4の工程が、実行優先順位が高い実機テストケース表,実行優先順位が低い実機テストケース表及びテスト順序条件表に該当しない実機テストケース表毎に、実機テストケースのテスト実行時間の合計を総テスト実行時間として、総テスト実行時間から求めた作業者1人当りのテスト割り当て実行時間分ずつ実機テストケースを作業者夫々に分配し、かつ、実行優先順位が高い非実機テストケース表,実行優先順位が低い非実機テストケース表及びテスト順序条件表に該当しない非実機テストケース表毎に、非実機テストケースのテスト実行時間の合計を総テスト実行時間として、総テスト実行時間から求めた作業者1人当りのテスト割り当て実行時間分ずつ非実機テストケースを作業者夫々に分配し、分配された実機テストケースと非実機テストケースとを、該当する作業者のテストケース分配後の出力表に格納することを特徴とする。 In addition, the fourth step is the test execution time of the actual machine test case for each of the actual machine test case table having a high execution priority, the actual machine test case table having a low execution priority, and the actual machine test case table not corresponding to the test order condition table. Non-real machine test case table with high execution priority, with real machine test cases distributed to each worker according to test allocation execution time per worker calculated from total test execution time, with total as total test execution time For each non-real machine test case table that does not correspond to the non-real machine test case table and the test order condition table with low execution priority, the total test execution time is calculated from the total test execution time as the total test execution time. Non-real machine test cases are distributed to each worker according to the test allocation execution time per worker. A non-actual test cases, and storing, in the output table after test case distribution of workers applicable.
また、本発明は、テストケース分配後の出力表へのテストケースの分配が、実行優先順位が高い実機テストケース表の実機テストケースから開始することを特徴とする。 Further, the present invention is characterized in that the distribution of the test cases to the output table after the distribution of the test cases starts from the actual machine test cases in the actual machine test case table having a high execution priority.
また、本発明は、実機テスト条件表での規定で実機台数がm、作業者人数がn(但し、m<n)であるとき、m人の作業者に割り当てられたテストケース分配後の出力表で、順に、実行優先順位が高い実機テストケース表から分配された実機テストケース群の格納が行なわれ、かつ、これらテストケース分配後の出力表では、実行優先順位が高い実機テストケース表からの分配された実行優先順位が高い実機テストケース群の実機テストケースが先頭の格納位置から順に格納され、しかる後、残りの(n−m)人の作業者に割り当てられたテストケース分配後の出力表で、順に、実行優先順位が高い実機テストケース表から分配された実機テストケース群の格納が行なわれ、かつ、これらテストケース分配後の出力表では、直前に実機テストケース群の格納が終了したテストケース分配後の出力表での実機テストケース群の格納済みの格納位置の次の格納位置に相当する格納位置から格納されることを特徴とする。 Further, according to the present invention, when the number of actual machines is m and the number of workers is n (where m <n) as defined in the actual machine test condition table, the output after distributing the test cases assigned to m workers. In the table, the real machine test case group distributed from the real machine test case table having the highest execution priority is stored in order, and the output table after the distribution of these test cases is the real machine test case table having the high execution priority. The real machine test cases of the real machine test case group having a high execution priority distributed in the order are stored in order from the top storage position, and then the test cases assigned to the remaining (nm) workers are distributed. In the output table, the real machine test case group distributed from the real machine test case table having the highest execution priority is stored in order, and the real machine test is immediately before the output table after the test case distribution. Characterized in that the storage of over scan group are stored from a storage position corresponding to the next storage location of the stored storage location in the actual test case group at the output table after test case distribution ended.
本発明によれば、同じテスト対象に対し、複数の作業者でテストを実行する場合、テストケースのリストをテスト実施条件に応じて並び替え、実機と非実機の利用率が最大となるように、テストケースを各作業者に分配するものであるから、作業者のテストに要する時間や負担を均一化でき、全体のテストに要する時間を最小にすることができる。 According to the present invention, when a test is executed by a plurality of workers on the same test object, the test case list is rearranged according to the test execution conditions so that the utilization rate of the real machine and the non-real machine is maximized. Since the test cases are distributed to each worker, the time and burden required for the worker's test can be made uniform, and the time required for the entire test can be minimized.
以下、本発明のかかる実施形態を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は本発明によるテスト分配方法の一実施形態を示す図であって、100はテスト作業表、300はテストケース表、400はテスト実施条件表、500は実機テスト条件表、600はテスト順序条件表としての実行優先順位が高いテスト表、700はテスト順序条件表としての実行優先順位が低いテスト表、800はテスト実行標準時間表、900はテスト切替操作時間表である。 FIG. 1 is a diagram showing an embodiment of a test distribution method according to the present invention. 100 is a test work table, 300 is a test case table, 400 is a test execution condition table, 500 is an actual machine test condition table, and 600 is a test order. A test table with high execution priority as a condition table, 700 is a test table with low execution priority as a test order condition table, 800 is a test execution standard time table, and 900 is a test switching operation time table.
同図において、この実施形態は、テスト対象装置のテストに対して用意されたテスト作業表100をテストケース並び替え手段、即ち、テスト分配装置1によって処理することにより、このテスト対象装置のテストを実行する複数の作業者に対し、このテスト対象装置の複数のテストケースを分配し、作業者毎のテストケースの作業表1500を作成するものである。
In this figure, in this embodiment, the test work table 100 prepared for the test of the test target device is processed by the test case rearranging means, that is, the
即ち、テスト対象装置のテストのために作成されている複数のテストケースの一覧であるテストケース表300でのテストケースを、テスト実施条件表400と、実機テスト条件表500と、実行優先順位を規定するテスト順序条件表(実行優先順位が高いテスト表600と実行優先順位が低いテスト表700とであって、これらを総称する場合、テスト順序条件表600/700という)とテスト実行標準時間表1300と、テスト切替操作時間表1400とを基に、テスト実施条件表400で規定されるテストを実行する作業者毎に分配するものである。 That is, the test cases in the test case table 300, which is a list of a plurality of test cases created for the test of the test target device, are divided into the test execution condition table 400, the actual machine test condition table 500, and the execution priority. Test order condition table (a test table 600 having a high execution priority and a test table 700 having a low execution priority, which are collectively referred to as a test order condition table 600/700) and a test execution standard time table 1300 and the test switching operation time table 1400 are distributed to each worker who executes the test specified in the test execution condition table 400.
このため、テストケース並び替え装置としての分配装置1により、テストケース表300でのテストケースを、実機テスト条件表500に基づいて、実機を利用するテストケースと非実機によるテストケースとに並び替えて実機テストケース表1000と非実機テストケース表1100とを作成し、さらに、テスト順序条件表600/700に基づいて、実機テストケース表1000と非実機テストケース表1100との夫々毎に、実行優先順位が高いテストケース表1200と、実行優先順位が低いテストケース表1300と、テスト順序条件表に該当しないテストケース表1400とにテストケースを並び替えて、これら実行優先順位が高いテストケース表1000と実行優先順位が低いテストケース表1100とテスト順序条件表に該当しないテストケース表1200夫々のテストケースを、テスト実施条件表400で規定されるテストの作業者毎に割り付ける並び替えを行なうものである。これにより、これら作業者毎に割り付けられたテストケースの出力表1500が得られる。
Therefore, the
なお、実機テストとは、テスト対象装置自体やこの装置の試作品(試作ハードウェア)を用いて行なうこのテスト対象装置のテストであって、非実機テストとは、パソコン上のこのテスト対象装置の開発環境やシミュレーションを用いて行なわれるこのテスト対象装置のテストをいうものであり、通常は非実機テストが行なわれるものであるが、これが円滑にできない場合には、実機テストが行なわれる。 The actual machine test is a test of the test target apparatus performed using the test target apparatus itself or a prototype (prototype hardware) of the apparatus, and the non-real machine test is a test of the test target apparatus on a personal computer. This is a test of the test target device performed using a development environment or a simulation. Usually, a non-real machine test is performed. If this cannot be performed smoothly, a real machine test is performed.
また、装置のテストには、いろいろのやり方(テスト方法)があるが、これら夫々のやり方をテストケースといい、通常、同じテスト対象装置のテストには、複数のテストケースが設定される。同じテスト対象装置に設定される複数のテストケースを複数の作業者が行なう場合、これら作業者に夫々のテストケースを、主として、これら作業者の負担やテストに要する時間が均等になるように、配分するものであり、このように分配された作業者毎のテストケースの出力表1500を作成するのが、本発明の主たる目的である。 In addition, there are various methods (test methods) for testing the device. Each of these methods is called a test case. Usually, a plurality of test cases are set for testing the same test target device. When multiple workers perform multiple test cases set on the same test target device, each of these workers is given a test case mainly, so that the burden on these workers and the time required for the test are equalized. The main object of the present invention is to create a test case output table 1500 for each worker distributed in this way.
図2は図1に示す実施形態を実行するための図1におけるテストケース並び替え手段としてのテスト分配装置の一具体例を示すブロック構成図であって、1はテスト分配装置、2はCPU(Central Processing Unit:中央処理ユニット)、3は主記憶装置、4は外部記憶装置、5は読取装置、6は入出力装置、7は通信装置、8は可搬型記憶媒体である。 FIG. 2 is a block diagram showing a specific example of the test distribution device as the test case rearranging means in FIG. 1 for executing the embodiment shown in FIG. Central processing unit: 3 is a main storage device, 4 is an external storage device, 5 is a reading device, 6 is an input / output device, 7 is a communication device, and 8 is a portable storage medium.
同図において、このテスト分配装置1は、CPU2と主記憶装置3と、HDD(ハードディスクドライブ)などの外部記憶装置4と、CD−ROMやDVD−ROMなどの可搬性の可搬型記憶媒体8から情報を読み取る読取装置5とディスプレイやキーボード,マウス,プリンタなどの入出力装置6と、通信ネットワークに接続するためのNIC(Network Interface Card)などの通信装置7とを備えた一般的なコンピュータからなるものである。
In this figure, the
図1におけるテスト対象装置のテストケース表300は、オペレータの入出力装置6の操作のもとに、CPU2で作成されて外部記憶装置4に記憶されている。このテストケース表300は、テスト対象装置毎に設定されている後述の値定義表200を基に、入出力装置6でのオペレータの指示入力操作に応じたCPU2の処理により、作成される。
The test case table 300 of the test target device in FIG. 1 is created by the
また、このテスト対象装置に対して作業者毎のテストケースの出力表1500を作成するために、他の装置で作成されて可搬性記憶媒体8に記憶されているテスト実施条件表400や実機テスト条件表500,テスト順序条件表600/700,テスト実行標準時間表800,テスト切替操作時間表900が読取装置5で読み取られ、主記憶装置3に格納・保存される。
In addition, in order to create the test case output table 1500 for each worker for this test target device, the test execution condition table 400 created by another device and stored in the
しかる後、オペレータの入出力装置6の操作のもとに、CPU2が外部記憶装置4からテストケース表300を読み取り、主記憶装置3に格納されている上記のテスト実施条件表400や実機テスト条件表500,テスト順序条件表600/700,テスト実行標準時間表800,テスト切替操作時間表900を用いてテストケース表300でのテストケースの並び替え処理を行ない、さらに、各作業者へのテストケースの分配処理を行なって、作業者毎のテストケースの出力表1500を作成する。作成されたテストケースの出力表1500は、入出力装置6のディスプレイで表示され、あるいはプリンタでプリントされる。
Thereafter, under the operation of the input /
次に、この実施形態を詳細に説明する。 Next, this embodiment will be described in detail.
図3は図1でのテストケース表300を作成するための上記の値定義表の一具体例を示す構成図であって、200は値定義表、201は因子欄、202は値欄である。 FIG. 3 is a block diagram showing a specific example of the above value definition table for creating the test case table 300 in FIG. 1, wherein 200 is a value definition table, 201 is a factor column, and 202 is a value column. .
同図において、値定義表200は、テストケースに用いられる因子の値を規定するものであり、因子欄201でテスト対象装置のテストケースを形成する因子が規定され、値欄202に因子毎の取り得る値が規定されている。
In the figure, a value definition table 200 defines the values of factors used in the test case. The
ここで、「因子」はテストケースのパラメータであって、テストするときのプログラムの動作条件を与えるための情報である。例えば、テスト対象装置として、プリンタを例に採ると、因子としては、出力用紙サイズ、用紙方向、出力の色、印刷方法、1ページのレイアウトなどが挙げられる。 Here, the “factor” is a parameter of the test case, and is information for giving an operating condition of the program when testing. For example, if a printer is taken as an example of the test target device, factors include output paper size, paper orientation, output color, printing method, page layout, and the like.
また、「値」は、因子が採り得る値であって、テスト対象装置として、プリンタを例に採ると、
因子「出力用紙サイズ」の値は、用紙のサイズA4,A5,B4,B5,A3
因子「用紙方向」の値は、プリント方向である縦,横
因子「出力の色」の値は、白黒,カラー,グレースケール
因子「印刷方法」の値は、片面印刷,両面印刷
因子「1ページのレイアウト」の値は、1ページ分,2ページ分,
4ページ分,8ページ分
ということになる。
Also, the “value” is a value that can be taken by a factor, and when a printer is taken as an example of a test target device,
The value of the factor “output paper size” is the paper size A4, A5, B4, B5, A3.
The value of the factor “paper direction” is the vertical direction, which is the print direction, the value of the factor “output color” is black and white, color, gray scale The value of the factor “printing method” is single-sided printing, double-sided printing factor “1 page The value of “Layout” is 1 page, 2 pages,
That means 4 pages and 8 pages.
因子欄201には、因子を特定する情報(変数名)が、テストに必要な「因子A」,「因子B」,「因子C」,……として設定されており、値欄202には、これら「因子A」,「因子B」,「因子C」,……毎に、その値が設定されている。例えば、「因子A」の場合、その値はa1,a2,a3,……であり、「因子B」の場合、その値はb1,b2,b3,……である。なお、因子に設定される値の個数は、その因子に応じたものであって、様々である。
In the
かかる値定義表200は、テスト分配装置1(図2)の外部記憶装置4に保存されており、入出力装置6でのオペレータの指示操作に伴い、ディスプレイでその画面表示が行なわれながら、CPU2の処理により、直交表あるいは、All-pair法といったテストケース生成手法に基づいて、テストケース表300(図1)が作成される。作成されたテストケース表300は、テスト分配装置1での主記憶装置3に保存される。
The value definition table 200 is stored in the
図4は図1におけるテストケース表300の一具体例を示す図であって、301はテストケース欄、302a,302b,302c,……は因子欄、303a〜303iはテストケースである。 4 is a diagram showing a specific example of the test case table 300 in FIG. 1, in which 301 is a test case column, 302a, 302b, 302c,... Are factor columns, and 303a to 303i are test cases.
同図において、テストケース表300は、値定義表200(図3)をもとに作成されてテストケース303a〜303iの一覧を示すものであって、これらテストケース303a〜303iは、ここでは、先の特許文献1に開示されるAll-pair法が用いられており、これにより、値定義表200の2因子が網羅するように、作成されたものである。
In the figure, a test case table 300 is created based on the value definition table 200 (FIG. 3) and shows a list of
テストケース303a〜303iは、夫々テストケース番号欄301と因子欄302a,302b,302c,……が設定されており。夫々に割り当てられたテストケース番号がテストケース番号欄301に設定され、因子欄302a,302b,302c,……には、テストケースを構成する因子の値が設定されている。例えば、因子欄302aには、値定義表200の因子Aの選択された値が、因子欄302bには、値定義表200の因子Bの選択された値が、因子欄302cには、値定義表200の因子Cの選択された値が、因子欄302dには、値定義表200の因子Dの選択された値が夫々設定される。以下、同様である。
ここで、値定義表200から、上記特許文献1でのAll-pair法といったテストケース生成手法に基づいて、テストケースを作成する場合、値定義表200での2因子が網羅するように作成されることになるが、この場合、この2因子を因子A,Bとして、図3に示す値定義表200では、図示するように、因子Aの値がa1,a2,a3の3通りとし、因子Bの値がb1,b2,b3の3通りとすると、これら値a1,a2,a3と値b1,b2,b3との全ての組み合わせを求めることによってこれら2因子A,Bが網羅されることになるから、作成されるテストケースは、テストケース番号1からテストケース番号9までの9個のテストケース303a〜303iが作成されることになる。
Here, when creating a test case from the value definition table 200 based on the test case generation method such as the All-pair method in
図示する例によると、テストケース番号1のテストケース303aは、因子Aとして値a1,因子Bとして値b1が設定され、これに因子Cとして値c3が、因子Dとして値d2が夫々設定されている。即ち、このテストケース303aは、値a1の因子Aと値b1の因子Bと値c3の因子Cと値d2の因子Dとからなるものである。他のテストケース303b〜303iについても、同様である。
According to the example shown in the figure, the
図5は図1におけるテスト実施条件表400の一具体例を示す図であって、401は実機台数欄、402は非実機台数欄、403は作業者人数欄である。 FIG. 5 is a diagram showing a specific example of the test execution condition table 400 in FIG. 1, wherein 401 is a real machine number column, 402 is a non-real machine number column, and 403 is an operator number column.
同図において、テスト実施条件表400は、これからテスト使用とするテスト対象装置に対して行なわれるテストに関し、使用する実機台数や非実機台数、テスト作業する作業者人数を規定した表であり、実機台数欄401と非実機台数欄402と作業者人数欄403とを備える。
In this figure, a test execution condition table 400 is a table that defines the number of actual machines to be used, the number of non-real machines, and the number of workers performing the test, with respect to tests to be performed on the test target apparatus to be used for testing. A
例えば、ここでは、実機台数欄401には、実機や試作ハードウェアを利用する実機テストに用いられる実機台数が、例えば、「1台」として格納される。非実機台数欄402には、パソコン上の開発環境やシミュレータで行なわれる非実機テストに用いられる非実機台数が、例えば、「3台」として格納される。作業者人数欄403には、テストを実施する作業者数が、例えば、「3人」として格納される。
For example, here, the actual
図6は図1における実機テスト条件表500の一具体例を示す図であって、501は実機情報欄、502は因子欄、503は値欄である。 FIG. 6 is a diagram showing a specific example of the actual machine test condition table 500 in FIG. 1, in which 501 is an actual machine information column, 502 is a factor column, and 503 is a value column.
同図において、実機テスト条件表500は、値定義表200(図3)の因子欄201で定義されている因子の中で、実機テストを必要とする因子を表わす表であり、使用される実機毎に作成され、実機情報欄501と、因子欄502と、値欄503とを備える。
In the figure, an actual machine test condition table 500 is a table showing factors that require an actual machine test among the factors defined in the
実機情報欄501には、実機テストに使用する実機の情報(例えば、実機の名称やIDなど)が格納されており、因子欄502には、値定義表200で定義された因子の中で、この実機テストを必要とする因子の名称が格納され、値欄503には、因子欄502に格納された因子でのこの実機テストに必要な値が格納される。
The actual
この値欄503に格納されている値を持つテストケース表300のテストケース303は、実機にてテストされることになる。
The test case 303 in the test case table 300 having the value stored in the
ここでは、一例として、因子Cの値cl,c2が格納されているものとしており、この場合には、かかる因子Cの値cl,c2について、実機テストが必要であることになる。 Here, as an example, values C1 and C2 of the factor C are stored. In this case, an actual machine test is required for the values C1 and c2 of the factor C.
図7は図1におけるテスト順序条件表としての実行優先順位が高いテスト表600の一具体例を示す図であって、601は因子欄、602は値欄である。 FIG. 7 is a diagram showing a specific example of the test table 600 having a high execution priority as the test order condition table in FIG. 1, in which 601 is a factor column and 602 is a value column.
同図において、実行優先順位が高いテスト表600は、値定義表200(図3)に格納されている因子の中で、テストの実行優先順位が高い因子の値を表わす表であり、因子欄601と値欄602とを備える。
In the figure, a test table 600 having a high execution priority is a table showing values of factors having a high execution priority of tests among the factors stored in the value definition table 200 (FIG. 3). 601 and a
因子欄601には、値定義表200で定義された因子の中で、テストの実行優先順位が高い値の因子が格納され、値欄602には、因子欄601に格納された各因子でのテストの実行優先順位が高い値が格納される。テストケース表300でのテストケース303のうち、実行優先順位が高いテスト表600の値欄602に値が格納されている因子の値を持つテストケース303は、テストの実行優先順位が高いテストケースということになる。
The
ここでは、一例として、因子Aの値alが格納されており、かかる値a1の因子Aを持つテストケース303がテストの実行優先順位が高いテストケースということになる。 Here, as an example, the value al of the factor A is stored, and the test case 303 having the factor A having the value a1 is a test case having a high test execution priority.
なお、実行優先順位が高いテストケースとは、テスト結果を早く知りたいテストケースや、テストを実行する上で先に行なっておく必要のあるテストケースなどが挙げられる。 Note that test cases with a high execution priority include test cases for which the test results are desired to be obtained quickly, and test cases that need to be performed first before executing the tests.
図8は図1におけるテスト順序条件表としての実行優先順位が低いテスト表700の一具体例を示す図であって、701は因子欄、702は値欄である。 FIG. 8 is a diagram showing a specific example of the test table 700 having a low execution priority as the test order condition table in FIG. 1, wherein 701 is a factor column and 702 is a value column.
同図において、実行優先順位が低いテスト表700は、値定義表200(図3)に格納されている因子の中で、テストの実行優先順位が低い因子の値を表わす表であり、因子欄701と値欄702とを備える。
In the figure, a test table 700 having a low execution priority is a table that represents the values of factors having a low test execution priority among the factors stored in the value definition table 200 (FIG. 3). 701 and a
因子欄701には、値定義表200で定義された因子の中で、テストの実行優先順位が低い値の因子が格納され、値欄702には、因子欄701に格納された各因子でのテストの実行優先順位の低い値が格納される。テストケース表300でのテストケース303のうち、実行優先順位の低いテスト表700の値欄702に値が格納されている因子の値を持つテストケース303は、テストの実行優先順位が低いテストケースということになる。
In the
ここでは、一例として、因子Bの値b2が格納されており、かかる値b2の因子Bを持つテストケース303がテストの実行優先順位が低いテストケースということになる。 Here, as an example, the value b2 of the factor B is stored, and the test case 303 having the factor B of the value b2 is a test case having a low test execution priority.
なお、テストの実行優先順位が低いテストケースとは、テスト実施の必要性が低いテストや、結果を早く知る必要がないテストケース、あまり重要でない、あるいはほとんど利用されない機能のテストケースなどが挙げられる。 Test cases with low test execution priority include tests with low necessity for test execution, test cases that do not need to know the results quickly, and test cases with functions that are not very important or rarely used. .
以上のように、実行優先順位が高いテスト表600に格納されている値の因子を持つテストケース303をテストの実行優先順位が高いテストケースとし、実行優先順位が低いテスト表700に格納されている値の因子を持つテストケース303をテストの実行優先順位が低いテストケースとするものであって、これら実行優先順位が高いテスト表600に格納されている値の因子と実行優先順位が低いテスト表700に格納されている値の因子とのいずれも持たないテストケース303は、テスト順序条件表に該当しない(テストの実行優先順位が中程度の)テストケースとする。 As described above, the test case 303 having the value factor stored in the test table 600 having a high execution priority is set as a test case having a high test execution priority, and is stored in the test table 700 having a low execution priority. A test case 303 having a factor with a certain value is a test case with a low execution priority of the test, and a test with a value factor stored in the test table 600 having a high execution priority and a low execution priority. A test case 303 that does not have any of the value factors stored in the table 700 is a test case that does not correspond to the test order condition table (medium execution priority of the test).
図9は図1におけるテスト実行標準時間表800の一具体例を示す図であって、801は実機テスト標準時間欄、802は非実機テスト標準時間欄である。 FIG. 9 is a diagram showing a specific example of the test execution standard time table 800 in FIG. 1, in which 801 is a real machine test standard time column and 802 is a non-real machine test standard time column.
同図において、テスト実行標準時間表800は、実機テスト及び非実機テストの標準的なテスト実行時間を示す表であり、実機テスト標準時間欄801と、非実機テスト標準時間欄802とを備える。ここで、テスト実行標準時間とは、実機テストあるいは非実機テストのテスト実行時間の平均実行時間のことである。
In the figure, a test execution standard time table 800 is a table showing standard test execution times for real machine tests and non-real machine tests, and includes a real machine test
実機テスト標準時間欄801には、実機テストを実行する際の標準時間が格納され、非実機テスト標準時間欄802には、非実機テストを実行する際の標準時間が格納される。ここで、一例として、実機テスト標準時間欄801に「30秒」が設定され、非実機テスト標準時間欄802に「10秒」が設定されているものとしている。
The real machine test
図10は図1におけるテスト切替操作時間表900の一具体例を示す図であって、901は因子欄、902は値欄、903は因子欄、904は値欄、905はテスト切替操作時間欄である。 FIG. 10 is a diagram showing a specific example of the test switching operation time table 900 in FIG. 1, in which 901 is a factor column, 902 is a value column, 903 is a factor column, 904 is a value column, and 905 is a test switching operation time column. It is.
テスト対象装置のテストを行なう場合、これに設定されている複数のテストケースが作業者の操作によって順次テストされていくが、テストが終了したテストケース(以下、先行テストケースという)から次のテストケース(以下、後続テストケースという)のテストに移るテスト切り替えのときに、先行テストケースと後続テストケースとが同じ因子を有する場合、これら因子の値が同じであれば、作業者が実行する操作には変わりはないが、因子の値に違いがあると、作業者はそのための操作が必要であり、因子に関し、テスト切り替えに操作時間が発生する。例えば、先行テストケースが値a1(例えば、先のプリンタを例にして、出力用紙サイズA4)の因子Aを有し、これについでテストが行なわれる後続のテストケースでも、因子Aの値が同じa1(出力用紙サイズA4)とすると、この場合には、後続テストケースに対し、因子Aについては、先行テストケースと同じ状態にしておくことができ、作業者のこれに対する変更作業は必要ない。これに対し、例えば、先行テストケースが有する因子Aの値がa1(出力用紙サイズA4)で、後続テストケースの因子Aの値がa2(例えば、出力用紙サイズA5)と異なる場合には、後続テストケースのテストを行なうために、この因子Aに関して値a1からa2に切り替える(出力用紙サイズA5をテストできる)ための作業者の操作が必要となる。この切り替えのために必要な作業者の操作時間がテスト切替操作時間である。 When testing a test target device, a plurality of test cases set in this are sequentially tested by the operator's operation, but the test is completed from the test case (hereinafter referred to as the preceding test case) to the next test. When a test is switched to a test of a case (hereinafter referred to as a subsequent test case), if the preceding test case and the subsequent test case have the same factor, the operation performed by the operator if the values of these factors are the same Although there is no change, if there is a difference in the value of the factor, the operator needs to perform an operation for that, and operation time is required for switching the test for the factor. For example, the preceding test case has a factor A having a value a1 (for example, the output paper size A4 by taking the previous printer as an example), and the subsequent test case in which the test is performed subsequently has the same factor A value. Assuming that a1 (output paper size A4), in this case, the factor A can be kept in the same state as the preceding test case with respect to the subsequent test case, and the operator does not need to change the factor A. On the other hand, for example, when the value of the factor A of the preceding test case is a1 (output paper size A4) and the value of the factor A of the subsequent test case is different from a2 (for example, output paper size A5), the subsequent In order to perform the test of the test case, an operator's operation is required to switch the value A1 from the value a1 to a2 (the output paper size A5 can be tested). The operator's operation time required for this switching is the test switching operation time.
図10において、テスト切替操作時間表900は、同じ因子でのテスト切り替えに要する作業者の操作時間であるテスト切替操作時間の一覧を示した表であり、因子毎に作成されているものであって、テスト切替操作前のテストケースの因子欄901と、因子欄901の因子の値欄902と、テスト切替操作後のテストケースの因子欄903と、因子欄903の因子の値欄904と、テスト切替操作時間欄905とを備える。作業者が次のテストケースをテストするテスト切り替えの際に、テスト操作に変更がある(即ち、同じ因子での値に変更がある)場合、このテスト切り替えに必要な設定時間をこのテスト切替操作時間表900から取得する。
In FIG. 10, a test switching operation time table 900 is a table showing a list of test switching operation times, which are operator operation times required for test switching with the same factors, and is created for each factor. The
ここでは、一例として、「因子A」について示しており、因子欄901には、テスト切替操作前のテストケースの因子として、「因子A」が設定され、それらの値が値欄902に設定されている。また、因子欄903には、テスト切替操作後のテストケースの因子として、同じく「因子A」が設定され、それらの値が値欄904に設定されている。但し、これらの因子や値は、図3に示す値定義表200に基づくものである。
Here, “factor A” is shown as an example, and “factor A” is set in the
テスト切替操作時間欄905には、テスト切替操作前のテストケースの因子Aの値欄902に設定されている値a1,a2,a3,……,an毎のテスト切替操作後のテストケースの因子Aの値欄904に設定されている夫々の値a1,a2,a3,……anへのテスト切替操作に要する時間が格納される。
In the test switching
例えば、テスト切替操作前のテストケースの因子Aの値a1からテスト切替操作後のテストケースの因子Aの欄a2へのテスト切替操作に要する時間は10秒であり、同じく欄a3へのテスト切替操作に要する時間は5秒である。また、テスト切替操作前のテストケースの因子Aの値a2からテスト切替操作後のテストケースの因子Aの欄a1へのテスト切替操作に要する時間は5秒であり、同じく欄a3へのテスト切替操作に要する時間は7秒である。 For example, the time required for the test switching operation from the value a1 of the factor A of the test case before the test switching operation to the column a2 of the factor A of the test case after the test switching operation is 10 seconds, and the test switching to the column a3 is also performed. The time required for the operation is 5 seconds. The time required for the test switching operation from the value a2 of the test case factor A before the test switching operation to the column a1 of the test case factor A after the test switching operation is 5 seconds, and the test switching to the column a3 is also performed. The time required for the operation is 7 seconds.
なお、テスト切替操作前のテストケースからテスト切替操作後のテストケースへのテスト切り替えで、同じ因子の同じ値のテスト切替が行なわれる場合には、そのときのテスト切替操作に要する時間は0秒である。例えば、テスト切替操作前のテストケースの因子Aの値a3からテスト切替操作後のテストケースの因子Aの欄a3へのテスト切替操作に要する時間は0秒である。 If test switching of the same value of the same factor is performed in test switching from the test case before the test switching operation to the test case after the test switching operation, the time required for the test switching operation at that time is 0 second. It is. For example, the time required for the test switching operation from the value a3 of the test case A before the test switching operation to the factor a column a3 of the test case after the test switching operation is 0 second.
図1に示すテストケース並び替え手段としてのテスト分配装置1において、以上のテスト実施条件表400,実機テスト条件表500,実行優先順位が高いテスト表600,実行優先順位が低いテスト表700,テスト実行標準時間表800及びテスト切替操作時間表900が、読取装置5により、可搬型記憶媒体8から読み取られて主記憶装置3に格納され、CPU2により、これらをもとに外部記憶装置4に格納されているテストケース表300のテストケース303の並び替え処理が行なわれる。
In the
図11はこの実施形態のテストケースの並び替え処理の全体の流れを示すフローチャートである。 FIG. 11 is a flowchart showing the overall flow of the test case rearrangement process of this embodiment.
同図において、実機テスト条件表500(図6)をもとに、テストケース表300(図4)でのテストケースを実機テストと非実機テストとのテストケースに分ける。この場合、実機テスト条件表500に格納されている因子の値を持つテストケース303が実機テストのテストケース(以下、実機テストケースという)として分類され、それ以外のテストケース303は非実機テストのテストケース(以下、非実機テストケースという)に分類される(ステップS100)。 In the figure, based on the real machine test condition table 500 (FIG. 6), the test cases in the test case table 300 (FIG. 4) are divided into test cases of real machine tests and non-real machine tests. In this case, the test cases 303 having the values of the factors stored in the actual machine test condition table 500 are classified as actual machine test cases (hereinafter referred to as actual machine test cases), and the other test cases 303 are non-real machine test cases. A test case (hereinafter referred to as a non-real machine test case) is classified (step S100).
次いで、テスト順序条件表600/700(図1)、即ち、実行優先順位の高いテスト表600(図7)と実行優先順位が低いテスト表700(図8)をもとに、分類された実機テストケース,非実機テストケース毎に「テストの実行優先順位が高いテストケース」と「テストの実行優先順位が低いテストケース」と「テスト順序条件表に該当しなかつたテストケース(テストの実行優先順位が中程度のテストケース)」の3つのテスト順序条件に該当するテストケースに分類する(ステップS101)。 Next, the actual machines classified based on the test order condition table 600/700 (FIG. 1), that is, the test table 600 having a high execution priority (FIG. 7) and the test table 700 having a low execution priority (FIG. 8). “Test cases with high test execution priority”, “Test cases with low test execution priority”, and “Test cases that do not meet the test order condition table” The test cases are classified into the test cases corresponding to the three test order conditions (step S101).
そして、実機テストケース及び非実機テストケースの条件毎に、テストケース実行標準時間表800(図9)をもとに、テスト実行時間を計算し(ステップS102)、以下のようにして、夫々のテストケースをテスト実施条件表400(図5)で規定される人数の全作業者に分配する。 Then, for each condition of the real machine test case and the non-real machine test case, the test execution time is calculated based on the test case execution standard time table 800 (FIG. 9) (step S102). The test cases are distributed to all workers defined in the test execution condition table 400 (FIG. 5).
即ち、実行優先順位が高い実機テストケースと非実機テストケースとを全作業者に分配し(ステップS103)、テスト順序条件に該当しない実機テストケースと非実機テストケースとを全作業者に分配し(ステップS104)、実行優先順位が低い実機テストケースと非実機テストケースとを全作業者に分配する(ステップS105)。 That is, the real machine test case and the non-real machine test case having a high execution priority are distributed to all workers (step S103), and the real machine test case and the non-real machine test case that do not satisfy the test order condition are distributed to all workers. (Step S104) The real machine test cases and the non-real machine test cases having low execution priorities are distributed to all workers (Step S105).
これにより、作業者毎のテストケースの出力表1500が作成され、入出力装置6のディスプレイに表示する(ステップS106)。 Thereby, an output table 1500 of the test cases for each worker is created and displayed on the display of the input / output device 6 (step S106).
次に、図11での夫々のステップの具体例とこれによって得られる表の具体例について説明する。 Next, a specific example of each step in FIG. 11 and a specific example of a table obtained thereby will be described.
図12は図11におけるステップS100の一具体例を示すフローチャートである。 FIG. 12 is a flowchart showing a specific example of step S100 in FIG.
同図において、テストケース表300(図4)から未処理のテストケース303を1つ、例えば、テストケース番号「1」のテストケース303aを取得する(ステップS200)。この取得したテストケース303を、以下、取得テストケースという。
In the figure, one unprocessed test case 303, for example, the
次に、図6の実機テスト条件表500(図6)に設定されている1つの因子について、その1つの値、例えば、因子Cの値c1を取得し(ステップS201)、この取得した因子Cの値c1が取得テストケース303(ここでは、テストケース303a)でのいずれかの因子の値と一致するか否かを判定する(ステップS202)。一致する因子の値があれば(ステップS202の“YES”)、この取得テストケース303を、実機テストケースとして、後述する実機テストケース表1000に格納する(ステップS203)。しかる後、全ての未処理のテストケースについてかかる処理がなされていないときには(ステップS206の“NO”)、ステップS200に戻り、テストケース表300(図4)から次のテストケース303を取得して、このテストケース303について、上記の処理を繰り返す。
Next, for one factor set in the actual machine test condition table 500 (FIG. 6) in FIG. 6, one value, for example, the value c1 of the factor C is acquired (step S201), and the acquired factor C is acquired. It is determined whether or not the value c1 matches the value of any factor in the acquired test case 303 (here, the
取得テストケース303にステップS201で取得した因子の値に一致する因子の値がない場合には(ステップS202の“NO”)、ステップ204の判定処理を行なって、実機テスト条件表500の値欄503に格納されている次の値を1つ取得し(ステップS201)、この因子の値と一致する因子の値が取得テストケースに存在するか否かを判定する(ステップS203)。かかるステップS201→S202→S204→S201の処理が繰り返され、その間にステップS201で取得した因子の値が取得テストケースにあることが判明すれば(ステップS202の“YES”)、この取得テストケース303は、実機テストケースとして、上記の実機テストケース表1000に格納される(ステップS203)。
If the acquired test case 303 does not have a factor value that matches the factor value acquired in step S201 (“NO” in step S202), the determination process in
ここで、ステップS204は、取得テストケースに対し、実機テスト条件表500に格納されている全ての因子の値に関して、ステップS202の判定処理が行なわれたか否かの判定処理であって、実機テスト条件表500にかかるステップS202の判定処理がなされていない因子の値が残っている場合には(ステップS204の“NO”)、ステップS201に進んで実機テスト条件表500の次の因子の値についてステップS202の判定を行なうが、実機テスト条件表500に格納されている全ての因子の値に関して、ステップS202の判定処理が行なわれ、かつその最後の因子の値についても、これに一致する因子の値が取得テストケース303にない場合には、この取得テストケース303を、非実機テストケースとして、後述する非実機テストケース表1100に格納する(ステップS205)。しかる後、全ての未処理のテストケースについてかかる処理がなされていないときには(ステップS206の“NO”)、ステップS200に戻り、テストケース表300(図4)から次のテストケース303を取得して、このテストケース303について、上記の処理を繰り返す。 Here, step S204 is a determination process for determining whether or not the determination process of step S202 has been performed for all factor values stored in the actual machine test condition table 500 for the acquired test case. When the value of the factor that has not been subjected to the determination process in step S202 related to the condition table 500 remains ("NO" in step S204), the process proceeds to step S201 and the value of the next factor in the actual machine test condition table 500 is determined. The determination in step S202 is performed, but the determination process in step S202 is performed for all factor values stored in the actual machine test condition table 500, and the last factor value also matches the factor that matches this. If there is no value in the acquisition test case 303, this acquisition test case 303 is set as a non-real machine test case. Stored in the non-real machine test case table 1100 (step S205). Thereafter, when such processing has not been performed for all unprocessed test cases (“NO” in step S206), the process returns to step S200, and the next test case 303 is obtained from the test case table 300 (FIG. 4). The above process is repeated for this test case 303.
このようにして、1つの取得テストケース303について以上の実機,非実機テストケースへの分類が終了すると、テストケース表300(図4)に未処理のテストケース303が残っている場合には(ステップS206の“No”)、ステップS200に戻って、テストケース表300から次の未処理のテストケース303を取得し、これを取得テストケースとして上記処理を行なう。そして、テストケース表300での全ての未処理のテストケース303について、以上の処理が行なわれると、これら全てのテストケース303が夫々実機テストケース表1000,非実施テストケース表1100のいずれか一方に分類されたことになり(ステップS206の“YES”)、かかる分類処理が終了する。 In this manner, when the classification of one acquired test case 303 into the above-described real machine and non-real machine test cases is completed, when an unprocessed test case 303 remains in the test case table 300 (FIG. 4) ( Returning to step S200, the next unprocessed test case 303 is acquired from the test case table 300, and the above processing is performed using this as the acquired test case. When the above processing is performed for all unprocessed test cases 303 in the test case table 300, all these test cases 303 are either the actual machine test case table 1000 or the non-executed test case table 1100, respectively. ("YES" in step S206), the classification process ends.
図13は図12に示す処理で得られた実機テストケース表1000の一具体例を示す図であって、1001a〜1001fは実機テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 13 is a diagram showing a specific example of the actual machine test case table 1000 obtained by the processing shown in FIG. 12, wherein 1001a to 1001f are actual machine test cases, and parts corresponding to those in FIG. Therefore, duplicate explanations are omitted.
同図において、実機テストケース表1000には、図12による処理により、テストケース表300(図4)での非処理のテストケースのうち、実機テストを実施すると判定された実機テストケース1001a〜1001fが格納されている。これら実機テストケース1001a〜1001fも、テストケース表300(図4)でのテストケースの構成のままのものであり、テストケース番号欄301と因子欄302a,302b,302c,302d,……からなるものである。
Referring to FIG. 12, the actual machine test case table 1000 includes actual
ここでは、一例として、テストケース番号「2」,「3」,「4」,「6」,「7」,「8」のテストケース303b,303c,303d,303f,303g,303hが、図12に示す処理により、実機テストケース1001a,1001b,1001c,1001d,1001e,1001fと判定されて実機テストケース表示1000に格納されているものである。
Here, as an example,
図14は図12に示す処理で得られた非実機テストケース表1100の一具体例を示す図であって、1101a〜1101cは非実機テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 14 is a diagram showing a specific example of the non-real machine test case table 1100 obtained by the processing shown in FIG. 12, in which 1101a to 1101c are non-real machine test cases, and parts corresponding to those in FIG. A duplicate description is omitted.
同図において、非実機テストケース表1100には、図12による処理により、テストケース表300(図4)での非処理のテストケースのうち、実機テストを実施しないと判定された非実機テストケース1101a〜1101cが格納されている。これら非実機テストケース1101a〜1101cも、テストケース表300(図4)でのテストケースの構成のままのものであり、テストケース番号欄301と因子欄302a,302b,302c,302d,……からなるものである。
In the figure, the non-real machine test case table 1100 includes a non-real machine test case that is determined not to perform the real machine test among the non-process test cases in the test case table 300 (FIG. 4) by the process of FIG. 1101a to 1101c are stored. These non-real
ここでは、一例として、テストケース番号「1」,「5」,「9」のテストケース303a,303e,303iが、図12に示す処理により、非実機テストケース1101a,1101b,1101cと判定されて非実機テストケース表示1101に格納されているものである。
Here, as an example, the
図15は図11における実機テストケースに関するステップS101の一具体例を示すフローチャートである。この具体例は、テストの実行優先順位が高いテスト表600(図7)及びテストの実行優先順位が低いテスト表700(図8)をもとに、実機テストケース表1000(図13)に格納されている実機テストケースをテストの実行優先順位が高いテストケースとテストの実行優先順位が低いテストケースとこれらのいずれにも該当しない(即ち、テスト順序条件表600/700に該当しない)テストケースとに分類するものである。 FIG. 15 is a flowchart showing a specific example of step S101 regarding the actual machine test case in FIG. This specific example is stored in the actual test case table 1000 (FIG. 13) based on the test table 600 (FIG. 7) having a high test execution priority and the test table 700 (FIG. 8) having a low test execution priority. The actual test case that has been executed is a test case with a high test execution priority, a test case with a low test execution priority, and a test case that does not fall into any of these (ie, does not fall under the test order condition table 600/700) It is classified into and.
同図において、実機テストケース表1000(図13)から実機テストケース1001(実機テストケース1001a〜1001fの総称)の1つを取得する(ステップS300)。ここでは、一例として、実機テストケース表1000(図13)のテストケース番号「2」のテストケース1001aを取得したものとする。
In the figure, one of the actual machine test cases 1001 (generic name of the actual
次に、実行優先順位が高いテスト表600(図1)の因子欄601の1つの因子の値欄602から値を1つ取得し(ステップS301)、ステップS300で取得したテストケース1001aでの因子の値の中に、ステップS301で取得した因子の値と一致する値があるか否かを確認し(ステップS302)、一致する値がある場合には(ステップS302の“YES”)、この実機テストケース1001aをテストの実行優先順位が高い実機テストケースとして、後述する実行優先順位が高い実機テストケース表1200に格納する(ステップS303)。しかる後、ステップS300に戻り、実機テストケース表1000(図13)から次の実機テストケース1001を取得して、この実機テストケース1001について、上記の処理を繰り返す。
Next, one value is acquired from one
この実機テストケース1101aにステップS301で取得した因子の値と一致する値がない場合には(ステップS302の“NO”)、実行優先順位が高い実機テスト表600に未取得の因子の値がある場合(ステップS304の“NO”)、ステップS301に戻り、実行優先順位が高いテスト表600から同じ因子の次の値(これがなければ、次の因子の値)を取得し、ステップS302の処理を行なう。
When the actual
実行優先順位が高いテスト表600の全ての因子での全ての値に対し、実機テストケース1101aにこれらのいずれとも一致する因子の値がない場合には(ステップS302の“NO”及びステップS304の“NO”)、実行優先順位が低いテスト表700(図8)に格納されている因子の値の1つを取得し(ステップS305)、この因子の値に一致する因子の値が実機テストケース1101aに存在するか否かを確認する(ステップS306)。この実機テストケース1101aにこれに一致した因子の値がある場合には(ステップS306の“YES”)、この実機テストケース1101aは、テストの実行優先順位が低い実機テストケースとして、後述する実行優先順位が低いテストケース表1300に格納する(ステップS307)。
For all values of all factors in the test table 600 having a high execution priority, when there is no factor value that matches any of these in the actual
また、実機テストケース1101aに実行優先順位が低いテスト表700から取得した上記の因子の値に一致する因子の値がない場合には(ステップS306の“NO”)、実行優先順位が低いテストケース表1300に取得されない他の因子の値がある場合(ステップS308の“NO”)、ステップS305に戻って実行優先順位が低いテスト表700から同じ因子の次の値または次の因子の値を取得し、ステップS306の判定処理を行なう。この取得した因子の値に一致する因子の値があれば(ステップS306の“YES”)、この実機テストケース1101aは、テストの実行優先順位が低い実機テストケースとして、後述する実行優先順位が低いテストケース表1300に格納されるが(ステップS307)、一致するものがなければ、ステップS305→S306→S308→S305の一連の処理が繰り返され、実機テストケース1101aのいずれの因子の値が実行優先順位が低いテスト表700のいずれの因子の値にも一致しない場合には(ステップS308の“YES”)、この実機テストケース1101aは、テスト順序条件表600/700に該当しないテストケースとして、後述するテスト順序条件表に該当しない(即ち、実行優先順位が中程度の)の実機テストケースとして、テスト順序条件表に該当しない実機テストケース表1400に格納する(ステップS309)。
If the actual
実機テストケース1101aが実行優先順位が高い実機テストケース表1200,実行優先順位が低いテストケース表1300,テスト順序条件表に該当しない実機テストケース表1400のいずれかに格納されると、実機テストケース表1000にさらに実機テストケース1001がある場合(ステップS310の“NO”)、ステップ300に戻って、実機テストケース表1000の次の実機テストケース1001について同じ処理が行なわれる。
When the real
このようにして、実機テストケース表1000の全ての実機テストケース1001についてかかる処理が行なわれると(ステップS310の“YES”)、実行優先順位が高い実機テストケース表1200,実行優先順位が低いテストケース表1300,テスト順序条件表に該当しない実機テストケース表1400のいずれかに分配されて格納され、実機テストケースについてのかかる分配処理が終了する。 When such processing is performed for all the actual machine test cases 1001 in the actual machine test case table 1000 (“YES” in step S310), the actual machine test case table 1200 having a higher execution priority, the test having a lower execution priority. The distribution is stored in either the case table 1300 or the actual machine test case table 1400 that does not correspond to the test order condition table, and the distribution process for the actual machine test case ends.
図16は図15でのステップS303で作成された実行優先順位が高い実機テストケース表1200の一具体例を示す図であって、1201は「テスト実行時間」欄、1202a,1202bはテストの実行優先順位が高い実機テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 16 is a diagram showing a specific example of the real machine test case table 1200 created in step S303 in FIG. 15 and having a high execution priority, where 1201 is a “test execution time” column, and 1202a and 1202b are test executions. This is a real machine test case having a high priority, and the same reference numerals are given to portions corresponding to those in FIG.
同図において、実行優先順位が高い実機テストケース表1200には、図13に示す実機テストケース表1000中の実機テストケース1001のうち、そのいずれかの因子の値が図7に示す実行優先順位が高いテスト表600の因子の値に一致した実機テストケース1001が、実行優先順位が高い実機テストケース1202(実行優先順位が高い実機テストケース1202a,1202bの総称)として、格納される。ここでは、一例として、テストケース番号「2」,「3」の実機テストケース1001a,1001b(図13)が、実行優先順位が高い実機テストケースとして判定されたものである(図15のステップS303)。
In FIG. 7, an actual machine test case table 1200 having a high execution priority has a value of one of the factors in the actual machine test case 1001 in the actual machine test case table 1000 shown in FIG. 13. Is stored as a real machine test case 1202 having a high execution priority (generic name of real
かかる実行優先順位が高い実機テストケース1202も、図4に示すテストケース303と同じ構成をなしているが、さらに、この実行優先順位が高い実機テストケース1202のテストの実行に要する時間(テスト実行時間)が格納される「テスト実行時間」欄1201が付加される。このテスト実行時間は、図9に示すテスト実行標準時間表800で実機に対して設定されているテストの開始からテストの終了までの時間(一例として、「30秒」が設定されている)と、図10で示すテスト切替操作時間表900で設定されているテスト済みの因子の値から次にテストする同じ因子の値へのテスト切替操作に要する時間とを加算したものである。
The real machine test case 1202 having a high execution priority has the same configuration as the test case 303 shown in FIG. 4, but the time required for executing the test of the real machine test case 1202 having a high execution priority (test execution) A “test execution time”
例えば、完行優先順位が高い実機テストケース表1000(図13)でのテストケース番号「2」の実機テストケース1001aからテストケース番号「3」の実機テストケース1001bへテストが切り替わる際に、因子Aが値alから値a1へ、因子Bが値b2から値b3へ、因子Cが値c2から値clへ、因子Dが値d1から値d1へ切替操作を必要とするが、その際のテストケース番号「2」の実機テストケース1001aのテスト実行時間でのテスト切替操作時間は、これら因子A,B,C,D毎に、これら夫々に該当するテスト切替操作時間表900(但し、ここでは、図10に因子Aに対するテスト切替操作時間表のみを示している)から、テスト切替操作時間を求め、これらを加算したものである。そして、かかる加算値に図9に示すテスト実行標準時間表800の実機テストケースのテスト時間を加算したものが、図16に示す実行優先順位が高い実機テストケース表1200の「テスト実行時間」欄1201に格納されるテスト実行時間である。
For example, when the test is switched from the real
そこで、図16に示す実行優先順位が高い実機テストケース表1200において、例えば、実行優先順位が高い実機テストケース1202aにおける「テスト実行時間」欄1201に格納されるテスト実行時間は、この実機テストケース1202aがテストを開始してからテストを終了し、次の実行優先順位が高い実機テストケース1202aにテスト切り替えからなされるための操作が完了するまでに要する時間である。
Therefore, in the real machine test case table 1200 having a high execution priority shown in FIG. 16, for example, the test execution time stored in the “test execution time”
図17は図15でのステップS303で作成された実行優先順位が低い実機テストケース表1300の一具体例を示す図であって、1301は「テスト実行時間」欄、1302はテストの実行優先順位が低い実機テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 17 is a diagram showing a specific example of the actual machine test case table 1300 created in step S303 in FIG. 15 and having a low execution priority. 1301 is a “test execution time” column, and 1302 is a test execution priority. This is a real machine test case, and parts corresponding to those in FIG.
同図において、実行優先順位が低い実機テストケース表1300には、図13に示す実機テストケース表1000中の実機テストケース1001のうち、そのいずれかの因子の値が図8に示す実行優先順位が低いテスト表700の因子の値に一致した実機テストケース1001が、実行優先順位が低い実機テストケース1302として、格納される。ここでは、一例として、テストケース番号「8」の実機テストケース1001f(図13)が、実行優先順位が低い実機テストケースとして判定されたものとしている(図15のステップS307)。
Referring to FIG. 8, an actual machine test case table 1300 having a low execution priority has a value of any of the actual machine test cases 1001 in the actual machine test case table 1000 shown in FIG. The real machine test case 1001 that matches the value of the factor in the test table 700 with a low is stored as the real
かかる実行優先順位が低い実機テストケース1302も、図4に示すテストケース303と同じ構成をなしているが、さらに、この実行優先順位が低い実機テストケース1302のテストの実行に要する時間(テスト実行時間)が格納される「テスト実行時間」欄1301が付加される。このテスト実行時間も、実行優先順位が高い実機テストケース表1200の場合と同様であって、図9に示すテスト実行標準時間表800で実機に対して設定されているテストの開始からテストの終了までの時間(一例として、「30秒」が設定されている)と、図10で示すテスト切替操作時間表900で設定されているテスト済みの因子の値から次にテストする同じ因子の値へのテスト切替操作に要する時間とを加算したものである。
Such a real
図18は図15でのステップS303で作成されたテスト順序条件表600/700に該当しない実機テストケース表1400の一具体例を示す図であって、1401は「テスト実行時間」欄、1402a,1402b,1402cはテスト順序条件表600/700に該当しない(実行優先順位が中程度の)実機テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 18 is a diagram showing a specific example of the actual machine test case table 1400 that does not correspond to the test order condition table 600/700 created in step S303 in FIG. 15. 1401 is a “test execution time” column, 1402a, 1402b and 1402c are actual machine test cases that do not correspond to the test order condition table 600/700 (the execution priority is medium), and parts corresponding to those in FIG.
同図において、テスト順序条件表600/700に該当しない実機テストケース表1400には、図13に示す実機テストケース表1000中の実機テストケース1001のうち、いずれかの因子の値も図7に示す実行優先順位が高いテスト表600や図8に示す実行優先順位が低いテスト表700の因子の値に一致しない実機テストケース1001、即ち、図16に示す実行優先順位が高い実機テストケース表1200にも、また、図17に示す実行優先順位が低い実機テストケース表1300にも格納されない実機テストケース1001が、テスト順序条件表600/700に該当しない実機テストケース1402(テスト順序条件表600/700に該当しない実機テストケースの総称)として、格納される。ここでは、一例として、テストケース番号「4」,「6」,「7」の実機テストケース1001c,1001d,1001e(図13)が夫々、テスト順序条件表600/700に該当しない実機テストケース1402a,1402b,1402cとして判定されて格納されている(図15のステップS309)。
In FIG. 7, in the actual machine test case table 1400 that does not correspond to the test order condition table 600/700, the value of any factor in the actual machine test case 1001 in the actual machine test case table 1000 shown in FIG. A real machine test case 1001 that does not match the factor values of the test table 600 having a high execution priority shown in FIG. 8 or the test table 700 having a low execution priority shown in FIG. 8, that is, a real machine test case table 1200 having a high execution priority shown in FIG. In addition, an actual machine test case 1001 that is not stored in the actual machine test case table 1300 having a low execution priority shown in FIG. 17 is an actual machine test case 1402 (test order condition table 600/700) that does not correspond to the test order condition table 600/700. As a generic name of actual machine test cases not corresponding to 700). Here, as an example, the actual
かかるテスト順序条件表600/700に該当しない実機テストケース1402も、図4に示すテストケース303と同じ構成をなしているが、さらに、このテスト順序条件表600/700に該当しない実機テストケース1402のテストの実行に要する時間(テスト実行時間)が格納される「テスト実行時間」欄1401が付加される。このテスト実行時間も、実行優先順位が高い実機テストケース表1200や実行優先順位が低い実機テストケース表1300の場合と同様であって、図9に示すテスト実行標準時間表800で実機に対して設定されているテストの開始からテストの終了までの時間(一例として、「30秒」が設定されている)と、図10で示すテスト切替操作時間表900で設定されているテスト済みの因子の値から次にテストする同じ因子の値へのテスト切替操作に要する時間とを加算したものである。
An actual machine test case 1402 that does not correspond to the test order condition table 600/700 has the same configuration as the test case 303 shown in FIG. 4, but further, an actual machine test case 1402 that does not correspond to the test order condition table 600/700. A “test execution time”
以上は、図13に示す実機テストケース表1000での実機テストケース1001を、テストの実行優先順位に応じて、図16に示す実行優先順位が高い実機テストケース表1200や図17に示す実行優先順位が低い実機テストケース表1300,図18に示すテスト順序条件に該当しない実機テストケース表1400に分配するものであったが、図14に示す非実機テストケース表1100での非実機テストケース1101についても同様である。 As described above, the real machine test case 1001 in the real machine test case table 1000 shown in FIG. 13 corresponds to the execution priority of the test, and the execution priority shown in FIG. The real machine test case table 1300 having a lower rank and the real machine test case table 1400 not corresponding to the test order condition shown in FIG. 18 are distributed to the non-real machine test case table 1100 shown in FIG. The same applies to.
図19は図11における非実機テストケースに関するステップS101の一具体例を示すフローチャートであって、図13に示す実機テストケース表1000での実機テストケース1001の場合と同様に、図7に示す実行優先順位が高いテスト表600と図8に示す実行優先順位が低いテスト表700を基に、図14に示す非実機テストケース表1100での非実機テストケース1101を、図16に示す実行優先順位が高い実機テストケース表1200と同様の実行優先順位が高い非実機テストケース表や図17に示す実行優先順位が低い実機テストケース表1300と同様の実行優先順位が低い非実機テストケース表,図18に示すテスト順序条件に該当しない実機テストケース表1400と同様のテスト順序条件に該当しない非実機テストケース表に分配するものである。なお、非実機テストケースに対する実行優先順位が高い非実機テストケース表や実行優先順位が低い非実機テストケース表,テスト順序条件に該当しない非実機テストケース表の図示を省略する。 FIG. 19 is a flowchart showing a specific example of step S101 relating to the non-real machine test case in FIG. 11, and the execution shown in FIG. 7 is the same as in the real machine test case 1001 in the real machine test case table 1000 shown in FIG. Based on the test table 600 having a high priority and the test table 700 having a low execution priority shown in FIG. 8, the non-real machine test case 1101 in the non-real machine test case table 1100 shown in FIG. A non-real machine test case table having a high execution priority similar to the real machine test case table 1200 having a high execution priority and a non-real machine test case table having a low execution priority similar to the real machine test case table 1300 having a low execution priority shown in FIG. Actual machine test cases that do not correspond to the test order conditions shown in FIG. It is intended to distribute the strike case table. Note that illustration of a non-real machine test case table having a high execution priority for a non-real machine test case, a non-real machine test case table having a low execution priority, and a non-real machine test case table not corresponding to the test order condition are omitted.
図19に示すフローチャートは、分配するテストケースが図14に示す非実機テストケース表1100での非実機テストケース1101であること以外は、その処理の流れが実機テストケースについての図15に示すフローチャートとその処理の流れが同じであり、従って、図15に対応する処理ステップには、同じ番号にダッシュ「’」をつけて、その説明は、重複するので、省略する。また、非実機テストケース1101に対しては、実行優先順位が高い実機テストケース表1200’,実行優先順位が低い実機テストケース表1300’,テスト順序条件に該当しない実機テストケース表1400’として表わしており、これらは夫々、図16,図17,図18に示す表と同様の構成をなすものである。 The flowchart shown in FIG. 19 is the flowchart shown in FIG. 15 for the actual machine test case except that the test case to be distributed is the non-real machine test case 1101 in the non-real machine test case table 1100 shown in FIG. Therefore, the processing steps corresponding to FIG. 15 are given the same number with a dash “′”, and the description thereof will be omitted because it is redundant. The non-real machine test case 1101 is represented as a real machine test case table 1200 ′ having a high execution priority, a real machine test case table 1300 ′ having a low execution priority, and a real machine test case table 1400 ′ not corresponding to the test order condition. These have the same configuration as the tables shown in FIGS. 16, 17, and 18, respectively.
以上のようにして、実機テストケース表1000(図13)に格納されている実機テストケース1001と非実機テストケース表1100(図14)に格納されている非実機テストケース1101とが夫々、テストの実行優先順位が高いテストケースとテストと実行優先順位が低いテストケースとこれらのいずれにも該当しない(即ち、テスト順序条件表600/700に該当しない)テストケースとに分類される。 As described above, the real machine test case 1001 stored in the real machine test case table 1000 (FIG. 13) and the non-real machine test case 1101 stored in the non-real machine test case table 1100 (FIG. 14) are tested. Are classified into a test case having a high execution priority, a test, a test case having a low execution priority, and a test case not corresponding to any of them (that is, not corresponding to the test order condition table 600/700).
図20は図16〜図18におけるテスト実行時間欄1201,1301,1401に格納されるテスト実行時間を計算処理する図11でのステップS102の一具体例を示すフローチャートである。
FIG. 20 is a flowchart showing a specific example of step S102 in FIG. 11 for calculating the test execution times stored in the test
かかるテスト実行時間は、図16に示す実行優先順位が高い実機テストケース表1200,図17に示す実行優先順位が低い実機テストケース表1300,図18に示すテスト順序条件表に該当しない実機テストケース表1400の夫々毎に計算されるものであるが、ここでは、図16に示す実行優先順位が高い実機テストケース表1200を例に説明する。なお、図示しないが、図16と同様の実行優先順位が高い非実機テストケース表,図17と同様の実行優先順位が低い非実機テストケース表,図18と同様の順序条件表に該当しない非実機テストケース表についても、同様である。 The test execution time is a real machine test case table 1200 having a high execution priority shown in FIG. 16, a real machine test case table 1300 having a low execution priority shown in FIG. 17, and a real machine test case not corresponding to the test order condition table shown in FIG. Although calculated for each of the tables 1400, here, an actual machine test case table 1200 having a high execution priority shown in FIG. 16 will be described as an example. Although not shown, a non-real machine test case table having a high execution priority similar to FIG. 16, a non-real machine test case table having a low execution priority similar to FIG. 17, and an order condition table similar to FIG. The same applies to the actual machine test case table.
図20において、図16に示す実行優先順位が高い実機テストケース表1200において、連続して配置されるテストケース番号「m」,「n」の2つの実機テストケース1202(以下、これらを実施テストケース「m」,「n」ということにする)を取得する(ステップS400)。取得する実機テストケース1202の例としては、例えば、m=2,n=3として、実機テストケース番号「2」(実機テストケース1202a)と実機テストケース「3」(実機テストケース1202b)である。
20, in the real machine test case table 1200 having a high execution priority shown in FIG. 16, two real machine test cases 1202 with test case numbers “m” and “n” arranged in succession (hereinafter, these are executed tests). Case “m” and “n” are acquired) (step S400). As an example of the actual machine test case 1202 to be acquired, for example, m = 2 and n = 3, the actual machine test case number “2” (actual
次に、取得したこれら実機テストケース「m」,「n」の同じ因子間のテスト切替操作時間を図10に示すテスト切替操作時間表900から取得する(ステップS401)。 Next, the test switching operation time between the same factors of the acquired actual machine test cases “m” and “n” is acquired from the test switching operation time table 900 shown in FIG. 10 (step S401).
テスト切替操作時間表900は、先に説明したように、因子毎に個別に作成されており、この因子での値から値へのテスト切替操作に要する時間(テスト切替操作時間)が格納されている。図10に示すテスト切替操作時間表900は、因子Aに関するものであり、図3に示す値定義表200で定義された因子Aの全ての値からこの全ての値へのテスト切替操作時間が格納されている。但し、同じ値間のテスト切替操作時間は0(秒)である。 As described above, the test switching operation time table 900 is created individually for each factor, and stores the time (test switching operation time) required for the test switching operation from the value to the value for this factor. Yes. The test switching operation time table 900 shown in FIG. 10 relates to the factor A, and stores the test switching operation time from all the values of the factor A defined in the value definition table 200 shown in FIG. 3 to all these values. Has been. However, the test switching operation time between the same values is 0 (seconds).
そこで、このとき対象とする実行優先順位が高い実機テストケース表が図16に示す実行優先順位が、以下、高い実機テストケース表1200であるとして説明すると、ステップS401では、因子欄302a,302b,……の順にテスト切替操作時間を求めるものであるが、まず、最初の因子欄302aの因子、即ち、因子Aの値のテスト切替操作時間を求める。この場合、実機テストケース「2」の因子Aの値はa1、実機テストケース「2」の因子Aの値もa1であるから、値alから値alへのテスト切替操作ということになり、その切替操作時間を図10のテスト切替操作時間表900でのテスト切替操作前のテストケースの値欄902での値a1とテスト切替操作後のテストケースの値欄904での値a1とに対応するテスト切替操作時間欄905の格納箇所から求める。この場合、このテスト切替操作時間は0(秒)である(ステップS401)。
Therefore, if the real machine test case table having a high execution priority as a target at this time is described as the high real machine test case table 1200 shown in FIG. 16 below, in step S401,
この取得したテスト切替操作時間は、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201にテスト実行時間tとして格納される(ステップS402)。
The acquired test switching operation time is stored as the test execution time t in the test
次いで、図16に示す実行優先順位が高い実機テストケース表1200の次の因子欄302bの因子Bについて、同様にして、テスト切替操作時間表900からテスト切替操作時間を求める。この場合、値b2から値b3へのテスト切替操作が行なわれることになり、因子Bに対するテスト切替操作時間表(図示せず)からテスト切替操作時間が得られる(ステップS403)。そして、この得られたテスト切替操作時間が先に図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に格納されたテスト実行時間tと加算され、その加算値が新たなテスト実行時間tとして、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に格納される(ステップS404)。
Next, for the factor B in the
そして、さらに、図16に示す実行優先順位が高い実機テストケース表1200の次の因子欄302cにこれら実行優先順位が高い実機テストケース「2」,「3」の因子Cの値がある場合には(ステップS405の“NO”)、この因子Cについて、ステップS403からの処理を繰り返し、以下、順次の因子に対して同様の処理を行ない、得られたテスト切替操作時間が順次図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に格納されたテスト実行時間tに加算されていく。
Further, when there is a value of the factor C of the actual machine test cases “2” and “3” having the higher execution priority in the
同じ組の実機テストケース、この場合、実機テストケース「2」,「3」について、全ての因子のテスト切替操作時間が得られると(ステップS405の“YES”)、実機テストケース「2」から実機テストケース「3」へのテスト切替操作時間の累計が、テスト実行時間tとして、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」(即ち、実機テストケース1202a)のテスト実行時間欄1201に格納された状態にある。
When the test switching operation time for all factors is obtained for the same set of real machine test cases, in this case, real machine test cases “2” and “3” (“YES” in step S405), the real machine test case “2” As the test execution time t, the total test switching operation time to the real machine test case “3” is the real machine test case “2” in the real machine test case table 1200 shown in FIG. ) In the test
次いで、図9に示すテスト実行標準時間表800の実機テスト標準時間欄80に格納されている実機テストを実行するに要する標準時間を取得し、これを図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に格納されたテスト実行時間tに加算し(ステップS406)、この加算値を、新たなテスト実行時間tとして、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に格納する(ステップS407)。
Next, the standard time required to execute the real machine test stored in the real machine test standard time column 80 of the test execution standard time table 800 shown in FIG. 9 is acquired, and this is the real machine test with the high execution priority shown in FIG. The actual test case “2” in the case table 1200 is added to the test execution time t stored in the test execution time column 1201 (step S406), and the added value is used as a new test execution time t, and the execution shown in FIG. Stored in the test
以上の処理により、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース「2」のテスト実行時間欄1201に、この実機テストケース「2」がテストを開始してからこのテストが終了し、次の実機テストケース「3」へのテスト切替操作が完了するまでの時間が、テスト実行時間tとして、格納されることになる。
As a result of the above processing, this test after the actual machine test case “2” starts the test in the test
1つの実機テストケースのテスト実行時間tが以上のようにして得られると、このテスト実行時間tが得られた実機テストケースの次の1組の実機テストケースが図16に示す実行優先順位が高い実機テストケース表1200内にある場合(ステップS408の“NO”)、m=m+1,n=n+1として、この次の1組の実機テストケース1202を選択し(ステップS409)、これらについて、ステップS401からの処理を行ない、次の実機テストケースのテスト実行時間tを求める。また、かかる次の1組の実機テストケース1202がなくなったときには(ステップS408の“YES”)、処理を終了する。 When the test execution time t of one real machine test case is obtained as described above, the next set of real machine test cases from which the test execution time t is obtained has the execution priority shown in FIG. If it is in the high actual machine test case table 1200 (“NO” in step S408), m = m + 1 and n = n + 1 are selected as the next set of actual machine test cases 1202 (step S409). The processing from S401 is performed, and the test execution time t of the next actual machine test case is obtained. Further, when the next set of actual machine test cases 1202 is eliminated (“YES” in step S408), the processing is terminated.
なお、例えば、図16に示す実行優先順位が高い実機テストケース表1200で実機テストケース1202a,1202bだけしか格納されていないものとしたときの実機テストケース1202bのように、次の実機テストケースが存在せず、上記の処理をするための1組の実機テストケースを形成できない実機テストケースの場合には、図示しないが、ステップS409でm=m+1としてこの実機テストケース1202が選択された後(これの次の実施テストケースが存在しないため、n=n+1とすることができず、図示しないが、これが判定される)、ステップS406に進み、図9に示すテスト実行標準時間表800の実機テスト標準時間欄80に格納されている実機テストを実行するに要する標準時間が、テスト実行時間tとして、そのテスト実行時間欄1201に格納される。そして、図16に示す実行優先順位が高い実機テストケース表1200での全ての実機テストケース1202の処理が終了したとして(ステップS408の“YES”)、実機テストケース1202のテスト実行時間tを求める処理を終了する。
For example, in the actual machine test case table 1202 shown in FIG. 16 where only the actual
このようにして、図16に示す実行優先順位が高い実機テストケース表1200での全ての実機テストケース1202に対し、テスト実行時間tが求められるが、図17に示す実行優先順位が低い実機テストケース表1300での全ての実機テストケース1302や図18に示すテスト順序条件に該当しない実機テストケース表1400での全ての実施テストケース1402についても同様であって、それらのテスト実行時間欄1301,1401にテスト実行時間tが格納されることになり、さらに、非実機テストケースについても、その実行優先順位が高い非実機テストケース表,実行優先順位が低い非実機テストケース表及びテスト順序条件に該当しない非実機テストケース表のテスト実行時間欄に、図20と同様の処理により、テスト実行時間tが求められて格納される。
In this way, the test execution time t is obtained for all the real machine test cases 1202 in the real machine test case table 1200 shown in FIG. 16 having the high execution priority, but the real machine test having the low execution priority shown in FIG. The same applies to all real
以上のようにして求めた図16に示す実行優先順位が高い実機テストケース表1200での実機テストケース1201,図17に示す実行優先順位が低い実機テストケース表1300での実機テストケース1301及び図18に示すテスト順序条件表に該当しない実機テストケース表1400での実機テストケース1401を夫々、さらに、非実機テストケースに対する同様の非実機テストケース表での非実機テストケース表を夫々、テスト実施条件表400の作業者人数欄に規定される人数の作業者に、夫々の作業者のテストに要する時間やテスト作業の負担などが均等になるように、分配し、夫々の作業者に対するテストケース分配後の出力表1500(図1)が作成される。
The actual
図21は作業者一人分のテストケース分配後の出力表1500の一具体例を示す図であって、1501は「作業者」欄、1502は「テスト実行時間」欄、1503は「実機・非実機の区別」欄、1504a,1504b,……は分配テストケースであり、図4に対応する部分には同一符号をつけて重複する説明を省略する。 FIG. 21 is a diagram showing a specific example of the output table 1500 after the distribution of test cases for one worker. 1501 is a “worker” column, 1502 is a “test execution time” column, and 1503 is a “real machine / non-working” column. .., “Distinguish between real machines”, 1504a, 1504b,... Are distributed test cases, and the portions corresponding to those in FIG.
同図において、テストケース分配後の出力表1500には、この出力表1500が提供される作業者の氏名やIDなどの作業者を識別する情報が格納される「作業者」欄1501が設けられており、この作業者に対して図16に示す実行優先順位が高い実機テストケース表1200から分配された実機テストケース1201や図17に示す実行優先順位が低い実機テストケース表1300から分配された実機テストケース1301,図18に示すテスト順序条件表に該当しない実機テストケース表1400から分配された実機テストケース1401が夫々、分配テストケース1504a,1504b,1504c,1504d,……として、格納されている。
In the figure, an output table 1500 after test case distribution includes a “worker”
ここで、これら分配テストケース1504(分配テストケース1504a,1504b,1504c,1504d,……の総称)は、図4に示すテストケース303と同様の「テストケース番号」欄301,「因子」欄302a,302b,302c,302d,……を有するものであるが、さらに、図16に示す実行優先順位が高い実機テストケース表1200の「テスト実行時間」欄1201や図17に示す実行優先順位が低い実機テストケース表1300の「テスト実行時間」欄1301,図18に示すテスト順序条件表に該当しない実機テストケース表1400の「テスト実行時間」欄1401に格納されているテスト実行時間tが格納された「テスト実行時間」欄1502、「実機・非実機の区別」欄1503が設けられている。
Here, these distribution test cases 1504 (generic names of
この「実機・非実機の区別」欄1503には、その分配テストケース1504が図16〜図18に示す実機テストケース表1200,1300,1400のいずれかから分配された実機テストケースであるときには、実機テストケースであることを示す情報(図21では、「実」で示す)が格納され、同様の非実機テストケース表から分配された非実機テストケースであるときには、非機テストケースであることを示す情報(図21では、「非」で示す)が格納される。
In the “Distinction between actual machine / non-real machine”
図22は図5に示すテスト実施条件表400の作業者人数欄に規定される人数の作業者に図16に示す実行優先順位が高い実機テストケース表1200での実機テストケース1202を分配する図11でのステップS103〜S105の処理の一具体例を示すフローチャートである。以下では、図16に示す実行優先順位が高い実機テストケース表1200での実機テストケース1202を分配する図11でのステップS103を例に説明する。 FIG. 22 is a diagram for distributing the actual machine test cases 1202 in the actual machine test case table 1200 shown in FIG. 16 having a high execution priority to the number of workers specified in the number of workers column of the test execution condition table 400 shown in FIG. 11 is a flowchart showing a specific example of the processing of steps S103 to S105 in FIG. Hereinafter, step S103 in FIG. 11 for distributing the real machine test cases 1202 in the real machine test case table 1200 having a high execution priority shown in FIG. 16 will be described as an example.
同図において、図16に示す実行優先順位が高い実機テストケース表1200の全ての実機テストケース1202のテスト実行時間欄1201に格納されている全てのテスト実行時間tの総和としての実機テスト総時間Σtを求め、この実機テスト総時間Σtを図5に示すテスト実施条件表400に規定の作業者人数で割算して、作業者1人当りの実機テストケースのテスト実行時間Tを求める。
また、図16に示す実行優先順位が高い実機テストケース表1200から各作業者の図21に示すようなテストケース分配後の出力表1500へ分配済みの実機テストケースのうち、最後に分配した実機テストケース1504を示す、即ち、どの実機テストケース1504まで分配したかを示すテストケースポインタ(以下、TCポインタという)PTCを、これから分配を開始するものであって、分配済みの実機テストケースはないから、PTC=0とする。図16に示す実行優先順位が高い実機テストケース表1200では、PTC=0は図示する位置を表している。
また、図16に示す実行優先順位が高い実機テストケース表1200の分配対象となる実機テストケース1504の図21に示すテストケース分配後の出力表1500での分配先を示すコピーオフセットPCFを、PCF=0とする。図21に示すテストケース分配後の出力表1500では、PCF=0は図示する位置を表している。
以上が、ステップS500の初期設定処理である。
In FIG. 16, the actual machine test total time as the sum of all the test execution times t stored in the test
In addition, among the actual machine test cases that have been distributed from the actual machine test case table 1200 having a high execution priority shown in FIG. 16 to the output table 1500 after the test case distribution of each worker as shown in FIG. showing a test case 1504, that is, any actual test test case pointer that indicates whether it has distributed to the case 1504 (hereinafter, TC pointer that) the P TC, been made to start in the future distribution, distribution already actual test case Therefore , P TC = 0. In the actual machine test case table 1200 having a high execution priority shown in FIG. 16, P TC = 0 represents the illustrated position.
Also, a copy offset P CF indicating a distribution destination of the output table 1500 after the test case distribution shown in Figure 21 of the actual test case 1504 has execution priority shown in FIG. 16 becomes a distribution target of the high actual test case table 1200, P CF = 0. In the output table 1500 after test case distribution shown in FIG. 21, P CF = 0 represents the position shown in the figure.
The above is the initial setting process of step S500.
次に、実機テストケース1202の分配先となる作業者を表わす作業者番号iを、ここでは、最初の作業者であるから、i=1とし(ステップS501)、図16に示す実行優先順位が高い実機テストケース表1200から実機テストケース1202を分配した作業者数を表わす分配カウンタjを、分配した作業者数は0であるから、j=0とする(ステップS502)。 Next, since the worker number i representing the worker who is the distribution destination of the actual machine test case 1202 is the first worker here, i = 1 is set (step S501), and the execution priority shown in FIG. The distribution counter j representing the number of workers who distributed the actual machine test case 1202 from the high actual machine test case table 1200 is set to j = 0 since the number of distributed workers is 0 (step S502).
以上によって最初の作業者への実機テストケース1202の最初の作業者の図16に示す実行優先順位が高い実機テストケース表1200への分配が開始されるが、この実機テストケース表1200でのTCポインタPTC=0の位置から、図16での「テスト実行時間」欄1201に格納されているテスト実行時間tの合計が作業者1人当りの実機テストケースのテスト実行時間Tに最も近くなる個数の実機テストケース1202を、分配対象の実機テストケース1202として、選択し、図21に示すテストケース分配後の出力表1500でのコピーオフセットPCF=0の位置から順次格納していく。ここでは、図16に示す実行優先順位が高い実機テストケース表1200からテストケース番号=1の最初の実機テストケース1202aのみが分配対象の実機テストケース1202として、図21に示すテストケース分配後の出力表1500でその先頭に格納されたものとする(ステップS503)。
As described above, distribution of the actual machine test case 1202 to the first worker to the actual machine test case table 1200 having the high execution priority shown in FIG. 16 of the first worker is started. TC in the actual machine test case table 1200 is started. From the position of the pointer P TC = 0, the total of the test execution times t stored in the “test execution time”
このようにして、図16での「テスト実行時間」欄1201から最初の作業者の図21に示すテストケース分配後の出力表1500への実機テストケース1202の分配(並び替え)が行なわれる。
In this way, the actual machine test cases 1202 are distributed (rearranged) from the “test execution time”
しかる後、作業者番号iをi=i+1とし(ステップS504)、分配カウンタjをj=j+1として(ステップS505)、次の作業者の図21に示すようなテストケース分配後の出力表1500が指定され、TCポイントPTCをPTC=PTC+NTとして(ステップS506:但し、NTは上記のテスト実行時間Tに最も近い実機テストケース1202の個数)、図16に示す実行優先順位が高い実機テストケース表1200から次の作業者の図21に示すテストケース分配後の出力表1500への実機テストケース1202の分配のための初期設定を行なう。ここでは、NT=1となるから、図16に示す実行優先順位が高い実機テストケース表1200では、図示するように、PTC=1が最初の実機テストケース1202aの位置を表わしていることになる。
Thereafter, the worker number i is set to i = i + 1 (step S504), the distribution counter j is set to j = j + 1 (step S505), and an output table 1500 after test case distribution as shown in FIG. The TC point P TC is designated as P TC = P TC + N T (step S506: where N T is the number of actual test cases 1202 closest to the test execution time T), and the execution priority shown in FIG. Initial setting for distribution of the actual machine test case 1202 from the high actual machine test case table 1200 to the output table 1500 after the test case distribution shown in FIG. 21 of the next worker is performed. Here, since N T = 1, in the real machine test case table 1200 having a high execution priority shown in FIG. 16, as shown in the figure, P TC = 1 represents the position of the first real
そして、分配を行なった作業者数である分配カウンタjと図5に示すテスト実施条件表400で設定されている実機台数とを比較し(ステップS507)、分配カウンタjが実機台数未満であれば(ステップS507の“YES”)、ステップS504〜S506で初期設定された次の作業者の図21に示すようなテストケース分配後の出力表1500への実機テストケース1202の分配が行なわれるが、分配カウンタjが実機台数以上であれば(ステップS507の“NO”)、図21に示すテストケース分配後の出力表1500でのコピーオフセットPCFをPCF=PCF+NTとし(ステップS508)、さらに、分配を行なった作業者数である分配カウンタjと図5に示すテスト実施条件表400で設定されている作業者人数とを比較し(ステップS509)、分配カウンタjが作業者人数未満であれば(ステップS509の“YES”)、ステップS503に戻り、ステップS504〜S506で初期設定された次の作業者の図21に示すようなテストケース分配後の出力表1500への実機テストケース1202の分配が行なわれる。この場合の図21に示すようなテストケース分配後の出力表1500での図16に示す実行優先順位が高い実機テストケース表1200から分配された実機テストケース1202の格納開始位置は、ステップS509で設定されたコピーオフセットPCFで指示される格納位置の次の格納位置から格納される。 Then, the distribution counter j, which is the number of workers who performed the distribution, is compared with the actual number of machines set in the test execution condition table 400 shown in FIG. 5 (step S507), and if the distribution counter j is less than the actual number of machines. ("YES" in step S507), the actual machine test case 1202 is distributed to the output table 1500 after the test case distribution of the next worker initially set in steps S504 to S506 as shown in FIG. if the distribution counter j actual number more ( "NO" in step S507), the copy offset P CF at the output table 1500 after the test case distribution shown in FIG. 21 and P CF = P CF + N T ( step S508) Further, the distribution counter j, which is the number of workers who have distributed, is compared with the number of workers set in the test execution condition table 400 shown in FIG. If the distribution counter j is less than the number of workers (“YES” in step S509), the process returns to step S503, as shown in FIG. 21 of the next worker initially set in steps S504 to S506. The actual test case 1202 is distributed to the output table 1500 after the distribution of the test cases. In this case, the storage start position of the real machine test case 1202 distributed from the real machine test case table 1200 having a high execution priority shown in FIG. 16 in the output table 1500 after test case distribution as shown in FIG. 21 is shown in step S509. are stored from the set next storage location of the storage position indicated by the copy offset P CF.
なお、ここでは、図5に示すテスト実施条件表400によると、実機台数は3台であり、作業者人数は3人である。この場合には、最初の作業者の図21に示すようなテストケース分配後の出力表1500への実機テストケース1202の分配が完了すると(テストケース番号「2」の実機テストケース1202aのみが分配:ステップS503)、分配カウンタjはj=1となり(ステップS505)、ステップS507の“NO”となり、次の作業者の図21に示すようなテストケース分配後の出力表1500が指定されて、コピーオフセットPCFがPCF=PCF+NTに指定され(ステップS508)、さらに、ステップS509の“YES”であるから、この次の作業者の図21に示すようなテストケース分配後の出力表1500のこのコピーオフセットPCFで指定される格納位置の次の格納位置から図16に示す実行優先順位が高い実機テストケース表1200で次に分配されるテストケース1202が格納されることになる。
Here, according to the test execution condition table 400 shown in FIG. 5, the actual number of machines is three, and the number of workers is three. In this case, when the distribution of the actual test case 1202 to the output table 1500 after the test case distribution as shown in FIG. 21 of the first worker is completed (only the
このように、図5に示すテスト実施条件表400での実機台数と作業者数とのもとに、ステッフS503〜S509の一連の処理が繰り返されることにより、図5に示すテスト実施条件表400で設定されている作業者人数の作業者夫々の図21に示すようなテストケース分配後の出力表1500に実行優先順位が高い実機テストケース1202が分配される。 As described above, a series of processes of steps S503 to S509 are repeated based on the actual number of machines and the number of workers in the test execution condition table 400 shown in FIG. The actual machine test cases 1202 having a high execution priority are distributed to the output table 1500 after the test case distribution as shown in FIG.
そして、図16に示す実行優先順位が高い実機テストケース表1200の実機テストケース1202の各作業者のテストケース分配後の出力表1500への分配が終了すると、次に、図16に示す実行優先順位が高い実機テストケース表1200と同様の非実機テストケースに関する実行優先順位が高い非実機テストケース表の非実機テストケースの分配が、図22に示すフローチャートに従って、同様に行なわれ、以下、図18に示すような実機テストケース表と非実機テストケース表、図17に示すような実機テストケース表と非実機テストケース表の夫々のテストケースの各作業者の図21に示すようなテストケース分配後の出力表への分配が行なわれる。但し、これらテストケース表の順次のテストケースの分配に際しては、図22において、ステップS500から分配処理が開始されるが、その開始に際しては、夫々の図21に示すようなテストケース分配後の出力表1500に対しては、1つ前の図16〜図18に示すようなテストケース表からの最後の分配処理でステップS508で設定されてコピーオフセットPCFがCPU2(図2)のバッファで保持され、その次の図16〜図18に示すようなテストケース表から分配されるテストケースはこの保持されているコピーオフセットPCFの次の位置から格納されることになる。 When the distribution of the actual machine test case 1202 in the actual machine test case table 1200 in the actual machine test case table 1200 shown in FIG. 16 to the output table 1500 after the test case distribution ends, the execution priority shown in FIG. Distribution of the non-real machine test cases in the non-real machine test case table having a high execution priority regarding the non-real machine test cases similar to the real machine test case table 1200 having a high rank is performed in the same manner according to the flowchart shown in FIG. Test cases as shown in FIG. 21 of the respective workers in the actual machine test case table and the non-real machine test case table as shown in FIG. 18 and the test cases in the real machine test case table and the non-real machine test case table as shown in FIG. Distribution to the output table after distribution is performed. However, in the sequential distribution of test cases in the test case table, the distribution process is started from step S500 in FIG. 22. At the start, the output after the distribution of the test cases as shown in FIG. for Table 1500, the holding is set in step S508 at the end of the distribution process from the test case table as shown in the previous 16 to 18 are copies offset P CF is a buffer on a CPU 2 (Fig. 2) is, the next test case to be dispensed from the test case table as shown in FIGS. 16 to 18 will be stored from the next position of the copy offset P CF which is the holding.
図23は図16に示す実行優先順位が高い実機テストケース表1200からの実機テストケースとこれに対応する図示しない実行優先順位が高い非実機テストケース表からの非実機テストケースの図22に示すフローチャートに基づく分配処理とその結果を示す図であって、1600は実行優先順位が高い非実機テストケース表、RT1〜RT3は図16に示す実行優先順位が高い実機テストケース表1200での作業者1人当りの(作業者1人当りに割り当てられる)実機テストケースのテスト実行時間Tの実機テストケース群、NRT1〜NRT3はこの実行優先順位が高い非実機テストケース表での作業者1人当りの(作業者1人当りに割り当てられる)非実機テストケースのテスト実行時間Tの非実機テストケース群であり、前出図面に対応する部分には同一符号をつけている。 FIG. 23 shows a real machine test case from the real machine test case table 1200 having a high execution priority shown in FIG. 16 and a non-real machine test case from the non-real machine test case table having a high execution priority (not shown) corresponding thereto. FIG. 11 is a diagram showing a distribution process based on the flowchart and the result, where 1600 is a non-real machine test case table having a high execution priority, and RT1 to RT3 are workers in the real machine test case table 1200 having a high execution priority shown in FIG. A group of actual machine test cases of test execution time T of actual machine test cases per person (assigned per worker), NRT1 to NRT3 are per worker in the non-real machine test case table with high execution priority. Of non-real machine test cases (assigned per worker) of non-real machine test cases with test execution time T. They are assigned the same reference numerals to corresponding parts to.
図23(a)は実機台数が1台、作業者人数が3人の場合のものであって、夫々の作業者a,b,cが夫々1人当りのテスト実行時間ずつずらして実機を使用することができるようにするために、最初の作業者aのテストケース分配後の出力表1500aにそのコピーオフセットPCF=0の次の格納位置(最初の格納位置)から実機テストケース表1200の実機テストケース群RT1を格納し(図22のステップS503)、コピーオフセットPCFに実機テストケース群RT1の実機テストケースの個数NT(1)だけ加算してコピーオフセットPCF(1)(=PCF+NT(1))を作成し(図22のステップS508)、2番目の作業者bのテストケース分配後の出力表1500bにこのコピーオフセットPCF(1)の位置の次の格納位置から実機テストケース表1200の実機テストケース群RT2を格納し(図22のステップS503)、しかる後、さらに、コピーオフセットPCF(1)に実機テストケース群RT2の実機テストケースの個数NT(2)を加算してPCF(2)(=PCF(1)+NT(2))を作成し(図22のステップS508)、次の3番目の作業者cのテストケース分配後の出力表1500cにこのコピーオフセットPCF(2)の位置の次の格納位置から実機テストケース表1200の実機テストケース群RT3を格納する(図22のステップS503)。そして、コピーオフセットPCF(2)に実機テストケース群RT3の実機テストケースの個数NT(3)を加算してコピーオフセットPCF(3)(=PCF(2)+NT(3))を形成する(図22のステップS508)
これにより、作業者a,b,cのテストケース分配後の出力表1500a,1500b,1500cへの実機テストケース表1200での実機テストケースの分配が終了し、これとともに、これらテストケース分配後の出力表1500a,1500b,1500cに対しては夫々、コピーオフセットPCF(1),PCF(2),PCF(3)が保持されている。
FIG. 23A shows a case where the number of actual machines is one and the number of workers is three, and each worker a, b, c uses the actual machine by shifting the test execution time per person. In order to be able to do this, the output table 1500a after the test case distribution of the first operator a is changed from the next storage position (first storage position) of the copy offset P CF = 0 to the actual test case table 1200. stores actual test case group RT1 (step S503 in FIG. 22), the copy offset P CF to the number of actual test cases actual test case group RT1 N T (1) only by adding copy offset P CF (1) (= P CF + N T (1)) is created (step S508 in FIG. 22), and the next storage of the position of this copy offset P CF (1) is stored in the output table 1500b after the test case distribution of the second worker b. Stores actual test case group RT2 of actual test case table 1200 from the position (step S503 in FIG. 22), thereafter, further, the number of actual test cases copy offset P CF (1) on a real machine test case group RT2 N T (2) is added to create P CF (2) (= P CF (1) + N T (2)) (step S508 in FIG. 22), and after the test case distribution of the next third worker c The actual machine test case group RT3 of the actual machine test case table 1200 is stored in the output table 1500c from the storage position next to the position of the copy offset P CF (2) (step S503 in FIG. 22). Then, the copy offset P CF (3) by adding the number of actual test cases actual test case group RT3 N T (3) to copy offset P CF (2) (= P CF (2) + N T (3)) Is formed (step S508 in FIG. 22).
As a result, the distribution of the actual machine test cases in the actual machine test case table 1200 to the output tables 1500a, 1500b, and 1500c after the distribution of the test cases of the workers a, b, and c ends. Copy offsets P CF (1), P CF (2), and P CF (3) are held for the output tables 1500a, 1500b, and 1500c, respectively.
そして、次に、実行優先順位が高い非実機テストケース表1600の非実機テストケースが作業者a,b,cのテストケース分配後の出力表1500a,1500b,1500cに分配される。 Then, the non-real machine test cases in the non-real machine test case table 1600 having the highest execution priority are distributed to the output tables 1500a, 1500b, and 1500c after the test cases are distributed to the workers a, b, and c.
これは、まず、図22のステップS500〜S502で上記の初期設定がなされるが、この場合、ステップ500でコピーオフセットPCFのみが、最初の作業者aのテストケース分配後の出力表1500aに対して保持されているコピーオフセットPCF(1)に設定される。これにより、このテストケース分配後の出力表1500aでは、このコピーオフセットPCF(1)で指定される位置の次の格納位置から(実機テストケース群RT1に続いて)、実行優先順位が高い非実機テストケース表1600の非実機テストケース群NRT1が格納される。この格納が終了すると、このコピーオフセットPCF(1)に非実機テストケース群NRT1での非実機テストケースの個数NT(1’)が加算されてPCF(1’)(=PCF(1)+NT(1’))が作成されて(図22のステップS508)、テストケース分配後の出力表1500aでの次の格納開始位置を規定するものとして、テストケース分配後の出力表1500aに対して保存される。
This, first, the above initial setting in step S500~S502 of FIG. 22 is performed, in this case, only the copy offset P CF at
また、これと同時に、図22のステップS508において、次の作業者bのテストケース分配後の出力表1500bへの実行優先順位が高い非実機テストケース表1600の非実機テストケース群NRT2を格納するために、このテストケース分配後の出力表1500bのために保存されている上記のコピーオフセットPCF(2)が設定され、テストケース分配後の出力表1500bでのこのコピーオフセットPCF(2)で指定される位置の次の格納位置から、実行優先順位が高い非実機テストケース表1600の非実機テストケース群NRT2が格納される(図22のステップS503)。この格納処理が終了すると、このコピーオフセットPCF(2)に非実機テストケース群NRT2での非実機テストケースの個数NT(2’)が加算されてコピーオフセットPCF(2’)(=PCF(2)+NT(2’))が作成されて、テストケース分配後の出力表1500bでの次の格納開始位置を規定するものとして、テストケース分配後の出力表1500bに対して保持される。 At the same time, in step S508 of FIG. 22, the non-real machine test case group NRT2 of the non-real machine test case table 1600 having a high execution priority to the output table 1500b after the test case distribution of the next worker b is stored. for this test a copy of the stored for output table 1500b of the case after dispensing offset P CF (2) is set, the copy offset P CF at the output table 1500b post test case distribution (2) The non-real machine test case group NRT2 of the non-real machine test case table 1600 having a higher execution priority is stored from the storage position next to the position specified in (Step S503 in FIG. 22). When the storing process is completed, the number N T of the non-real machine test case in the non-real machine test case group NRT2 this copy offset P CF (2) (2 ' ) is added copied offset P CF (2') (= P CF (2) + N T (2 ′)) is created and stored in the output table 1500b after the test case distribution as defining the next storage start position in the output table 1500b after the test case distribution. Is done.
また、これと同時に、図22のステップS508において、次の作業者cのテストケース分配後の出力表1500cへの実行優先順位が高い非実機テストケース表1600の非実機テストケース群NRT3を格納するために、このテストケース分配後の出力表1500cのために保存されている上記のコピーオフセットPCF(3)が設定され、テストケース分配後の出力表1500cでのこのコピーオフセットPCF(3)で指定される位置の次の格納位置から、実行優先順位が高い非実機テストケース表1600の非実機テストケース群NRT3が格納される(図22のステップS503)。この格納処理が終了すると、このコピーオフセットPCF(3)に非実機テストケース群NRT3での非実機テストケースの個数NT(3’)が加算されてコピーオフセットPCF(3’)(=PCF(3)+NT(3’))が作成されて、テストケース分配後の出力表1500cでの次の格納開始位置を規定するものとして、テストケース分配後の出力表1500cに対して保持される。 At the same time, in step S508 of FIG. 22, the non-real machine test case group NRT3 of the non-real machine test case table 1600 having a high execution priority to the output table 1500c after the test case distribution of the next worker c is stored. for, this copy of the stored for output table 1500c after test cases distributed offset P CF (3) is set, the copy offset P CF at the output table 1500c after test case distributor (3) The non-real machine test case group NRT3 of the non-real machine test case table 1600 having a higher execution priority is stored from the storage position next to the position specified in (Step S503 in FIG. 22). When the storing process is completed, the number N T of the non-real machine test case in the non-real machine test case group NRT3 this copy offset P CF (3) (3 ' ) is added copied offset P CF (3') (= P CF (3) + N T (3 ′)) is created and stored in the output table 1500c after test case distribution as defining the next storage start position in the output table 1500c after test case distribution Is done.
以下同様にして、図18に示すテスト順序条件表に該当しない実機テストケース表1400や同様のテスト順序条件表に該当しない非実機テストケース表、図17に示す実行優先順位が低い実機テストケース表1300や同様の実行優先順位が低い非実機テストケース表の夫々の実機テストケース,非実機テストケースが、実機テストケース,非実機テストケースの順の繰り返しで、作業者a,b,cのテストケース分配後の出力表1500a,1500b,1500cに順次分配されて格納される。 In the same manner, an actual machine test case table 1400 that does not correspond to the test order condition table shown in FIG. 18, a non-real machine test case table that does not correspond to the similar test order condition table, and an actual machine test case table with low execution priority shown in FIG. Each of the actual machine test cases and non-real machine test cases in the non-real machine test case table 1300 and similar non-real machine test case tables are repeated in the order of the real machine test case and the non-real machine test case. The output tables 1500a, 1500b, and 1500c after the case distribution are sequentially distributed and stored.
図23(b)は実機台数が2台、作業者人数が3人の場合のものであって、夫々の作業者a,b,cのうちの2人の作業者が別々の実機テストを同時に行なうことができるように、実機テストケースや非実機テストケースを夫々のテストケース分配後の出力表1500a,1500b,1500cに分配して格納するものである。 FIG. 23B shows a case where the number of actual machines is two and the number of workers is three, and two of the workers a, b, and c perform separate actual machine tests at the same time. As can be done, the actual test cases and the non-real test cases are distributed and stored in the output tables 1500a, 1500b, 1500c after the distribution of the respective test cases.
図22でのステップS500〜S503の処理により、実機テストケース表1200の実機テストケース群RT1が作業者aのテストケース分配後の出力表1500aに先頭の格納位置から格納され、図22のステップS504〜S506の処理により、次の作業者bのテストケース分配後の出力表1500bと実機テストケース表1200の実機テストケース群RT2とが指定される。このとき、実機台数(=2)>分配カウンタj(=1)であるから(図22のステップS507が“YES”)、実機テストケース表1200の実機テストケース群RT2がテストケース分配後の出力表1500bに先頭の格納位置から格納される(図22のステップS503)。 22, the real machine test case group RT1 of the real machine test case table 1200 is stored in the output table 1500a after the test case distribution of the worker a from the top storage position, and step S504 of FIG. 22 is performed. Through the processing of ~ S506, the output table 1500b after the test case distribution of the next worker b and the real machine test case group RT2 of the real machine test case table 1200 are designated. At this time, since the number of actual machines (= 2)> distribution counter j (= 1) (“YES” in step S507 in FIG. 22), the actual machine test case group RT2 in the actual machine test case table 1200 is the output after the test case is distributed. It is stored in the table 1500b from the first storage position (step S503 in FIG. 22).
そして、図22のステップS504〜S506の処理で次の作業者cのテストケース分配後の出力表1500cと実機テストケース表1200の実機テストケース群RT3とが指定されたときには、実機台数(=2)>分配カウンタj(=2)であるから(図22のステップS507が“NO”)、ステップS508の処理により、このとき設定されているコピーオフセットPCF(=0)に、実機テストケース群RT1のテストケースの個数NT(1)を加算したコピーオフセットPCF(1)(=PCF+NT(1))と実機テストケース群RT2のテストケースの個数NT(2)を加算したコピーオフセットPCF(2)(=PCF+NT(2))とが作成され、これらコピーオフセットPCF(1),PCF(2)とが夫々、テストケース分配後の出力表1500a,1500bでの次の格納開始位置を規定するものとして、テストケース分配後の出力表1500a,1500bに対して保持される。 When the output table 1500c after test case distribution for the next worker c and the actual machine test case group RT3 in the actual machine test case table 1200 are designated in the processing of steps S504 to S506 in FIG. 22, the number of actual machines (= 2) )> Distribution counter j (= 2) (“NO” in step S507 of FIG. 22), the actual test case group is set to the copy offset P CF (= 0) set at this time by the processing of step S508. the number of RT1 test cases N copies plus T (1) offset P CF (1) (= P CF + N T (1)) and by adding the number of test cases in actual use test case group RT2 N T (2) A copy offset P CF (2) (= P CF + N T (2)) is created, and these copy offsets P CF (1) and P CF (2) are respectively distributed to the test cases. It is held with respect to the output tables 1500a and 1500b after the distribution of the test cases as defining the next storage start position in the subsequent output tables 1500a and 1500b.
また、テストケース分配後の出力表1500bに対して作成されたコピーオフセットPCF(2)は、さらに次の作業者cのテストケース分配後の出力表1500bに実機テストケース表1200の実機テストケース群RT3を格納するときの格納開始位置を規定するのに用いられるものであって、このコピーオフセットPCF(2)で指定される位置の次の格納位置から実機テストケース表1200の実機テストケース群RT3が格納される(図22のステップS503)。 Further, the copy offset P CF (2) created for the output table 1500b after the test case distribution is further added to the actual machine test case of the actual machine test case table 1200 in the output table 1500b after the test case distribution of the next worker c. be those used to define the storage start position when storing the group RT3, actual test cases actual test case table 1200 from the next storage position of the position designated by the copy offset P CF (2) The group RT3 is stored (step S503 in FIG. 22).
このようにして、図23(b)に示すように、2人の作業者a,bのテストケース分配後の出力表1500a,1500bには夫々、その最初の格納位置から実機テストケース表1200の実機テストケース群RT1,RT2が格納されるが、残りの作業者cのテストケース分配後の出力表1500cには、テストケース分配後の出力表1500bでの実機テストケース群RT2の格納位置に続く位置に相当する格納位置から実機テストケース群RT3が格納されることになる。 In this way, as shown in FIG. 23B, the output tables 1500a and 1500b after the test case distribution of the two workers a and b are respectively displayed in the actual test case table 1200 from the initial storage position. Although the actual machine test case groups RT1 and RT2 are stored, the output table 1500c after the test case distribution for the remaining worker c follows the storage position of the actual machine test case group RT2 in the output table 1500b after the test case distribution. The actual machine test case group RT3 is stored from the storage position corresponding to the position.
そして、次に、実行優先順位が高い非実機テストケース表1600の非実機テストケースが作業者a,b,cのテストケース分配後の出力表1500a,1500b,1500cに分配されるが、このための処理は、図23(a)に示す処理と同様であり、保持された上記のコピーオフセットPCF(1),PCF(2),PCF(3)をもとに、テストケース分配後の出力表1500aでは、実機テストケース群RT1に続いて非実機テストケース群NRT1が格納され、テストケース分配後の出力表1500bでは、実機テストケース群RT2に続いて非実機テストケース群NRT2が格納され、テストケース分配後の出力表1500cでは、実機テストケース群RT3に続いて非実機テストケース群NRT3が格納される。 Next, the non-real machine test cases in the non-real machine test case table 1600 having the highest execution priority are distributed to the output tables 1500a, 1500b, and 1500c after the test cases are distributed to the workers a, b, and c. The process is the same as the process shown in FIG. 23A, and after distributing the test case based on the held copy offsets P CF (1), P CF (2), and P CF (3). In the output table 1500a, the non-real machine test case group NRT1 is stored after the real machine test case group RT1, and in the output table 1500b after the distribution of the test cases, the non-real machine test case group NRT2 is stored after the real machine test case group RT2. In the output table 1500c after the test case distribution, the non-real machine test case group NRT3 is stored after the real machine test case group RT3.
以下同様にして、図18に示すテスト順序条件表に該当しない実機テストケース表1400や同様のテスト順序条件表に該当しない非実機テストケース表、図17に示す実行優先順位が低い実機テストケース表1300や同様の実行優先順位が低い非実機テストケース表の夫々の実機テストケース,非実機テストケースが、実機テストケース,非実機テストケースの順の繰り返しで、作業者a,b,cのテストケース分配後の出力表1500a,1500b,1500cに順次分配されて格納される。 In the same manner, an actual machine test case table 1400 that does not correspond to the test order condition table shown in FIG. 18, a non-real machine test case table that does not correspond to the similar test order condition table, and an actual machine test case table with low execution priority shown in FIG. Each of the actual machine test cases and non-real machine test cases in the non-real machine test case table 1300 and similar non-real machine test case tables are repeated in the order of the real machine test case and the non-real machine test case. The output tables 1500a, 1500b, and 1500c after the case distribution are sequentially distributed and stored.
なお、以上は、テスト実施条件として、実機台数を1台または2台とし、作業者人数を3人としたが、これらは一例として示すものであって、この実施形態では、これらのみに限定されるものではない。即ち、テスト実施条件として、実機台数をm、作業人数をn(但し、m<n)であるとき、m人の作業者に割り当てられた前記テストケース分配後の出力表(図23での出力表1500a,1500bに相当)で、順に、実行優先順位が高い実機テストケース表(図23での実機テストケース表1200)から分配された実機テストケース群(図23での実機テストケース群RT1,RT2,RT3)の格納が行なわれ、かつ、これらテストケース分配後の出力表では、実行優先順位が高い実機テストケース表からの分配された実行優先順位が高い実機テストケース群の実機テストケースが先頭の格納位置から順に格納される(図23(b)の出力表1500a,1500bがこれに相当)。 In the above, the number of actual machines is one or two and the number of workers is three as test execution conditions. However, these are shown as an example, and in this embodiment, the number of workers is limited to these. It is not something. That is, when the actual number of machines is m and the number of workers is n (where m <n) as test execution conditions, the output table after the distribution of the test cases assigned to m workers (output in FIG. 23) (Corresponding to Tables 1500a and 1500b), the real machine test case group (real machine test case group RT1 in FIG. 23) distributed in order from the real machine test case table (real machine test case table 1200 in FIG. 23) having the highest execution priority. RT2, RT3) are stored, and in the output table after the distribution of the test cases, the real machine test cases of the real machine test case group having the high execution priority distributed from the real machine test case table having the high execution priority are displayed. The data are stored in order from the first storage position (the output tables 1500a and 1500b in FIG. 23B correspond to this).
しかる後、残りの(n−m)人の作業者(図23(b)の作業者bに相当)に割り当てられたテストケース分配後の出力表(出力表1500cに相当)で、順に、実行優先順位が高い実機テストケース表からされた前記実機テストケース群の格納が行なわれ、かつ、これらテストケース分配後の出力表では、直前に実機テストケース群の格納が終了したテストケース分配後の出力表での実機テストケース群の格納済みの格納位置の次の格納位置に相当する格納位置から格納される。図23(b)で、図示しないが、次の作業者dのテストケース分配後の出力表1500dでは、作業者bのテストケース分配後の出力表1500cのコピーオフセットPCF(3)に相当する格納位置の次の格納位置から、実行優先順位が高い実機テストケース表1200から分配される次の実機テストケース群が格納されることになる。このように、残りの(n−m)人の作業者に割り当てられたテストケース分配後の出力表では、実行優先順位が高い実機テストケース表1200から分配される実機テストケース群の格納開始位置が、実機テストケース群のテストケース数分ずつ、順次ずれていくことになる。 Thereafter, in the output table after distribution of the test cases (corresponding to the output table 1500c) assigned to the remaining (n−m) workers (corresponding to the worker b in FIG. 23 (b)), the execution is sequentially performed. The actual test case group stored from the high-priority actual test case table is stored, and in the output table after the distribution of the test cases, the test case distribution after the storage of the actual test case group is completed. Stored from the storage position corresponding to the storage position next to the stored storage position of the actual test case group in the output table. Although not shown in FIG. 23B, the output table 1500d after the test case distribution of the next worker d corresponds to the copy offset P CF (3) of the output table 1500c after the test case distribution of the worker b. The next real machine test case group distributed from the real machine test case table 1200 having a higher execution priority is stored from the next storage position. As described above, in the output table after the distribution of the test cases assigned to the remaining (nm) workers, the storage start positions of the actual machine test case groups distributed from the actual machine test case table 1200 having a high execution priority. However, the number of test cases in the actual machine test case group shifts sequentially.
以上のように、この実施形態では、実機テストケースと非実機テストケースとについて、テスト優先順位に関しても、テストケースが夫々の作業者に均等に分配され、なおかつ、夫々の作業者のテストに要する時間も均等になるものであり、適宜のテスト実施条件や複数の作業者でテストを実施する場合であっても、効率良く、作業者の作業負担やテストに要する時間を平等化するテストケースの割り当てができる。 As described above, in this embodiment, the test cases of the real machine test cases and the non-real machine test cases are equally distributed to the respective workers with respect to the test priorities, and are required for the tests of the respective workers. Even when testing is performed with appropriate test conditions and with multiple workers, the test cases that efficiently and efficiently equalize the work burden on the workers and the time required for testing are equivalent. Can be assigned.
また、テストの実行優先順位が高い実機テストケースを先頭とし、テストの実行優先順位が高い順に実機,非実機テストケースを分配して、各作業者のテスト分配の出力表1500に格納するものであるから、作業者としても、先行してテストを実行すべきテストケースを容易に確認することができるし、また、各作業者のテスト分配の出力表1500との間では、実機台数に応じて、テストの実行優先順位が高い実機テストケースの格納開始位置をずらしているので、かかる実機テストケースの実機テストの使用開始の順番を把握することができる。 In addition, the real machine test cases with the highest test execution priority are placed at the top, the real machine and the non-real machine test cases are distributed in the descending order of the test execution priority, and stored in the test distribution output table 1500 of each worker. Therefore, the operator can easily confirm the test cases that should be executed in advance, and between the test distribution output table 1500 of each operator according to the actual number of machines. Since the storage start position of the actual machine test case having a high test execution priority is shifted, it is possible to grasp the order of starting the use of the actual machine test of the actual machine test case.
なお、本発明は、上記実施形態にのみ限定されるものではなく、種々の変形、応用が可能である。 In addition, this invention is not limited only to the said embodiment, A various deformation | transformation and application are possible.
例えば、上記実施形態では、各処理(テストケースを実機テストと非実機テストに分けて分類する処理(図13及び図14)、実機テストケースと非実機テストケースをテスト順序条件毎に3つの実行優先順位に分類する処理(図16〜図18)、テスト実行時間を計算する処理(図20)、3つの実行優先順位に分類された実機テストケースと非実機テストケースを複数の作業者に分類する処理(図21,図22))を図2に示された一般的なコンピュータで実現されるものであるが、例えば、ネットワークを介して複数の装置に上記の各処理を分散させて行なうようにしてもよい。 For example, in the above embodiment, each process (process for classifying test cases into real machine tests and non-real machine tests (FIGS. 13 and 14), and executing real machine test cases and non-real machine test cases for each test order condition. Processing for classifying into priority order (FIGS. 16 to 18), processing for calculating test execution time (FIG. 20), classifying real machine test cases and non-real machine test cases classified into three execution priorities into a plurality of workers The processing to be performed (FIGS. 21 and 22) is realized by the general computer shown in FIG. 2. For example, each of the above processing is distributed to a plurality of devices via a network. It may be.
1:テスト分配装置 2:CPU 3:主記憶装置 4:外部記憶装置
5:読取装置 6:入出力装置 7:通信装置 8:可搬型記憶媒体
100:テスト作業表
200:値定義表 201:「因子」欄 202:値」欄
300:テストケース表 301:「テストケース」欄
302a,302b,302c:「因子」欄
303a〜303i:テストケース
400:テスト実施条件表 401:「実機台数」欄
402:「非実機台数」欄 403:「作業者人数」欄
500:実機テスト条件表
501:「実機情報」欄 502:「因子」欄 503:「値」欄
600:テスト順序条件表としての実行優先順位が高いテスト表
601:「因子」欄 602:「値」欄
700:テスト順序条件表としての実行優先順位が低いテスト表
701:「因子」欄 702:「値」欄
800:テスト実行標準時間表 801:「実機テスト標準時間」欄
802:「非実機テスト標準時間」欄
900:テスト切替操作時間表 901:「因子」欄
902:「値」欄 903:「因子」欄 904:「値」欄
905:「テスト切替操作時間」欄
1000:実機テストケース表
1001a〜1001f:実機テストケース
1100:非実機テストケース表
1101a〜1101c:非実機テストケース
1200:実行優先順位が高い実機テストケース表
1201:「テスト実行時間」欄
1202a,1202b:テストの実行優先順位が高い実機テストケース
1300:実行優先順位が低い実機テストケース表
1301:「テスト実行時間」欄
1302:テストの実行優先順位が低い実機テストケース
1400:テスト順序条件表に該当しない実機テストケース表
1401:「テスト実行時間」欄
1402a,1402b,1402c:テスト順序条件表600/700に該
当しない実機テストケース
1500:テストケース分配後の出力表 1501:「作業者」欄
1502:「テスト実行時間」欄 1503:「実機・非実機の区別」欄
1504a,1504b:分配テストケース
1600:実行優先順位が高い非実機テストケース表
1: Test distribution device 2: CPU 3: Main storage device 4: External storage device 5: Reading device 6: Input / output device 7: Communication device 8: Portable storage medium 100: Test work table 200: Value definition table 201: “ “Factor” column 202: Value column 300: Test case table 301: “Test case” column 302a, 302b, 302c: “Factor” column 303a to 303i: Test case 400: Test execution condition table 401: “Number of actual machines” column 402 : "Non-real machine number" column 403: "Number of workers" column 500: Actual machine test condition table 501: "Real machine information" column 502: "Factor" column 503: "Value" column 600: Execution priority as test order condition table Test table with higher rank 601: “Factor” column 602: “Value” column 700: Test table with lower execution priority as a test order condition table 701: “Factor” column 7 2: “Value” column 800: Test execution standard time table 801: “Real machine test standard time” column 802: “Non-real machine test standard time” column 900: Test switching operation time table 901: “Factor” column 902: “Value” Field 903: “Factor” field 904: “Value” field 905: “Test switching operation time” field 1000: Real machine test case table 1001a to 1001f: Real machine test case 1100: Non-real machine test case table 1101a to 1101c: Non-real machine test case 1200: Real machine test case table with high execution priority 1201: “Test execution time” column 1202a, 1202b: Real machine test case with high test execution priority 1300: Real machine test case table with low execution priority 1301: “Test execution time” ”Column 1302: Actual machine test case 1400 having low test execution priority Actual test case table 1401 which does not correspond to the test sequence Conditions Table: "Test Run Time" column 1402a, 1402b, 1402c: the test sequence condition table 600/700
Unmatched real machine test case 1500: Output table after test case distribution 1501: “Worker” column 1502: “Test execution time” column 1503: “Distinction between actual and non-real machine”
Claims (8)
該複数のテストケースを、実機を用いてテストする実機テストケースと実機を用いないでテストする非実機テストケースとに分類する第1の工程と、
該実機テストケースと該非実機テストケース毎に、テストの実行優先順位に応じたグループに分類する第2の工程と、
該実機テストケースと該非実機テストケースとについて、該第2の工程で分類されたグループ毎に、該作業者夫々に割り当てる該テストケースを決定する第3の工程と、
該第3の工程で割り当てられた該テストケースを、該作業者夫々に分配する第4の工程と
からなることを特徴とするテスト分配方法。 In a test distribution method for distributing a plurality of test cases set for the test to a plurality of workers with respect to a device to be tested,
A first step of classifying the plurality of test cases into a real machine test case to be tested using a real machine and a non-real machine test case to be tested without using a real machine;
A second step of classifying the actual test case and the non-real machine test case into groups according to test execution priorities;
A third step of determining the test case to be assigned to each of the workers for each group classified in the second step for the real machine test case and the non-real machine test case;
And a fourth step of distributing the test case assigned in the third step to each of the workers.
前記テストケースは夫々、複数の因子の値の組み合わせからなり、該テストケース毎に、該因子の値の組み合わせが異なるものであって、
前記第1の工程は、テストに実機を必要とする該因子の値を規定した実機テスト条件表に基づいて、実機を用いたテストである実機テストを必要とする該因子の値を有する前記テストケースを、前記実機テストケースとして、実機テストケース表に分類し、これ以外のテストを非実機テストとして、非実機テストの前記テストケースを、非実機テストケースとして、非実機テストケース表に分類することを特徴とするテスト分配方法。 In claim 1,
Each of the test cases is composed of a combination of a plurality of factor values, and the combination of the factor values is different for each test case,
In the first step, the test having the value of the factor requiring the actual machine test, which is a test using the actual machine, based on the actual machine test condition table defining the value of the factor requiring the actual machine for the test. Cases are classified as actual machine test cases in the real machine test case table, other tests are classified as non-real machine tests, and non-real machine test test cases are classified as non-real machine test cases in the non-real machine test case table. A test distribution method characterized by that.
前記第2の工程は、
テストの実行優先順位が高い前記因子の値を規定したテスト順序条件表としての実行優先順位が高いテスト表と、テストの実行優先順位が低い前記因子の値を規定したテスト順序条件表としての実行優先順位が低いテスト表とをもとに、
前記実機テストケース表での該実行優先順位が高いテスト表で規定される該因子の値を有する前記実機テストケースを実行優先順位が高い実機テストケースに分類し、該実行優先順位が低いテスト表で規定される該因子の値を有する前記実機テストケースを実行優先順位が低い実機テストケースに分類し、該テスト順序条件表に該当しない前記実機テストケースを実行優先順位が中程度の実機テストケースに分類して、夫々実行優先順位が高い実機テストケース表と、実行優先順位が低い実機テストケース表と、該テスト順序条件表に該当しない実機テストケース表とに格納し、
かつ、前記非実機テストケース表での該実行優先順位が高いテスト表で規定される該因子の値を有する前記非実機テストケースを実行優先順位が高い非実機テストケースに分類し、該実行優先順位が低いテスト表で規定される該因子の値を有する前記非実機テストケースを実行優先順位が低い非実機テストケースに分類し、該テスト順序条件表に該当しない前記非実機テストケースを該テスト順序条件表に該当しない実行優先順位が中程度の非実機テストケースに分類して、夫々実行優先順位が高い非実機テストケース表と、実行優先順位が低い非実機テストケース表と、該テスト順序条件表に該当しない非実機テストケース表とに格納する
ことを特徴とするテスト分配方法。 In claim 2,
The second step includes
A test table having a high execution priority as a test order condition table that defines the values of the factors having a high test execution priority, and an execution as a test order condition table having the values of the factors having a low test execution priority. Based on the low priority test table,
A test table in which the real machine test cases having the values of the factors defined in the test table having a high execution priority in the real machine test case table are classified into real machine test cases having a high execution priority, and the execution priority is low. The real machine test cases having the values of the factors defined in (1) are classified into real machine test cases with a low execution priority, and the real machine test cases that do not fall under the test order condition table have a medium execution priority. Are stored in a real machine test case table having a high execution priority, a real machine test case table having a low execution priority, and a real machine test case table not corresponding to the test order condition table,
And classifying the non-real machine test cases having the values of the factors defined in the test table having a high execution priority in the non-real machine test case table into non-real machine test cases having a high execution priority, The non-real machine test cases having the values of the factors specified in the test table with low rank are classified into non-real machine test cases with low execution priority, and the non-real machine test cases not corresponding to the test order condition table are classified into the test The non-real machine test case table having a high execution priority, the non-real machine test case table having a low execution priority, and the test order are classified into non-real machine test cases having a medium execution priority not corresponding to the order condition table. A test distribution method characterized by storing in a non-real machine test case table that does not fall under the condition table.
前記第3の工程は、
前記実機テストのテスト実行標準時間と前記非実機テストのテスト実行標準時間とを規定したテスト実行標準時間表と、同じ前記因子での値間のテスト切替操作時間を規定するテスト切替操作時間表とをもとに、
前記実行優先順位が高い実機テストケース表,実行優先順位が低い実機テストケース表及び該テスト順序条件表に該当しない実機テストケース表毎に、前記実機テストケースのテスト実行時間を設定し、
かつ前記実行優先順位が高い非実機テストケース表,実行優先順位が低い非実機テストケース表及び該テスト順序条件表に該当しない非実機テストケース表毎に、前記実機テストケースのテスト実行時間を設定する
ことを特徴とするテスト分配方法。 In claim 3,
The third step includes
A test execution standard time table defining the test execution standard time of the real machine test and a test execution standard time of the non-real machine test, and a test switching operation time table defining the test switching operation time between values of the same factor Based on
The test execution time of the actual machine test case is set for each of the actual machine test case table having a high execution priority, the actual machine test case table having a low execution priority, and the actual machine test case table not corresponding to the test order condition table,
The test execution time of the actual machine test case is set for each of the non-real machine test case table having a high execution priority, the non-real machine test case table having a low execution priority, and the non-real machine test case table not corresponding to the test order condition table. A test distribution method characterized by:
前記テスト実行時間は、前記実機テストケースについては、前記実機テストのテスト実行標準時間と前記テスト切替操作時間との加算値であることを特徴とするテスト分配方法。 In claim 4,
The test execution method is characterized in that, for the actual machine test case, the test execution time is an added value of the test execution standard time of the actual machine test and the test switching operation time.
前記第4の工程は、
前記実行優先順位が高い実機テストケース表,前記実行優先順位が低い実機テストケース表及び前記テスト順序条件表に該当しない実機テストケース表毎に、前記実機テストケースの前記テスト実行時間の合計を総テスト実行時間として、該総テスト実行時間から求めた前記作業者1人当りのテスト割り当て実行時間分ずつ前記実機テストケースを前記作業者夫々に分配し、
かつ、前記実行優先順位が高い非実機テストケース表,前記実行優先順位が低い非実機テストケース表及び前記テスト順序条件表に該当しない非実機テストケース表毎に、前記非実機テストケースの前記テスト実行時間の合計を総テスト実行時間として、該総テスト実行時間から求めた前記作業者1人当りのテスト割り当て実行時間分ずつ前記非実機テストケースを前記作業者夫々に分配し、
分配された前記実機テストケースと前記非実機テストケースとを、該当する前記作業者のテストケース分配後の出力表に格納する
ことを特徴とするテスト分配方法。 In claim 4 or 5,
The fourth step includes
For each of the actual machine test case table having the higher execution priority, the actual machine test case table having the lower execution priority, and the actual machine test case table not corresponding to the test order condition table, the total test execution time of the actual machine test case is totaled. As the test execution time, the actual machine test cases are distributed to the respective workers by the test allocation execution time per worker obtained from the total test execution time,
The non-real machine test case table having a high execution priority, the non-real machine test case table having a low execution priority, and the non-real machine test case table not corresponding to the test order condition table, the test of the non-real machine test case. The total test execution time is defined as the total test execution time, and the non-real machine test cases are distributed to the respective workers by the test allocation execution time per worker obtained from the total test execution time,
The test distribution method characterized by storing the distributed real test case and the non-real test case in an output table after the test case distribution of the worker.
前記テストケース分配後の出力表への前記テストケースの分配は、前記実行優先順位が高い実機テストケース表の実機テストケースから開始することを特徴とするテスト分配方法。 In claim 6,
2. The test distribution method according to claim 1, wherein the distribution of the test cases to the output table after the distribution of the test cases is started from an actual machine test case in the actual machine test case table having a high execution priority.
実機テスト条件表での規定で実機台数がm、作業者人数がn(但し、m<n)であるとき、
m人の作業者に割り当てられた前記テストケース分配後の出力表で、順に、前記実行優先順位が高い実機テストケース表から分配された前記実機テストケース群の格納が行なわれ、かつ、これらテストケース分配後の出力表では、前記実行優先順位が高い実機テストケース表からの分配された前記実行優先順位が高い実機テストケース群の実機テストケースが先頭の格納位置から順に格納され、
しかる後、残りの(n−m)人の作業者に割り当てられた前記テストケース分配後の出力表で、順に、前記実行優先順位が高い実機テストケース表から分配された前記実機テストケース群の格納が行なわれ、かつ、これらテストケース分配後の出力表では、直前に実機テストケース群の格納が終了した前記テストケース分配後の出力表での前記実機テストケース群の格納済みの格納位置の次の格納位置に相当する格納位置から格納される
ことを特徴とするテスト分配方法。 In claim 7,
When the number of actual machines is m and the number of workers is n (where m <n) as defined in the actual machine test condition table,
In the output table after the distribution of the test cases assigned to m workers, the real machine test case groups distributed from the real machine test case table having the higher execution priority are stored in order, and these tests are performed. In the output table after case distribution, the real machine test cases of the real machine test case group with the high execution priority distributed from the real machine test case table with the high execution priority are stored in order from the first storage position,
Thereafter, in the output table after the distribution of the test cases assigned to the remaining (nm) workers, the actual test case group distributed from the real machine test case table having the higher execution priority in order. In the output table after the storage of the test cases, and the storage of the actual test case group in the output table after the distribution of the test case that has been stored immediately before, The test distribution method is characterized in that data is stored from the storage position corresponding to the next storage position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009111096A JP2010262376A (en) | 2009-04-30 | 2009-04-30 | Test distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009111096A JP2010262376A (en) | 2009-04-30 | 2009-04-30 | Test distribution method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010262376A true JP2010262376A (en) | 2010-11-18 |
Family
ID=43360402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009111096A Pending JP2010262376A (en) | 2009-04-30 | 2009-04-30 | Test distribution method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010262376A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
WO2023238311A1 (en) * | 2022-06-09 | 2023-12-14 | 日立Astemo株式会社 | Verification system and verification method |
-
2009
- 2009-04-30 JP JP2009111096A patent/JP2010262376A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
CN102609352B (en) * | 2011-01-19 | 2014-11-19 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
WO2023238311A1 (en) * | 2022-06-09 | 2023-12-14 | 日立Astemo株式会社 | Verification system and verification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Moons et al. | Integrating production scheduling and vehicle routing decisions at the operational decision level: a review and discussion | |
Ekren et al. | A simulation based experimental design to analyze factors affecting production flow time | |
WO2013084628A1 (en) | Manufacturing line simulation device, data input assistance device, and data input assistance method | |
JP7000905B2 (en) | Information processing equipment, personnel analysis support methods and programs | |
Lobo et al. | An effective lower bound on Lmax in a worker-constrained job shop | |
JP2010262376A (en) | Test distribution method | |
JP2002279132A (en) | Personnel posting system and personnel posting program | |
Agrawal et al. | Scheduling of a flexible job‐shop using a multi‐objective genetic algorithm | |
JP2018206007A (en) | Shared expense prorating device, shared expense prorating method, and shared expense prorating program | |
JP4987275B2 (en) | Production scheduling apparatus, production scheduling method, and program | |
JP5910510B2 (en) | UI (UserInterface) creation support apparatus, UI creation support method, and program | |
JP4549725B2 (en) | Print data processing apparatus, print data processing method, and program | |
Ferrell Jr et al. | Evaluating simple scheduling rules in a mixed shop environment | |
WO2018203530A1 (en) | Information processing device and information processing method | |
US20120044529A1 (en) | Processing order determining apparatus, processing order determining method, and non-transitory computer-readable recording medium encoded with processing order determining program | |
US11775893B2 (en) | Method and apparatus for cell-based workforce scheduling | |
JP5712533B2 (en) | Information processing apparatus, job display program, and recording medium recording the program | |
JP2022097622A (en) | Information processing device, information processing method and information processing program | |
JP2004133898A (en) | Method and device for simulating processing lapse in graphic industry | |
WO2006100715A1 (en) | Data presenting device, data presenting program, and data presenting method | |
Cheng et al. | An integrated modeling mechanism for optimizing the simulation model of the construction operation | |
JP6917136B2 (en) | Proportional processing execution device, apportionment processing execution method, and apportionment processing execution program | |
US20180247238A1 (en) | Work range visualization device and work range visualization method | |
JP2014170469A (en) | Work place planning device, work place planning program, and work place planning method | |
WO2021153114A1 (en) | Use plan creation device, use plan creation method, and program |