JP7755247B2 - Program, method, information processing device, and system - Google Patents
Program, method, information processing device, and systemInfo
- Publication number
- JP7755247B2 JP7755247B2 JP2024168467A JP2024168467A JP7755247B2 JP 7755247 B2 JP7755247 B2 JP 7755247B2 JP 2024168467 A JP2024168467 A JP 2024168467A JP 2024168467 A JP2024168467 A JP 2024168467A JP 7755247 B2 JP7755247 B2 JP 7755247B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- test cases
- priority
- cases
- test case
- 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.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
本開示は、プログラム、方法、情報処理装置、及びシステムに関する。 This disclosure relates to a program, a method, an information processing device, and a system.
ソフトウェアは、その品質を担保するため、ローンチの前に機能がテストされる。ソフトウェアの機能のテストは、一般的にテスト仕様書に基づいて行なわれる。テスト仕様書には、テストの方法、又は合否を判定するための条件等がテストケース毎に記載されている。 To ensure the quality of software, its functionality is tested before it is released. Software functionality is generally tested based on test specifications, which describe the test method and the conditions for determining pass/fail for each test case.
ソフトウェアについてのテストに関し、テスト計画を効率的に作成すること、及び精度の高いテスト計画を立てることはプロジェクトを進める上で大切である。特許文献1では、過去に行った同一又は類似のテストの実績工数に基づき、未実施のテスト項目にかかる工数を予測している。 When it comes to software testing, creating efficient and accurate test plans is important for advancing a project. In Patent Document 1, the amount of work required for unexecuted test items is predicted based on the actual amount of work performed in the past for identical or similar tests.
ソフトウェア開発では、テストを実施する順序は、プロジェクトにおけるテスト工程を計画通りに進める上で重要な要素である。例えば、不具合が発生する確率の高いテストが存在する場合、それらのテストの実施が遅くなるほど、デグレーションが発生するリスクが向上する。このため、不具合が発生しそうなテストについては、テスト工程の早期段階で実施した方が、テスト工程におけるテストを効率的に進めることが可能である。 In software development, the order in which tests are performed is an important factor in ensuring that the testing process in a project proceeds as planned. For example, if there are tests that are likely to cause defects, the longer those tests are performed, the greater the risk of degradation. For this reason, performing tests that are likely to cause defects early in the testing process will allow testing in the testing process to proceed more efficiently.
本開示では、テストを効率的に実施することを目的とする。 The purpose of this disclosure is to conduct tests efficiently.
上記課題を解決するため、本開示のプログラムは、プロセッサと、メモリとを備えるコンピュータに実行させるためのプログラムである。プログラムは、プロセッサに、テスト工程において実施されたテストに関する情報を記憶するステップと、テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップと、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップとを実行させる。 To solve the above problem, the program disclosed herein is a program to be executed by a computer having a processor and memory. The program causes the processor to execute the following steps: storing information about tests performed in a testing process; selecting a test case to be tested with priority from among test cases that have been tested based on the information about the test; extracting test cases similar to the selected test case from untested test cases in the testing process; and setting the priority of testing the extracted test case higher than that of other untested test cases.
本開示によれば、テストを効率的に実施できる。 This disclosure allows tests to be conducted efficiently.
以下、図面を参照しながら、実施の形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本開示の内容を不当に限定するものではない。また、本実施形態で説明される構成の全てが、本開示の必須構成要件であるとは限らない。 Embodiments will be described below with reference to the drawings. Note that the embodiments described below do not unduly limit the content of the present disclosure as set forth in the claims. Furthermore, not all of the configurations described in the embodiments are necessarily essential components of the present disclosure.
<概要>
本実施形態に係るシステム1は、所定のプロジェクトのテスト工程において、実施済みのテストケースを分析し、優先的にテストを実施するべきテストケースをテスト未実施のテストケースから抽出する。システム1は、抽出したテストケースについてのテストを優先的に実施するように、テスト実施者に提示する。そして、システム1は、テスト実施者、開発者、プロジェクト管理者等からの要求に応じ、テストの実施順序を変更したことにより予測されるテストの動向を要求元へ提示する。
<Overview>
In this embodiment, system 1 analyzes test cases that have already been executed during the testing process of a specific project and extracts test cases that should be prioritized from among untested test cases. System 1 then prompts the tester to prioritize testing of the extracted test cases. In response to requests from testers, developers, project managers, etc., system 1 then presents the requester with predicted test trends resulting from changes to the test execution order.
なお、本実施形態において、テストケースは、テスト設計書に基づいて設定される。テスト設計書は、検査対象が有する機能を検査するためのテストが設計されているデータである。検査対象は、検査の対象を表し、例えば、所定のプロジェクトで開発される、ハードウェア、又はソフトウェア等である。検査対象には、例えば、試作品、中間品、最終製品が含まれる。 In this embodiment, test cases are set based on a test design document. A test design document is data in which tests are designed to test the functions of a test target. A test target represents the object of testing, such as hardware or software developed in a specific project. Test targets include, for example, prototypes, intermediate products, and final products.
<1 全体構成>
図1は、本実施形態のシステム1の全体構成を示す図である。図1に示すように、システム1は、端末装置10と、サーバ20とを備えている。端末装置10と、サーバ20とは、有線又は無線の通信規格を用い、ネットワーク80を介して相互に通信可能に接続されている。ネットワーク80は、例えば、インターネット、及び/又は通信事業者が提供する通信網等により実現される。図示の例では、複数の端末装置10がシステム1に含まれている。
<1 Overall structure>
Fig. 1 is a diagram showing the overall configuration of a system 1 according to the present embodiment. As shown in Fig. 1, the system 1 includes a terminal device 10 and a server 20. The terminal device 10 and the server 20 are connected to each other via a network 80 using a wired or wireless communication standard so as to be able to communicate with each other. The network 80 is realized by, for example, the Internet and/or a communication network provided by a telecommunications carrier. In the illustrated example, the system 1 includes a plurality of terminal devices 10.
なお、図1では、サーバ20が1台のコンピュータである場合を示しているが、サーバ20は、複数台のコンピュータが組み合わされて実現されてもよい。 Note that while Figure 1 shows a case where server 20 is a single computer, server 20 may also be realized by combining multiple computers.
端末装置10は、サーバ20により提供されるサービスを利用するユーザが使用する端末である。例えば、端末装置10-1は、テストを実施するテスト実施者が利用する端末である。端末装置10-2は、ソフトウェアを開発する開発者が利用する端末である。なお、端末装置10-1と、端末装置10-2とが存在するが、装置自体の構造はほぼ同様であるため、以下では、端末装置10として説明する。 Terminal device 10 is a terminal used by a user who uses the services provided by server 20. For example, terminal device 10-1 is a terminal used by a tester who conducts tests. Terminal device 10-2 is a terminal used by a developer who develops software. Although there are terminal devices 10-1 and 10-2, the structures of the devices themselves are almost the same, so below they will be described as terminal device 10.
端末装置10は、例えば、据え置き型のPC(Personal Computer)、ラップトップPC、ヘッドマウントディスプレイ等により実現される。また、端末装置10は、スマートフォン、又はタブレット端末等の携行性を備えたコンピュータであってもよい。 The terminal device 10 may be realized, for example, as a desktop personal computer (PC), a laptop PC, a head-mounted display, or the like. The terminal device 10 may also be a portable computer such as a smartphone or a tablet terminal.
図1に示すように、端末装置10は、通信IF(Interface)12と、入力装置13と、出力装置14と、メモリ15と、ストレージ16と、プロセッサ19とを備える。通信IF12、入力装置13、出力装置14、メモリ15、ストレージ16、及びプロセッサ19は、例えば、バスを介して互いに通信可能に接続されている。 As shown in FIG. 1, the terminal device 10 includes a communication IF (Interface) 12, an input device 13, an output device 14, a memory 15, storage 16, and a processor 19. The communication IF 12, the input device 13, the output device 14, the memory 15, the storage 16, and the processor 19 are connected to each other so that they can communicate with each other, for example, via a bus.
通信IF12は、端末装置10が外部の装置と通信するため、信号を送受信するためのインタフェースである。入力装置13は、ユーザ(従業員)からの入力操作を受け付けるための入力装置である。入力装置13は、例えば、タッチパネル、タッチパッド、マウス等のポインティングデバイス、キーボード等を含む。出力装置14は、ユーザに対し情報を提示するための出力装置である。出力装置14は、例えば、ディスプレイ、スピーカ等を含む。 The communication IF 12 is an interface for sending and receiving signals so that the terminal device 10 can communicate with external devices. The input device 13 is an input device for accepting input operations from users (employees). The input device 13 includes, for example, a touch panel, a touchpad, a pointing device such as a mouse, a keyboard, etc. The output device 14 is an output device for presenting information to the user. The output device 14 includes, for example, a display, a speaker, etc.
メモリ15は、プログラム、及び、プログラム等で処理されるデータ等を一時的に記憶するためのものであり、例えば、DRAM(Dynamic Random Access Memory)等の揮発性のメモリにより実現される。ストレージ16は、データを保存するための記憶装置であり、例えば、フラッシュメモリ、HDD(Hard Disc Drive)等の不揮発性のメモリにより実現される。プロセッサ19は、プログラムに記述された命令セットを実行するためのハードウェアであり、演算装置、レジスタ、周辺回路等により構成される。 Memory 15 is used to temporarily store programs and data processed by programs, etc., and is realized by volatile memory such as DRAM (Dynamic Random Access Memory). Storage 16 is a storage device for saving data, and is realized by non-volatile memory such as flash memory or HDD (Hard Disc Drive). Processor 19 is hardware for executing instruction sets written in programs, and is made up of an arithmetic unit, registers, peripheral circuits, etc.
サーバ20は、テスト設計書に基づいて規定されるテストの実施状況、及び実施結果を管理する装置である。サーバ20は、例えば、ネットワーク80に接続されたコンピュータである。 Server 20 is a device that manages the implementation status and results of tests specified based on the test design document. Server 20 is, for example, a computer connected to network 80.
図1に示すように、サーバ20は、通信IF22と、入出力IF23と、メモリ25と、ストレージ26と、プロセッサ29とを備える。通信IF22、入出力IF23、メモリ25、ストレージ26、及びプロセッサ29は、例えば、バスを介して互いに通信可能に接続されている。 As shown in FIG. 1, the server 20 includes a communication IF 22, an input/output IF 23, a memory 25, a storage 26, and a processor 29. The communication IF 22, the input/output IF 23, the memory 25, the storage 26, and the processor 29 are communicatively connected to each other, for example, via a bus.
通信IF22は、サーバ20が外部の装置と通信するため、信号を送受信するためのインタフェースである。入出力IF23は、ユーザからの入力操作を受け付けるための入力装置、及び、ユーザに対し情報を提示するための出力装置とのインタフェースとして機能する。メモリ25は、プログラム、及び、プログラム等で処理されるデータ等を一時的に記憶するためのものであり、例えばDRAM等の揮発性のメモリにより実現される。 The communication IF 22 is an interface for sending and receiving signals so that the server 20 can communicate with external devices. The input/output IF 23 functions as an interface with an input device for accepting input operations from the user and an output device for presenting information to the user. The memory 25 is used to temporarily store programs and data processed by programs, etc., and is realized by volatile memory such as DRAM.
ストレージ26は、データを保存するための記憶装置であり、例えばフラッシュメモリ、HDD等の不揮発性のメモリにより実現される。ストレージ26は、必ずしも単独の回路により実現されなくてもよい。ストレージ26は、例えば、複数の記憶回路により実現されてもよい。プロセッサ29は、プログラムに記述された命令セットを実行するためのハードウェアであり、演算装置、レジスタ、周辺回路などにより構成される。 Storage 26 is a storage device for saving data, and is realized by non-volatile memory such as flash memory or HDD. Storage 26 does not necessarily have to be realized by a single circuit. Storage 26 may be realized by, for example, multiple memory circuits. Processor 29 is hardware for executing a set of instructions written in a program, and is made up of an arithmetic unit, registers, peripheral circuits, etc.
<1.1 端末装置の構成>
図2は、本実施形態のシステム1に含まれる端末装置10の構成を示すブロック図である。図2に示すように、端末装置10は、通信部121と、入力装置13と、出力装置14と、記憶部170と、制御部180とを備える。
<1.1 Configuration of terminal device>
2 is a block diagram showing the configuration of the terminal device 10 included in the system 1 of this embodiment. As shown in FIG. 2, the terminal device 10 includes a communication unit 121, an input device 13, an output device 14, a storage unit 170, and a control unit 180.
通信部121は、端末装置10が他の装置と通信するための処理を行う。通信部121は、制御部180で生成された信号に送信処理を施し、外部(例えば、サーバ20)へ送信する。通信部121は、外部から受信した信号に受信処理を施し、制御部180へ出力する。 The communication unit 121 performs processing to enable the terminal device 10 to communicate with other devices. The communication unit 121 performs transmission processing on signals generated by the control unit 180 and transmits them to the outside (e.g., server 20). The communication unit 121 performs reception processing on signals received from the outside and outputs them to the control unit 180.
入力装置13は、端末装置10を所有するユーザが指示を入力するための装置である。入力装置13は、例えば、マウス131、キーボード132、及び、操作面へ触れることで指示が入力されるタッチ・センシティブ・デバイス133等により実現される。入力装置13は、ユーザから入力される指示を電気信号へ変換し、電気信号を制御部180へ出力する。なお、入力装置13は、マウス131、及びキーボード132等の物理的な操作デバイスに限定されない。入力装置13には、例えば、外部の入力機器から入力される電気信号を受け付ける受信ポートが含まれてもよい。 The input device 13 is a device through which the user of the terminal device 10 inputs instructions. The input device 13 is realized, for example, by a mouse 131, a keyboard 132, and a touch-sensitive device 133, which inputs instructions by touching the operation surface. The input device 13 converts instructions input by the user into electrical signals and outputs the electrical signals to the control unit 180. Note that the input device 13 is not limited to physical operation devices such as the mouse 131 and keyboard 132. The input device 13 may also include, for example, a receiving port that receives electrical signals input from an external input device.
出力装置14は、端末装置10を所有するユーザへ情報を提示するための装置である。出力装置14は、例えば、ディスプレイ141等により実現される。ディスプレイ141は、制御部180の制御に応じて、画像、動画、テキスト等のデータを表示する。ディスプレイ141は、例えば、LCD(Liquid Crystal Display)、又は有機EL(Electro-Luminescence)ディスプレイ等によって実現される。 The output device 14 is a device for presenting information to the user who owns the terminal device 10. The output device 14 is realized, for example, by a display 141. The display 141 displays data such as images, videos, and text in accordance with the control of the control unit 180. The display 141 is realized, for example, by an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display.
記憶部170は、例えば、メモリ15、及びストレージ16等により実現され、端末装置10が使用するデータ、及びプログラムを記憶する。 The memory unit 170 is realized, for example, by memory 15 and storage 16, and stores data and programs used by the terminal device 10.
制御部180は、プロセッサ19が記憶部170に記憶されるプログラムを読み込み、プログラムに含まれる命令を実行することにより実現される。制御部180は、端末装置10の動作を制御する。具体的には、例えば、制御部180は、操作受付部181、送受信部182、表示制御部183としての機能を発揮する。 The control unit 180 is realized when the processor 19 reads a program stored in the storage unit 170 and executes the instructions contained in the program. The control unit 180 controls the operation of the terminal device 10. Specifically, for example, the control unit 180 performs the functions of an operation reception unit 181, a transmission/reception unit 182, and a display control unit 183.
操作受付部181は、入力装置13から入力されるユーザの操作を受け付けるための処理を行う。送受信部182は、端末装置10が、サーバ20等の外部の装置と、通信プロトコルに従ってデータを送受信するための処理を行う。表示制御部183は、ユーザに対して種々の情報を提示するため、出力装置14を制御する。 The operation reception unit 181 performs processing to receive user operations input from the input device 13. The transmission/reception unit 182 performs processing to enable the terminal device 10 to transmit and receive data to and from external devices such as the server 20 in accordance with a communication protocol. The display control unit 183 controls the output device 14 to present various information to the user.
<1.2 サーバの機能的構成>
図3は、本実施形態のシステム1に含まれるサーバ20の機能的な構成を示すブロック図である。図3に示すように、サーバ20は、通信部201、記憶部202、及び制御部203としての機能を発揮する。
<1.2 Functional configuration of the server>
3 is a block diagram showing the functional configuration of the server 20 included in the system 1 of this embodiment. As shown in FIG. 3, the server 20 functions as a communication unit 201, a storage unit 202, and a control unit 203.
通信部201は、サーバ20が外部の装置と通信するための処理を行う。 The communication unit 201 performs processing that enables the server 20 to communicate with external devices.
記憶部202は、サーバ20が使用するデータ及びプログラムを記憶する。例えば、記憶部202は、テストケースデータベース(DB)281、タスクデータベース(DB)282を記憶する。 The memory unit 202 stores data and programs used by the server 20. For example, the memory unit 202 stores a test case database (DB) 281 and a task database (DB) 282.
テストケースDB281は、テストケースに関する情報を記憶するためのデータベースである。 Test case DB281 is a database for storing information about test cases.
タスクDB282は、発生したタスクを管理するためのデータベースである。タスクDB282において、タスクは、例えば、チケット単位で管理される。 Task DB282 is a database for managing tasks that have occurred. In task DB282, tasks are managed, for example, on a ticket-by-ticket basis.
制御部203は、プロセッサ29が記憶部202に記憶されるプログラムを読み込み、プログラムに含まれる命令を実行することにより実現される。制御部203は、サーバ20の動作を制御する。具体的には、例えば、制御部203は、操作受付部2031、送受信部2032、記憶制御部2033、提示部2034、分析部2035、設定部2036、予測部2037としての機能を発揮する。 The control unit 203 is realized when the processor 29 reads a program stored in the memory unit 202 and executes the instructions included in the program. The control unit 203 controls the operation of the server 20. Specifically, for example, the control unit 203 performs the functions of an operation reception unit 2031, a transmission/reception unit 2032, a memory control unit 2033, a presentation unit 2034, an analysis unit 2035, a setting unit 2036, and a prediction unit 2037.
操作受付部2031は、ユーザからの操作を受け付ける。操作受付部2031は、例えば、ユーザとしてのテスト実施者によるテストケースの指定、テストの実施結果の入力等を受け付ける。また、操作受付部2031は、例えば、ユーザとしての開発者によるチケットに対する入力等を受け付ける。 The operation reception unit 2031 receives operations from the user. For example, the operation reception unit 2031 receives the specification of test cases by testers as users, and input of test implementation results. The operation reception unit 2031 also receives, for example, input on tickets by developers as users.
送受信部2032は、サーバ20が、端末装置10等の外部の装置と、通信プロトコルに従ってデータを送受信する処理を制御する。 The transmission/reception unit 2032 controls the process by which the server 20 transmits and receives data to and from external devices such as the terminal device 10 in accordance with a communication protocol.
記憶制御部2033は、記憶部202への情報の記憶を制御する。具体的には、例えば、記憶制御部2033は、テスト実施者から、テスト実施済みのテストケースに関する情報が入力されると、入力された情報をテストケースDB281に記憶する。記憶制御部2033は、開発者から、実施されたテストの結果に対する応答が入力されると、入力された応答に関する情報をテストケースDB281に記憶する。記憶制御部2033は、実施されたテストの結果を分析した情報をテストケースDB281に記憶する。記憶制御部2033は、実施されたテストの分析結果に基づく予測情報をテストケースDB281に記憶する。 The memory control unit 2033 controls the storage of information in the memory unit 202. Specifically, for example, when a tester inputs information about a test case that has already been tested, the memory control unit 2033 stores the input information in the test case DB 281. When a developer inputs a response to the results of the test that has been conducted, the memory control unit 2033 stores information about the input response in the test case DB 281. The memory control unit 2033 stores information obtained by analyzing the results of the conducted test in the test case DB 281. The memory control unit 2033 stores prediction information based on the analysis results of the conducted test in the test case DB 281.
また、記憶制御部2033は、例えば、テスト実施者、又は開発者からタスクに関する情報が入力されると、入力された情報をタスクDB282に記憶する。 In addition, when information about a task is input, for example, by a tester or developer, the storage control unit 2033 stores the input information in the task DB 282.
提示部2034は、テストケースDB281に記憶されている情報を、ユーザが望む態様で提示する。具体的には、提示部2034は、プロジェクトの選択画面を端末装置10のディスプレイ141に表示させる。また、提示部2034は、テストスイートの選択画面をディスプレイ141に表示させる。本実施形態において、テストスイートは、例えば、所定の機能についての複数のテストケースデータを含む。テストケースデータは、例えば、テスト設計書で定義されるテストケースがテストの実施管理が可能な形式に変換されたデータである。複数のテストケースデータそれぞれは、共通のデータ構造をしている。テストスイートは、例えば、テスト実施者がテストを実施しやすい一式のテストケースデータを含む。テスト実施者がテストを実施しやすい一式のテストケースデータとは、例えば、同一の機能についてのテストケースデータ、又は、同一のモジュールについてのテストケースデータ等である。 The presentation unit 2034 presents the information stored in the test case DB 281 in a format desired by the user. Specifically, the presentation unit 2034 displays a project selection screen on the display 141 of the terminal device 10. The presentation unit 2034 also displays a test suite selection screen on the display 141. In this embodiment, a test suite includes, for example, multiple test case data for a specific function. Test case data is, for example, data in which test cases defined in a test design document are converted into a format that enables test implementation management. Each of the multiple test case data has a common data structure. A test suite includes, for example, a set of test case data that is easy for a tester to implement tests. A set of test case data that is easy for a tester to implement tests is, for example, test case data for the same function or test case data for the same module.
また、提示部2034は、テストケースについてのテストの実施結果を入力させる画面をディスプレイ141に表示させる。また、提示部2034は、テストの実施結果に基づく分析情報を表示する画面をディスプレイ141に表示させる。また、提示部2034は、テストの実施結果に基づく予測情報を表示する画面をディスプレイ141に表示させる。 The presentation unit 2034 also causes the display 141 to display a screen that allows the user to input the results of the test for the test case. The presentation unit 2034 also causes the display 141 to display a screen that displays analysis information based on the results of the test. The presentation unit 2034 also causes the display 141 to display a screen that displays prediction information based on the results of the test.
分析部2035は、テストの実施結果に関する情報を分析する。具体的には、分析部2035は、テストの実施結果を分析し、実施工数、生産性、不具合数、不具合率等を算出する。また、分析部2035は、テストの実施結果を分析し、不具合を発生しやすいテストケースを抽出する。不具合を発生しやすいテストケースは、例えば、優先してテストを実施するべきテストケースと換言可能である。分析部2035は、例えば、不具合が発生する件数に係る数値(不具合数、又は不具合率等)、生産性等に基づいて優先してテストを実施するべきテストケースを抽出する。 The analysis unit 2035 analyzes information related to the results of the tests. Specifically, the analysis unit 2035 analyzes the results of the tests and calculates the number of man-hours required, productivity, number of defects, defect rate, etc. The analysis unit 2035 also analyzes the results of the tests and extracts test cases that are likely to cause defects. Test cases that are likely to cause defects can be said to be test cases that should be tested with priority, for example. The analysis unit 2035 extracts test cases that should be tested with priority based on, for example, numerical values related to the number of defects that occur (number of defects, defect rate, etc.), productivity, etc.
また、分析部2035は、テストの実施結果に対する開発者からの応答を分析し、不具合を発生しやすいテストケース、すなわち、優先してテストを実施するべきテストケースを抽出する。分析部2035は、例えば、発生した不具合を改修する工数に係る数値、発生した不具合の要因に基づき、優先的に対応するべきテストケースを抽出する。 The analysis unit 2035 also analyzes responses from developers to the test results and extracts test cases that are likely to cause defects, i.e., test cases that should be prioritized for testing. The analysis unit 2035 extracts test cases that should be prioritized based on, for example, the numerical value related to the amount of work required to fix any defects that occur and the cause of the defects that occur.
設定部2036は、テストスイート、又はテストケースデータに対し、テストを実施するべき順序を設定する。例えば、設定部2036は、プロジェクトのテスト工程を開始する前に、テストスイート、又はテストケースデータに対し、テストを実施するべき順序を設定する。具体的には、設定部2036は、開発しているソフトウェアにおける重要な機能と対応するテストスイート、及びこのテストスイートに含まれるテストケースデータに優先的な順序を付与する。また、設定部2036は、過去に行った同一又は類似のテストの結果に基づき、テストスイート、又はテストケースデータに対し、優先的な順序を付与する。 The setting unit 2036 sets the order in which tests should be performed on test suites or test case data. For example, before starting the testing process for a project, the setting unit 2036 sets the order in which tests should be performed on test suites or test case data. Specifically, the setting unit 2036 assigns a priority order to test suites that correspond to important functions in the software being developed, and to the test case data included in these test suites. The setting unit 2036 also assigns a priority order to test suites or test case data based on the results of identical or similar tests conducted in the past.
また、設定部2036は、例えば、テスト工程において実施済みのテストの結果を利用し、テストスイート、又はテストケースデータに対し、実施するべき順序を設定する。具体的には、設定部2036は、分析部2035により抽出されたテストケースについてのデータ、及びこのテストケースデータを含むテストスイートに優先的な順序を付与する。 The setting unit 2036 also uses, for example, the results of tests already performed in the testing process to set the order in which test suites or test case data should be performed. Specifically, the setting unit 2036 assigns a priority order to data about test cases extracted by the analysis unit 2035 and to test suites that include this test case data.
予測部2037は、ユーザにより選択された順序でテストを実施した際のテストの動向を予測する。具体的には、例えば、予測部2037は、実施済みのテストケースに基づき、未実施のテストケースで発生する不具合を含めた不具合の数、又は不具合率を予測する。また、予測部2037は、例えば、実施済みのテストケースで発生した不具合の改修工数、改修後確認工数に基づき、未実施のテストケースで発生する不具合の改修工数を含めた不具合の改修工数、改修後確認工数を予測する。 The prediction unit 2037 predicts the trend of tests when they are performed in the order selected by the user. Specifically, for example, the prediction unit 2037 predicts the number of defects, including defects that occur in test cases that have not yet been performed, or the defect rate, based on test cases that have already been performed. Furthermore, the prediction unit 2037 predicts the number of defect repair man-hours, including the number of defect repair man-hours for defects that occur in test cases that have not yet been performed, and the number of defect check man-hours after repair, based on the number of defect repair man-hours for defects that have occurred in test cases that have already been performed and the number of defect check man-hours after repair.
<2 データ構造>
図4は、サーバ20が記憶するテストケースDB281のデータ構造を示す図である。図4に示すテストケースDB281は、テスト設計書においてテストケースを規定するために用いられる、「観点」、「因子」、及び「水準」を項目として含んでいる。「観点」は、テストの拠り所となる見地(考え方)を表す。「因子」は、コンピュータの状態変化に影響を与え得る要因を表す。「水準」は、「因子」の具体的な要素を表す。図4では、機能Aにおける観点Aの因子A-水準AA~ACと、観点Bの因子B-水準BA~BCとについてのテストが既に実施されている場合が示されている。また、図4は一例であり、記載されていないデータを除外するものではない。
<2 Data Structure>
FIG. 4 is a diagram showing the data structure of the test case DB 281 stored in the server 20. The test case DB 281 shown in FIG. 4 includes the items "perspective,""factor," and "level," which are used to define test cases in the test design document. "Perspective" represents the standpoint (way of thinking) on which the test is based. "Factor" represents a factor that can affect changes in the computer's state. "Level" represents a specific element of a "factor." FIG. 4 shows a case in which tests have already been conducted for factor A-levels AA to AC of perspective A and factor B-levels BA to BC of perspective B for function A. Note that FIG. 4 is an example and does not exclude data not listed.
図4に示すテストケースDB281は、例えば、所定のプロジェクトのテストケースに対して構築されたものである。プロジェクトが複数存在する場合には、テストケースDB281は、例えば、プロジェクト毎に構築されてもよい。 The test case DB281 shown in FIG. 4 is constructed, for example, for the test cases of a specific project. If there are multiple projects, the test case DB281 may be constructed, for example, for each project.
図4に示すように、テストケースDB281のレコードの各々は、項目「画面」、項目「機能」、項目「担当者」、項目「モジュール」、項目「観点」、項目「因子」、項目「水準」、項目「総ケース数」、項目「実施済みケース数」、項目「実施工数」、項目「生産性」、項目「不具合要因」、項目「実績」、項目「予測」等を含む。 As shown in Figure 4, each record in test case DB281 includes the following items: "Screen", "Function", "Person in charge", "Module", "Perspective", "Factor", "Level", "Total number of cases", "Number of cases performed", "Performance man-hours", "Productivity", "Cause of defect", "Actual results", "Prediction", etc.
項目「画面」は、機能が発現される画面に関する情報を記憶する。画面に関する情報は、例えば、画面の名称、又は、画面データへアクセスするためのリンクを含む。 The "Screen" item stores information about the screen on which the function is displayed. Information about the screen includes, for example, the name of the screen or a link to access the screen data.
項目「機能」は、ソフトウェアが有する機能に関する情報を記憶する。機能に関する情報は、例えば、「ログイン機能」のように、機能の名称を含む。機能の名称は、担当者により任意に入力されてもよいし、予め登録されているものから選択されてもよい。 The "Function" item stores information about the functions possessed by the software. Information about the function includes the name of the function, such as "login function." The function name may be entered arbitrarily by the person in charge, or may be selected from pre-registered names.
項目「担当者」は、機能の開発者の名称を記憶する。なお、名称に限らず、開発者が識別可能であれば、名称に限らない。識別番号であっても、アドレス等であってもよい。 The "Person in Charge" item stores the name of the developer of the function. Note that this is not limited to a name; it can be anything that identifies the developer. It can also be an identification number, address, etc.
項目「モジュール」は、テスト実施者がテストを実施する際に操作するモジュールを記憶する。 The "Module" item stores the module that the tester operates when conducting the test.
項目「観点」は、テストの拠り所となる見地(考え方)を記憶する。項目「観点」は、項目「機能」が「ログイン機能」である場合、例えば、「正常認証」、「認証チェック」、「パスワード保持」等を記憶し得る。 The "Perspective" item stores the viewpoint (concept) that the test is based on. If the "Function" item is a "login function," the "Perspective" item may store, for example, "Successful authentication," "Authentication check," "Password retention," etc.
項目「因子」は、コンピュータの状態変化に影響を与え得る要因を記憶する。項目「因子」は、項目「観点」が「正常認証」である場合、例えば、「ID/PWの不整合有無」等を記憶し得る。 The "Factor" item stores factors that may affect changes in the computer's status. If the "Perspective" item is "Successful Authentication," the "Factor" item may store, for example, "Whether or not there is an ID/PW mismatch."
項目「水準」は、「因子」において具体的な操作をグループ化したもの記憶する。項目「水準」は、項目「因子」が「ID/PWの不整合有無」である場合、例えば、「IDが不整合」、「PWが不整合」、「ID/PW両方ともに不整合」、「ID/PW共に整合」等を含む。 The "Level" item stores specific operations grouped together in the "Factor." If the "Factor" item is "ID/PW inconsistency," the "Level" item includes, for example, "ID inconsistent," "PW inconsistent," "Both ID and PW inconsistent," and "ID and PW both consistent."
項目「総ケース数」は、各水準で発生するテストケースの総数を記憶する。 The "Total Cases" item stores the total number of test cases that occur at each level.
項目「実施済みケース数」は、テストが実施されたテストケースの数を記憶する。図4に示すテストケースDB281では、機能Aにおける観点Aの因子A-水準AA~ACと、観点Bの因子B-水準BA~BCとについて、全てのテストケースのテストが実施されている。 The "Number of Implemented Cases" item stores the number of test cases that have been implemented. In the test case DB 281 shown in Figure 4, all test cases have been implemented for factor A-levels AA to AC of perspective A in function A, and factor B-levels BA to BC of perspective B.
項目「実施工数」は、属するテストケースを実施するのにかかった工数を記憶する。工数は、テスト実施者からの申告に基づいて取得されてもよいし、テスト実施者の操作ログに基づいて自動で取得されてもよい。 The "Man-hours Implemented" item stores the man-hours required to implement the associated test case. Man-hours may be obtained based on a report from the tester, or may be obtained automatically based on the tester's operation log.
項目「生産性」は、1テストケースに対してかかった時間を記憶する。図4に示す例では、1テストケースに対してかかった「分」を記憶する。 The "Productivity" item stores the time taken for one test case. In the example shown in Figure 4, the number of minutes taken for one test case is stored.
項目「不具合要因」は、テストで発生した不具合の要因毎の発生数を記憶する。項目「不具合要因」は、複数のサブ項目を含む。サブ項目には、不具合が発生した要因が割り当てられている。サブ項目に割り当てられている要因には、要因が埋め込まれた工程に応じた優先度が設定されている。 The "Defect Cause" item stores the number of occurrences of each cause of defects that occurred during testing. The "Defect Cause" item contains multiple sub-items. The causes of defects that occurred are assigned to the sub-items. The causes assigned to the sub-items are assigned a priority according to the process in which the cause is embedded.
ソフトウェア開発は、例えば、要件定義、基本設計、詳細設計、コーディング、テストの順で作業工程が進められる。これらの各開発工程において、欠陥が埋め込まれる可能性がある。上流側の工程で埋め込まれた欠陥がある場合、テスト工程での検出が遅れるほど、欠陥を改修するためのコストは大きくなる。また、テスト工程での検出が遅れるほど、デグレーションが発生するリスクが向上する。そこで、不具合の要因について、要因が埋め込まれた工程に応じた優先度を設定することで発生した不具合を解消する重要度が分かるようになっている。 In software development, the work processes proceed in the following order, for example: requirements definition, basic design, detailed design, coding, and testing. There is a possibility that defects may be embedded in each of these development processes. If a defect is embedded in an upstream process, the longer it is delayed in detecting it in the testing process, the greater the cost of fixing the defect. Furthermore, the longer it is delayed in detecting it in the testing process, the greater the risk of degradation occurring. Therefore, by setting priorities for the causes of defects according to the process in which the causes are embedded, it becomes possible to understand the importance of resolving the defect that has occurred.
例えば、サブ項目に割り当てられる不具合要因に対し、上流工程に由来する要因、中流工程に由来する要因、下流工程に由来する要因とのように、要因が分類されている。上流工程に由来する要因は、例えば、要件定義で埋め込まれた欠陥に関する要因であり、中流工程に由来する要因、及び下流工程に由来する要因よりも優先度は高い。中流工程に由来する要因は、例えば、基本設計、及び詳細設計で埋め込まれた欠陥に関する要因であり、下流工程に由来する要因よりも優先度は高い。下流工程に由来する要因は、例えば、コーディング、テストで埋め込まれた欠陥に関する要因である。 For example, defect factors assigned to sub-items are classified into factors originating from upstream processes, factors originating from midstream processes, and factors originating from downstream processes. Factors originating from upstream processes are, for example, factors related to defects embedded in requirements definition, and have a higher priority than factors originating from midstream processes and factors originating from downstream processes. Factors originating from midstream processes are, for example, factors related to defects embedded in basic design and detailed design, and have a higher priority than factors originating from downstream processes. Factors originating from downstream processes are, for example, factors related to defects embedded in coding and testing.
不具合が発生する要因としては、例えば、「要件漏れ」、「影響範囲考慮漏れ」、「サブシステム間認識齟齬」、「仕様検討漏れ」、「機種依存」、「プログラミング誤り」、「環境設定ミス」、「単体テスト漏れ」、「既存バグ」等が存在する。このうち、例えば、「要件漏れ」、「影響範囲考慮漏れ」が上流工程に由来する要因に相当し、「サブシステム間認識齟齬」、「仕様検討漏れ」、「機種依存」が中流工程に由来する要因に相当し、「プログラミング誤り」、「環境設定ミス」、「単体テスト漏れ」、「既存バグ」が下流工程に由来する要因に相当する。なお、上記では、工程を3つに分類しているが、分類数は3つに限定されず、2つであっても、4つ以上であってもよい。 Causes of defects include, for example, "omission of requirements," "failure to consider the scope of impact," "misunderstanding between subsystems," "failure to consider specifications," "model dependency," "programming error," "misconfiguration error," "failure to conduct unit testing," and "existing bugs." Of these, for example, "omission of requirements" and "failure to consider the scope of impact" correspond to factors originating in upstream processes, "misunderstanding between subsystems," "failure to consider specifications," and "model dependency" correspond to factors originating in midstream processes, and "programming error," "misconfiguration error," "failure to conduct unit testing," and "existing bugs" correspond to factors originating in downstream processes. Note that, although the processes are classified into three categories above, the number of categories is not limited to three and can be two, four, or more.
図4に示す例では、サブ項目として、「要件漏れ」、「影響考慮」、「シス間認識」、「仕様検討」、「作業ミス」、「環境異存」を含む。「要件漏れ」、「影響考慮」は上流工程に由来する要因に属し、「シス間認識」、「仕様検討」は中流工程に由来する要因に属し、「作業ミス」、「環境異存」は下流工程に由来する要因に属する。なお、サブ項目に割り当てられる要因はこれらに限定されない。その他の要因が加えられていてもよいし、一部の要因がなくてもよい。また、一部の要因がその他の要因と入れ替わっていてもよい。 In the example shown in Figure 4, the sub-items include "Omission of requirements," "Impact consideration," "Inter-system awareness," "Specification consideration," "Work error," and "Environmental differences." "Omission of requirements" and "Impact consideration" belong to factors originating from upstream processes, "Inter-system awareness" and "Specification consideration" belong to factors originating from midstream processes, and "Work error" and "Environmental differences" belong to factors originating from downstream processes. Note that the factors assigned to sub-items are not limited to these. Other factors may be added, or some factors may be absent. Also, some factors may be replaced with other factors.
項目「実績」は、実施されたテストの結果を記憶する。項目「実績」は、複数のサブ項目を含む。図4に示す例では、項目「実績」は、サブ項目「不具合数」、サブ項目「不具合率」、サブ項目「改修工数」、サブ項目「改修後確認工数」を含む。 The "Results" item stores the results of tests that have been conducted. The "Results" item includes multiple sub-items. In the example shown in Figure 4, the "Results" item includes the sub-item "Number of Defects," the sub-item "Defect Rate," the sub-item "Repair Man-hours," and the sub-item "Post-Repair Verification Man-hours."
サブ項目「不具合数」は、該当するテストケースのうち、不具合が発生した数を記憶する。サブ項目「不具合率」は、不具合が発生した確率を記憶する。サブ項目「不具合数」、サブ項目「不具合率」で表される情報は、例えば、テスト実施者から入力されるテストの実施結果に基づく。 The "Number of Defects" sub-item stores the number of defects that occurred among the corresponding test cases. The "Defect Rate" sub-item stores the probability that a defect occurred. The information displayed in the "Number of Defects" and "Defect Rate" sub-items is based on, for example, the test results entered by the tester.
サブ項目「改修工数」は、不具合を改修するのに要した工数を記憶する。サブ項目「改修工数」で表される情報は、例えば、プログラムの改修後に開発者から入力される情報に基づく。サブ項目「改修後確認工数」は、不具合を改修したプログラムをテストするのに要した工数を記憶する。サブ項目「改修後確認工数」で表される情報は、例えば、テスト実施者から入力される改修後のプログラムに対するテストの実施結果に基づく。 The sub-item "Man-hours to fix" stores the man-hours required to fix the defect. The information represented in the sub-item "Man-hours to fix" is based, for example, on information entered by a developer after the program has been fixed. The sub-item "Man-hours to verify after fix" stores the man-hours required to test the program after the defect has been fixed. The information represented in the sub-item "Man-hours to verify after fix" is based, for example, on the results of testing the program after the fix, entered by a tester.
項目「予測」は、提案された優先順位でテストを実施した際に予測されるテスト結果を表す。項目「予測」は、複数のサブ項目を含む。図4に示す例では、項目「予測」は、サブ項目「不具合数」、サブ項目「不具合率」、サブ項目「改修工数」、サブ項目「改修後確認工数」を含む。サブ項目「不具合数」、サブ項目「不具合率」、サブ項目「改修工数」、サブ項目「改修後確認工数」で表される情報は、例えば、実施済みのテストの実施結果に基づいて算出される。 The "Prediction" item represents the predicted test results when tests are conducted according to the proposed priority order. The "Prediction" item includes multiple sub-items. In the example shown in Figure 4, the "Prediction" item includes the sub-item "Number of Defects," the sub-item "Defect Rate," the sub-item "Repair Man-hours," and the sub-item "Post-Repair Verification Man-hours." The information represented by the sub-item "Number of Defects," the sub-item "Defect Rate," the sub-item "Repair Man-hours," and the sub-item "Post-Repair Verification Man-hours" is calculated, for example, based on the results of tests that have already been conducted.
また、図4に示すテストケースDB281は、項目「機能重要度」、項目「優先度」を含む。
項目「機能重要度」は、開発されているソフトウェアの機能の重要度を記憶する。図4に示す例では、重要度は「高」、「中」、「低」で表されているが、これに限定されない。重要度は数字で表されていてもよい。
The test case DB 281 shown in FIG. 4 also includes an item "function importance" and an item "priority".
The item "function importance" stores the importance of the function of the software being developed. In the example shown in Figure 4, the importance is expressed as "high,""medium," or "low," but is not limited to this. The importance may also be expressed as a number.
項目「優先度」は、テストケースの優先度を表す。項目「優先度」は、複数のサブ項目を含む。図4に示す例では、項目「優先度」は、サブ項目「計画」、サブ項目「修正1」、サブ項目「修正2」を含む。サブ項目「計画」は、テスト工程の開始前に設定される優先度を記憶する。サブ項目「修正1」は、テスト工程中の所定のタイミングで、実施済みのテストの実施結果に基づいて設定される優先度を記憶する。図4に示す例では、サブ項目「修正1」は、サブ項目「計画」において優先度1に設定されているテストケース、例えば、機能Aにおける観点Aの因子A、観点Bの因子Bについてのテストを実施した後に設定される優先度を記憶する。サブ項目「修正2」は、サブ項目「修正1」において優先度1に設定されているテストケース、例えば、機能Cにおける観点Dの因子Aについてのテストを実施した後に設定される優先度を記憶する。 The "Priority" item represents the priority of a test case. The "Priority" item includes multiple sub-items. In the example shown in Figure 4, the "Priority" item includes the sub-items "Plan," "Modify 1," and "Modify 2." The "Plan" sub-item stores the priority set before the start of the testing process. The "Modify 1" sub-item stores the priority set at a specific timing during the testing process based on the results of tests that have already been conducted. In the example shown in Figure 4, the "Modify 1" sub-item stores the priority set after conducting tests for test cases set as priority 1 in the "Plan" sub-item, for example, testing factor A of perspective A in function A and factor B of perspective B. The "Modify 2" sub-item stores the priority set after conducting tests for test cases set as priority 1 in the "Modify 1" sub-item, for example, testing factor A of perspective D in function C.
<3 動作>
テスト実施者によりテストが実施される際のシステム1の動作について説明する。
<3 Operation>
The operation of the system 1 when a test is administered by a test administrator will now be described.
<3.1 テストの実施>
図5は、テスト実施者によりテストが実施される際のシステム1の動作を説明する図である。
3.1 Test Implementation
FIG. 5 is a diagram illustrating the operation of the system 1 when a test is administered by a tester.
まず、端末装置10-1を操作するテスト実施者は、端末装置10-1を操作してサーバ20にアクセスする。テスト実施者は、プロジェクトに関する情報を表示するように、端末装置10-1を操作する。端末装置10-1は、テスト実施者からの操作に応じ、プロジェクトに関する情報をサーバ20に要求する。 First, the tester, who operates terminal device 10-1, operates terminal device 10-1 to access server 20. The tester operates terminal device 10-1 to display information about the project. In response to the tester's operation, terminal device 10-1 requests information about the project from server 20.
サーバ20は、端末装置10-1からの要求に応じ、プロジェクトに関する情報を端末装置10-1へ送信する。 In response to a request from the terminal device 10-1, the server 20 transmits information about the project to the terminal device 10-1.
端末装置10-1は、サーバ20から受信した情報をテスト実施者へ提示する。具体的には、例えば、端末装置10-1は、プロジェクトリストをディスプレイ141に表示させる。 The terminal device 10-1 presents the information received from the server 20 to the tester. Specifically, for example, the terminal device 10-1 displays a project list on the display 141.
図6は、ディスプレイ141に表示されるプロジェクトリストの例を表す模式図である。プロジェクトリストには、現在進められているプロジェクトがリスト状に表示される。図6に示す例では、2つのプロジェクトが表示されている。各プロジェクトを表すレコードは、例えば、項目「プロジェクトキー」、項目「プロジェクト名」、項目「現状のプロセス」、項目「開始日」、項目「ステータス」を含む。 Figure 6 is a schematic diagram showing an example of a project list displayed on display 141. The project list displays a list of projects currently underway. In the example shown in Figure 6, two projects are displayed. The record representing each project includes, for example, the items "Project Key," "Project Name," "Current Process," "Start Date," and "Status."
端末装置10-1は、テスト実施者からのプロジェクトの選択を受け付ける(ステップS101)。具体的には、テスト実施者は、例えば、リストに表示されるプロジェクトのうち、テストを要するソフトウェアに関するプロジェクトを選択する。テスト実施者によりプロジェクトが選択されると、端末装置10-1は、選択されたプロジェクトのテストスイートに関する情報をサーバ20に要求する。 The terminal device 10-1 accepts a project selection from the tester (step S101). Specifically, the tester selects, for example, a project related to software that requires testing from the projects displayed in the list. Once the project is selected by the tester, the terminal device 10-1 requests information about the test suite for the selected project from the server 20.
サーバ20は、端末装置10-1からの要求に応じ、テストスイートに関する情報をテストケースDB281から取得する。サーバ20は、取得した情報を端末装置10-1へ送信する。 In response to a request from terminal device 10-1, server 20 obtains information about the test suite from test case DB 281. Server 20 transmits the obtained information to terminal device 10-1.
端末装置10-1は、サーバ20から受信した情報をテスト実施者へ提示する。具体的には、例えば、端末装置10-1は、テストスイートのリストをディスプレイ141に表示させる。 The terminal device 10-1 presents the information received from the server 20 to the tester. Specifically, for example, the terminal device 10-1 displays a list of test suites on the display 141.
図7は、ディスプレイ141に表示されるテストスイートのリストの例を表す模式図である。テストスイートのリストには、選択されたプロジェクトに含まれるテストスイートがリスト状に表示される。図7に示す例では、5つのテストスイートが表示されている。各テストスイートを表すレコードは、例えば、項目「No」、項目「テストスイート」、項目「担当者」、項目「優先度」、項目「Scope」、項目「Feature」、項目「ケース数」、項目「進捗」、項目「更新日」を含む。項目「優先度」は、サブ項目「計画」、サブ項目「修正1」を有する。テストを実施する前の段階では、サブ項目「計画」には計画段階で設定された優先度が記憶されている。一方、サブ項目「修正1」はまだ空欄となっている。 Figure 7 is a schematic diagram showing an example of a test suite list displayed on display 141. The test suite list displays a list of test suites included in the selected project. In the example shown in Figure 7, five test suites are displayed. A record representing each test suite includes, for example, the items "No.", "Test Suite," "Responsible Person," "Priority," "Scope," "Feature," "Number of Cases," "Progress," and "Update Date." The "Priority" item has sub-items "Plan" and "Revision 1." Before testing is performed, the "Plan" sub-item stores the priority set in the planning stage. Meanwhile, the "Revision 1" sub-item is still blank.
端末装置10-1は、テスト実施者からのテストスイートの選択を受け付ける(ステップS102)。具体的には、テスト実施者は、サブ項目「計画」を参照し、優先度1のテストスイート、つまり、最も優先的にテストを実施するべきテストスイートを選択する。テスト実施者によりテストスイートが選択されると、端末装置10-1は、選択されたテストスイートのテストケースデータに関する情報をサーバ20に要求する。 The terminal device 10-1 accepts the test suite selection from the tester (step S102). Specifically, the tester refers to the sub-item "Plan" and selects the test suite with priority 1, that is, the test suite that should be tested with the highest priority. Once the test suite is selected by the tester, the terminal device 10-1 requests information about the test case data of the selected test suite from the server 20.
サーバ20は、端末装置10-1からの要求に応じ、テストケースデータに関する情報を端末装置10-1へ送信する。 In response to a request from terminal device 10-1, server 20 transmits information about the test case data to terminal device 10-1.
端末装置10-1は、サーバ20から受信した情報をテスト実施者へ提示する。具体的には、例えば、端末装置10-1は、テストケースデータのリストをディスプレイ141に表示させる。 The terminal device 10-1 presents the information received from the server 20 to the tester. Specifically, for example, the terminal device 10-1 displays a list of test case data on the display 141.
図8は、ディスプレイ141に表示されるテストケースデータのリストの例を表す模式図である。テストケースデータのリストには、選択されたテストスイートに含まれるテストケースデータがリスト状に表示される。図8に示す例では、5つのテストケースデータが表示されている。各テストケースデータを表すレコードは、例えば、項目「ID」、項目「大項目」、項目「中項目」、項目「小項目」、項目「実施結果」、項目「優先度」、項目「備考」を含む。 Figure 8 is a schematic diagram showing an example of a list of test case data displayed on display 141. The list of test case data displays the test case data included in the selected test suite in list form. In the example shown in Figure 8, five test case data are displayed. The record representing each test case data includes, for example, the items "ID", "major item", "medium item", "minor item", "implementation result", "priority", and "remarks".
項目「実施結果」には、フィールドオブジェクト1411、1412が設けられている。テストを実施していないテストケースのフィールドオブジェクト1411には、まだ実施されていないことを表す「UnExe」が表示されている。 The "Execution Results" item has field objects 1411 and 1412. The field object 1411 for a test case that has not been tested displays "UnExe," indicating that the test has not yet been performed.
項目「優先度」は、サブ項目「計画」、サブ項目「修正1」を有する。テストを実施する前の段階では、サブ項目「計画」には計画段階で設定された優先度が記憶されている。図8に示す例では、優先度1のテストスイートにおけるテストケースが表示されているため、全てのテストケースに優先度1が設定されている。一方、サブ項目「修正1」はまだ空欄となっている。 The "Priority" item has the sub-item "Plan" and the sub-item "Fix 1." Before testing is performed, the sub-item "Plan" stores the priority set during the planning stage. In the example shown in Figure 8, test cases in a test suite with priority 1 are displayed, so priority 1 is set for all test cases. However, the sub-item "Fix 1" is still blank.
テスト実施者は、サブ項目「計画」を参照し、優先度1のテストケース、つまり、最も優先的にテストを実施するべきテストケースのうちいずれかを選択する。テスト実施者によりテストケースが選択されると、端末装置10-1は、選択されたテストケースについてのテストを実施する。 The tester refers to the "Plan" sub-item and selects one of the test cases with priority 1, i.e., the test case that should be tested with the highest priority. Once the tester selects a test case, terminal device 10-1 tests the selected test case.
端末装置10-1は、テスト実施者からテストの実施結果の入力を受け付ける(ステップS103)。具体的には、例えば、テスト実施者は、ID:1のテストケースのテストを実施して不具合が発生しなかった場合、フィールドオブジェクト1411を押下し、フィールドオブジェクト1411の表示を、不具合が発生しなかったことを表す表示に切り替える。これにより、フィールドオブジェクト1411の表示は例えば、「OK」となる。 The terminal device 10-1 accepts input of the test results from the tester (step S103). Specifically, for example, if the tester tests the test case with ID: 1 and no defects occur, the tester presses the field object 1411, which changes the display of the field object 1411 to indicate that no defects occurred. As a result, the display of the field object 1411 becomes, for example, "OK."
端末装置10-1は、不具合が発生していない旨の実施結果、テストにかかった工数を、サーバ20へ送信する。サーバ20は、記憶制御部2033により、テストの実施結果、実施工数をテストケースDB281に記憶する。また、サーバ20は、分析部2035により、テストの実施結果を分析し、例えば、実施工数、生産性、不具合数、不具合率を算出する。 The terminal device 10-1 transmits the test results indicating that no defects occurred and the man-hours required for the test to the server 20. The server 20 stores the test results and the man-hours required in the test case DB 281 using the storage control unit 2033. The server 20 also analyzes the test results using the analysis unit 2035, and calculates, for example, the man-hours required, productivity, number of defects, and defect rate.
テスト実施者は、フィールドオブジェクト1411の表示を「OK」とすると、次のテストケース、例えば、ID:2のテストケースのテストに取り掛かる。 When the tester selects "OK" for the display of field object 1411, they can begin testing the next test case, for example, test case ID: 2.
一方、例えば、ID:1のテストケースのテストを実施して不具合が発生した場合、テスト実施者は、フィールドオブジェクト1411を押下し、フィールドオブジェクト1411の表示を、不具合が発生したことを表す表示に切り替える。これにより、フィールドオブジェクト1411の表示は例えば、「NG」となる。 On the other hand, if a defect occurs when testing a test case with ID: 1, the tester presses field object 1411, which changes the display of field object 1411 to indicate that a defect has occurred. As a result, the display of field object 1411 becomes, for example, "NG."
端末装置10-1は、不具合が発生した旨の実施結果、テストにかかった工数を、サーバ20へ送信する。サーバ20は、記憶制御部2033により、テストの実施結果、実施工数をテストケースDB281に記憶する。また、サーバ20は、分析部2035により、テストの実施結果を分析し、例えば、実施工数、生産性、不具合数、不具合率を算出する。 The terminal device 10-1 transmits the test results indicating that a defect has occurred and the man-hours required for the test to the server 20. The server 20 stores the test results and the man-hours required in the test case DB 281 using the storage control unit 2033. The server 20 also analyzes the test results using the analysis unit 2035, and calculates, for example, the man-hours required, productivity, number of defects, and defect rate.
テスト実施者は、フィールドオブジェクト1411の表示を「NG」に切り替えると、開発者へ発行するチケットを作成する。チケットは、プロジェクトにおける作業を管理するための単位である。本実施形態では、チケットにより、例えば、テスト実施者と開発者との間で不具合の発生を共有し、プログラムの改修を開発者のタスクとして管理する。具体的には、例えば、テスト実施者は、フィールドオブジェクト1411を押下して表示を「NG」に切り替えると、フィールドオブジェクト1412を押下する。 When the tester switches the display of field object 1411 to "NG," he or she creates a ticket to be issued to the developer. A ticket is a unit for managing work in a project. In this embodiment, tickets are used, for example, to share information about the occurrence of a defect between the tester and the developer, and to manage program modification as a task for the developer. Specifically, for example, the tester presses field object 1411 to switch the display to "NG," and then presses field object 1412.
端末装置10-1は、フィールドオブジェクト1412が押下されると、チケットの入力フォームをディスプレイ141に表示させる。 When the field object 1412 is pressed, the terminal device 10-1 displays the ticket input form on the display 141.
図9は、ディスプレイ141に表示されるチケットの入力フォームの例を表す模式図である。図9に示す例によれば、ディスプレイ141に入力ウィンドウ1413が表示される。入力ウィンドウ1413には、例えば、「Process」、「Type」、「Title」、「Priority」、「Severity」、「Assignee」、「Reporter」、「Due date」を入力するためのボックスが設けられている。 Figure 9 is a schematic diagram showing an example of a ticket input form displayed on display 141. In the example shown in Figure 9, an input window 1413 is displayed on display 141. Input window 1413 has boxes for entering, for example, "Process," "Type," "Title," "Priority," "Severity," "Assignee," "Reporter," and "Due date."
「Process」には、進行中の工程が入力される。入力は、例えば、ボックスの右端の下三角マークをクリックすると選択肢が表示されるプルダウン形式で行われる。図9に示す例では、テスト工程におけるチケットの発行であるため、「Test」が入力されている。 The ongoing process is entered in "Process." Entry is made in a pull-down format, where options are displayed by clicking the downward-pointing triangle on the right edge of the box. In the example shown in Figure 9, the ticket is being issued in the test process, so "Test" is entered.
「Type」には、チケットの種別が入力される。入力は、例えば、プルダウン形式で行われる。図9に示す例では、開発者に不具合を改修させるためのチケットの発行であるため、「Bug」が入力されている。 The type of ticket is entered in "Type." Entry is made, for example, using a pull-down menu. In the example shown in Figure 9, the ticket is being issued to have the developer fix the bug, so "Bug" is entered.
「Title」には、チケットの題目が入力される。入力は、例えば、テスト実施者から任意の内容を受け付ける。図9に示す例では、「AAAにBBBしたがCCCされないという不具合が発生した」との題目が入力されている。 The title of the ticket is entered in "Title." For example, any content can be entered from the tester. In the example shown in Figure 9, the title "I tried BBB with AAA, but a problem occurred where CCC was not performed" is entered.
「Priority」には、チケットの発行により作成されるタスクの優先度が入力される。「Severity」は、チケットの発行により作成されるタスクの重大さが入力される。「Assignee」にはチケットの発行により作成されるタスクの担当者が入力される。一般的には、ソフトウェアの開発者が該当する。「Reporter」は、チケットの作成者が入力される。これらの入力は、例えば、プルダウン形式で行われる。 "Priority" is the input for the priority of the task created by issuing a ticket. "Severity" is the input for the importance of the task created by issuing a ticket. "Assignee" is the input for the person in charge of the task created by issuing a ticket. This is generally the software developer. "Reporter" is the input for the creator of the ticket. These inputs are made, for example, in a pull-down format.
「Due date」は、チケットの発行により作成されるタスクの期限日が入力される。入力は、テスト実施者から直接の入力を受け付けてもよいし、カレンダーを介した日付けの指定を受け付けてもよい。 The "Due date" field is where the deadline for the task created by issuing a ticket is entered. This can be entered directly by the tester, or the date can be specified via a calendar.
テスト実施者は、チケットへ含める内容の入力が完了すると、フィールドオブジェクト1414を押下する。フィールドオブジェクト1414が押下されると、端末装置10-1は、テスト実施者により入力された内容をサーバ20へ送信すると共に、送信した内容をチケットとして登録するようにサーバ20に要求する。テスト実施者は、サーバ20にチケットを登録すると、次のテストケース、例えば、ID:2のテストケースのテストに取り掛かる。 When the tester has finished entering the content to be included in the ticket, he or she presses field object 1414. When field object 1414 is pressed, terminal device 10-1 transmits the content entered by the tester to server 20 and requests server 20 to register the transmitted content as a ticket. After registering the ticket on server 20, the tester begins testing the next test case, for example, test case ID: 2.
サーバ20は、端末装置10-1からの要求を受け付けると、記憶制御部2033により、受信した内容をタスクDB282に記憶し、新たなチケットとして登録する。また、サーバ20は、登録したチケットを、「Assignee」に記載される開発者へ発行する(ステップS201)。 When the server 20 receives a request from the terminal device 10-1, the storage control unit 2033 stores the received content in the task DB 282 and registers it as a new ticket. The server 20 also issues the registered ticket to the developer listed in "Assignee" (step S201).
開発者が操作する端末装置10-2は、サーバ20からチケットが発行されると、チケットが発行されたことを開発者へ通知する。開発者は、通知を受けると、発行されたチケットの内容を端末装置10-2のディスプレイ141に表示させる。 When a ticket is issued by the server 20, the terminal device 10-2 operated by the developer notifies the developer that the ticket has been issued. Upon receiving the notification, the developer displays the contents of the issued ticket on the display 141 of the terminal device 10-2.
図10は、ディスプレイ141に表示されるチケットの内容の例を表す模式図である。端末装置10-2は、チケットの内容を開発者に表示すると、開発者からの入力を受け付ける(ステップS104)。具体的には、例えば、開発者は、表示内容を確認し、所定のテストケースについてのテストで不具合が発生したことを把握すると、不具合が発生した要因を調査する。要因を突き止めると、開発者は、チケットにおいて不具合要因を記入する領域に不具合要因を入力する。図10に示す例では、「Relative Issue」が不具合要因を記入する領域に相当する。端末装置10-2は、「Relative Issue」に不具合要因が記入されると、チケットの内容が更新されたとして、記入された情報をサーバ20へ送信する。開発者は、チケットに不具合要因を入力すると、不具合が発生したソフトウェアの改修を開始する。 Figure 10 is a schematic diagram showing an example of the contents of a ticket displayed on the display 141. After displaying the contents of the ticket to the developer, the terminal device 10-2 accepts input from the developer (step S104). Specifically, for example, if the developer checks the displayed contents and determines that a defect has occurred in a test for a specific test case, they investigate the cause of the defect. After identifying the cause, the developer enters the defect cause in the area of the ticket where the defect cause is entered. In the example shown in Figure 10, "Relative Issue" corresponds to the area where the defect cause is entered. Once the defect cause has been entered in "Relative Issue," the terminal device 10-2 considers the ticket contents to have been updated and transmits the entered information to the server 20. After the developer enters the defect cause in the ticket, they begin repairing the software where the defect occurred.
サーバ20は、端末装置10-2からの情報を受信すると、記憶制御部2033により、受信した情報に基づいてタスクDB282を更新する。また、サーバ20は、チケットが更新されたことを、「Reporter」に記載されるテスト実施者へ通知する(ステップS202)。 When the server 20 receives the information from the terminal device 10-2, the storage control unit 2033 updates the task DB 282 based on the received information. The server 20 also notifies the tester listed in "Reporter" that the ticket has been updated (step S202).
テスト実施者は、テストケースが零となるまでステップS102~ステップS202の処理を繰り返す。 The tester repeats steps S102 to S202 until there are no test cases.
<3.2 改修確認テストの実施>
開発者は、図5に示すステップS104で、チケットに不具合要因を入力すると、不具合が発生したソフトウェアの改修を開始する。
<3.2 Implementation of modification confirmation tests>
In step S104 shown in FIG. 5, the developer inputs the cause of the defect into the ticket, and then starts repairing the software in which the defect occurred.
図11は、開発者によりソフトウェアが改修され、改修されたソフトウェアがテスト実施者によりテストされる際のシステム1の動作を説明する図である。 Figure 11 is a diagram that explains the operation of system 1 when software is modified by a developer and the modified software is tested by a tester.
端末装置10-2は、開発者から、ソフトウェアの改修が完了したことの報告の入力を受け付ける(ステップS105)。具体的には、例えば、開発者は、不具合の改修内容、不具合の改修にかかった工数をチケットに入力する。端末装置10-2は、不具合の改修内容、不具合の改修にかかった工数が入力されると、チケットの内容が更新されたとして、記入された情報をサーバ20へ送信する。 The terminal device 10-2 receives input from the developer reporting that the software repair has been completed (step S105). Specifically, for example, the developer enters the details of the repair of the defect and the number of man-hours required to repair the defect into the ticket. When the details of the repair of the defect and the number of man-hours required to repair the defect are entered, the terminal device 10-2 considers the ticket contents to have been updated and transmits the entered information to the server 20.
サーバ20は、端末装置10-2からの情報を受信すると、記憶制御部2033により、受信した情報に基づいてタスクDB282を更新する。また、サーバ20は、チケットが更新されたことを、「Reporter」に記載されるテスト実施者へ通知する(ステップS203)。 When the server 20 receives the information from the terminal device 10-2, the storage control unit 2033 updates the task DB 282 based on the received information. The server 20 also notifies the tester listed in "Reporter" that the ticket has been updated (step S203).
端末装置10-1は、チケットの更新がサーバ20から通知されると、チケットが更新されたことをテスト実施者へ通知する。テスト実施者は、通知を受けると、更新されたチケットの内容を端末装置10-1のディスプレイ141に表示させる。テスト実施者は、表示の内容を参照し、不具合を発生したテストケースについて再度テストを実施する。 When the terminal device 10-1 receives notification from the server 20 that the ticket has been updated, it notifies the tester that the ticket has been updated. Upon receiving the notification, the tester displays the contents of the updated ticket on the display 141 of the terminal device 10-1. The tester refers to the displayed contents and re-tests the test case in which the defect occurred.
端末装置10-1は、テスト実施者からテストの実施結果の入力を受け付ける(ステップS106)。具体的には、例えば、テスト実施者は、フィールドオブジェクト1411が「NG」のテストケースのテストを実施して不具合が発生しなかった場合、フィールドオブジェクト1411を押下し、フィールドオブジェクト1411の表示を「OK」に切り換える。 The terminal device 10-1 accepts input of the test results from the tester (step S106). Specifically, for example, if the tester tests a test case for which the field object 1411 is "NG" and no problems occur, the tester presses the field object 1411 to change the display of the field object 1411 to "OK."
端末装置10-1は、不具合が解消した旨の実施結果、改修後確認にかかった工数を、サーバ20へ送信する。サーバ20は、記憶制御部2033により、テストの実施結果、改修後確認工数をテストケースDB281に記憶する。 The terminal device 10-1 transmits the implementation results indicating that the defect has been resolved and the man-hours required for post-repair verification to the server 20. The server 20 then stores the test implementation results and the man-hours required for post-repair verification in the test case DB 281 via the storage control unit 2033.
また、例えば、フィールドオブジェクト1411が「NG」のテストケースのテストを実施して不具合が発生した場合、テスト実施者は、フィールドオブジェクト1412を押下してチケットを作成する。テスト実施者は、チケットへ含める内容の入力が完了すると、フィールドオブジェクト1414を押下する。フィールドオブジェクト1414が押下されると、端末装置10-1は、テスト実施者により入力された内容をサーバ20へ送信すると共に、送信した内容をチケットとして登録するようにサーバ20に要求する。 For example, if a problem occurs during testing of a test case where field object 1411 is "NG," the tester presses field object 1412 to create a ticket. Once the tester has finished entering the content to be included in the ticket, he or she presses field object 1414. When field object 1414 is pressed, terminal device 10-1 transmits the content entered by the tester to server 20 and requests server 20 to register the transmitted content as a ticket.
サーバ20は、端末装置10-1からの要求を受け付けると、記憶制御部2033により、受信した内容をタスクDB282に記憶し、新たなチケットとして登録する。また、サーバ20は、登録したチケットを、「Assignee」に記載される開発者へ発行する。 When the server 20 receives a request from the terminal device 10-1, the storage control unit 2033 stores the received content in the task DB 282 and registers it as a new ticket. The server 20 also issues the registered ticket to the developer listed in "Assignee."
<3.3 優先度の設定>
図12は、テストスイートに設定された優先度を設定する際のサーバ20の動作の例を示すフローチャートである。
3.3 Priority setting
FIG. 12 is a flowchart showing an example of the operation of the server 20 when setting priorities for test suites.
まず、分析部2035は、テスト実施者から、優先度の再設定の指示があるか否かを判断する(ステップS21)。例えば、図7に示すテストスイートのリスト表示、又は図8に示すテストケースデータのリスト表示において、優先度の再設定を指示するためのフィールドオブジェクトが表示されている(図示せず)。テスト実施者は、所定の理由がある場合、上記フィールドオブジェクトを押下することで、サーバ20に対し、優先度の再設定を要求する。所定の理由とは、例えば、テストを実施している最中のテストスイート中の残りのテストケースデータにおいて不具合が発生する可能性が低いこと、優先度の再設定をしたいこと等である。 First, the analysis unit 2035 determines whether the tester has instructed the tester to reset the priorities (step S21). For example, a field object for instructing the tester to reset the priorities is displayed (not shown) in the test suite list display shown in FIG. 7 or the test case data list display shown in FIG. 8. If there is a specific reason, the tester requests the server 20 to reset the priorities by pressing the field object. Examples of specific reasons include a low probability of a defect occurring in the remaining test case data in the test suite currently being tested, or a desire to reset the priorities.
優先度の再設定の指示がある場合(ステップS21のYes)、分析部2035は、処理をステップS23へ移行させる。優先度の再設定の指示がない場合(ステップS21のNo)、分析部2035は、テストケースデータのテストについて所定の要件が満たされたか否かを判断する(ステップS22)。所定の要件とは、例えば、実施結果を分析するのに十分なテストが実施済みであることを含み、具体的には、以下である。
・選択されているテストスイートに含まれる全てのテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・選択されているテストスイートにおいて、所定の観点に係る全てのテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・選択されているテストスイートにおいて、所定の因子に係る全てのテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・選択されているテストスイートにおいて、所定の水準に係る全てのテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・選択されているテストスイートにおいて、予め設定された数のテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・予め設定された数のテストケースデータについてのテストが実施されたこと、発生した不具合に対して要因が入力されたこと、又は発生した不具合が解消されたこと
・予め設定されたテスト期間のうち、所定の時間が経過したこと
If there is an instruction to reset the priority (Yes in step S21), the analysis unit 2035 proceeds to step S23. If there is no instruction to reset the priority (No in step S21), the analysis unit 2035 determines whether predetermined requirements have been met for the tests of the test case data (step S22). The predetermined requirements include, for example, whether enough tests have been performed to analyze the results of the tests, and specifically, the following:
- Testing of all test case data included in the selected test suite has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - Testing of all test case data related to a specified perspective in the selected test suite has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - Testing of all test case data related to a specified factor in the selected test suite has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - Testing of all test case data related to a specified level in the selected test suite has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - Testing of a predetermined number of test case data in the selected test suite has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - Testing of a predetermined number of test case data has been performed, causes of any defects that have occurred have been entered, or the defects that have occurred have been resolved. - A predetermined amount of time has passed within the predetermined test period.
テストケースデータのテストについて所定の要件が満たされた場合(ステップS22のYes)、分析部2035は、処理をステップS23へ移行させる。テストケースデータのテストについて所定の要件が満たされていない場合(ステップS22のNo)、分析部2035は、ステップS21~ステップS22の処理を繰り返す。 If the specified requirements for the test case data test are met (Yes in step S22), the analysis unit 2035 proceeds to step S23. If the specified requirements for the test case data test are not met (No in step S22), the analysis unit 2035 repeats the processes in steps S21 to S22.
ステップS23において、分析部2035は、実施されたテストの結果を分析し、残っているテストケースのうち、優先してテストを実施するべきテストケースを抽出する。図4に示す例では、分析部2035は、計画時に優先度1に設定されたテストスイートに含まれるテストケースについてのテストが実施されると、実施されたこれらのテストの結果を分析し、残っているテストケースから、優先してテストを実施するべきテストケースを抽出する。なお、図4において、計画時に優先度1に設定されたテストスイートに含まれるテストケースについてのテストが実施されることは、予め設定された数のテストケースデータについてのテストが実施されたことと換言されてもよい。 In step S23, the analysis unit 2035 analyzes the results of the tests that have been performed and extracts, from the remaining test cases, test cases that should be prioritized for testing. In the example shown in FIG. 4, when tests are performed on test cases included in a test suite that was set to priority 1 during planning, the analysis unit 2035 analyzes the results of these tests and extracts, from the remaining test cases, test cases that should be prioritized for testing. Note that in FIG. 4, the performance of tests on test cases included in a test suite that was set to priority 1 during planning can be rephrased as the performance of tests on a predetermined number of test case data.
図13は、分析部2035の動作の具体例を示すフローチャートである。
まず、分析部2035は、テスト実施済みのテストケースデータについて、担当者、モジュール、観点、因子、水準、不具合要因、実績を、テストケースDB281から読み出す(ステップS231)。
FIG. 13 is a flowchart showing a specific example of the operation of the analysis unit 2035.
First, the analysis unit 2035 reads out the person in charge, module, viewpoint, factor, level, defect cause, and performance for the test case data for which the test has been performed from the test case DB 281 (step S231).
分析部2035は、実施結果に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択する(ステップS232)。具体的には、例えば、分析部2035は、不具合が発生する件数に係る数値(不具合数、不具合率等)、発生した不具合を改修する工数に係る数値、発生した不具合の要因が由来するプロジェクトの工程、又はこれらのうち少なくとも2つの組み合わせを考慮して、優先してテストを実施するべきテストケースを選択する。 Based on the implementation results, the analysis unit 2035 selects test cases that should be prioritized for testing from among the test cases that have already been tested (step S232). Specifically, for example, the analysis unit 2035 selects test cases that should be prioritized for testing by taking into consideration a numerical value related to the number of defects that occur (number of defects, defect rate, etc.), a numerical value related to the labor hours required to repair the defects that have occurred, the project process from which the cause of the defects that have occurred originates, or a combination of at least two of these.
より具体的には、例えば、分析部2035は、不具合が発生する件数に係る数値、又は発生した不具合を改修する工数に係る数値が、特別な対応が要求される限界値よりも高いテストケース群がある場合、その数値が算出されたテストケース群を選択する。本実施形態において、テストケース群とは、同様の性質のテストケースとして扱われるテストケースの群を表し、例えば、因子、又は水準等毎にまとめて表される。不具合が発生する件数に係る数値、及び発生した不具合を改修する工数に係る数値が限界値を超えない場合、分析部2035は、例えば、プロジェクトの上流工程に由来する要因で不具合が発生したテストケース群を選択する。 More specifically, for example, if there is a test case group in which the numerical value relating to the number of defects that occur or the numerical value relating to the labor required to fix the defects that occur is higher than the limit value requiring special measures, the analysis unit 2035 selects the test case group for which that numerical value has been calculated. In this embodiment, a test case group refers to a group of test cases that are treated as test cases of similar nature, and is expressed, for example, by factor or level. If the numerical value relating to the number of defects that occur and the numerical value relating to the labor required to fix the defects that occur do not exceed the limit value, the analysis unit 2035 selects, for example, a test case group in which a defect occurred due to a factor originating in an upstream process of the project.
図4に示す例では、分析部2035は、不具合が発生する件数に係る数値、及び発生した不具合を改修する工数に係る数値が限界値を超えるテストケース群がないとして、上流工程に由来する要因である「要件漏れ」、「影響考慮」の要因が確認された因子Aに係るテストケース群を選択する。また、分析部2035は、次に優先してテストを実施するべきテストケース群として、下流工程に由来する要因である「作業ミス」の要因が確認された因子Bに係るテストケース群を選択する。 In the example shown in FIG. 4, the analysis unit 2035 selects a test case group related to factor A, which has been confirmed to be caused by factors such as "missing requirements" and "impact consideration," originating from upstream processes, as there are no test case groups for which the numerical values related to the number of defects that occur and the numerical values related to the labor hours required to fix the defects that have occurred exceed the limit values. Furthermore, the analysis unit 2035 selects a test case group related to factor B, which has been confirmed to be caused by "work error," originating from downstream processes, as the test case group that should be given the next highest priority for testing.
なお、テストケース群の選択は、テストケース群を規定する他の要素単位でなされてもよい。例えば、分析部2035は、観点、又は水準でテストケース群を選択してもよい。 Note that the selection of test cases may also be performed based on other elements that define the test cases. For example, the analysis unit 2035 may select test cases based on a perspective or level.
分析部2035は、選択したテストケースの特徴を特定する(ステップS233)。例えば、分析部2035は、選択したテストケースそれぞれを規定する要素、例えば、画面、機能、担当者、モジュール、観点、因子、水準等を特定する。 The analysis unit 2035 identifies the characteristics of the selected test cases (step S233). For example, the analysis unit 2035 identifies the elements that define each selected test case, such as screens, functions, personnel in charge, modules, perspectives, factors, levels, etc.
図4に示す例では、分析部2035は、上流工程に由来する要因による不具合が発生したテストケース群の特徴として、「画面A、機能A、担当者AAAA、モジュールA、観点A、因子A、水準AA~水準AC」を特定する。また、分析部2035は、下流工程に由来する要因による不具合が発生したテストケース群の特徴として、「画面A、機能A、担当者AAAA、モジュールA、観点B、因子B、水準BA~水準BC」を特定する。 In the example shown in FIG. 4, the analysis unit 2035 identifies "Screen A, Function A, Person in Charge AAAA, Module A, Viewpoint A, Factor A, Level AA to Level AC" as the characteristics of a group of test cases in which a defect occurred due to a factor originating in an upstream process. Furthermore, the analysis unit 2035 identifies "Screen A, Function A, Person in Charge AAAA, Module A, Viewpoint B, Factor B, Level BA to Level BC" as the characteristics of a group of test cases in which a defect occurred due to a factor originating in a downstream process.
分析部2035は、テスト未実施のテストケースから、特定した特徴と一致するテストケース、又は類似するテストケースを抽出する(ステップS234)。一致するテストケースとは、例えば、テストケースを規定する全ての要素、「画面、機能、担当者、モジュール、観点、因子、水準」が、実施済みのテストケースについて特定した特徴と一致するテストケースを表す。類似するテストケースとは、例えば、テストケースを規定する要素、「画面、機能、担当者、モジュール、観点、因子、水準」のうち、少なくともいずれかが、実施済みのテストケースについて特定した特徴と一致するテストケースを表す。
分析部2035は、一致する要素に応じて類似の度合いを異ならせるようにしてもよい。例えば、分析部2035は、「因子、水準」が一致していれば、テストケースの内容は近いとし、類似の度合いが高いと評価する。一方、分析部2035は、観点、モジュール、又は担当者が一致する場合、関連はしているが、類似の度合いは、「因子、水準」が一致する場合よりも低いと評価する。
The analysis unit 2035 extracts test cases that match the identified characteristics or similar test cases from the untested test cases (step S234). A matching test case refers to a test case in which all elements that define the test case, such as "screen, function, person in charge, module, viewpoint, factor, and level," match the identified characteristics of the executed test case. A similar test case refers to a test case in which at least one of the elements that define the test case, such as "screen, function, person in charge, module, viewpoint, factor, and level," matches the identified characteristics of the executed test case.
The analysis unit 2035 may vary the degree of similarity depending on the matching elements. For example, if the "factors, levels" match, the analysis unit 2035 determines that the contents of the test cases are close and evaluates the degree of similarity as high. On the other hand, if the viewpoints, modules, or personnel match, the analysis unit 2035 evaluates that although there is a relationship, the degree of similarity is lower than when the "factors, levels" match.
図4に示す例では、分析部2035は、特定した「画面A、機能A、AAAA、モジュールA、観点A、因子A、水準AA~水準AC」の特徴と類似度が高いテストケース群として、「因子及び水準」が一致するテストケース群を、テスト未実施のテストケースから抽出する。すなわち。分析部2035は、テスト未実施のテストケースの中から、「画面B、機能C、AAAA、モジュールA、観点D、因子A、水準AA~水準AC」のテストケース群を類似のテストケース群として抽出する。 In the example shown in FIG. 4, the analysis unit 2035 extracts test cases with matching "factors and levels" from untested test cases as test case groups that are highly similar to the identified features of "Screen A, Function A, AAAA, Module A, Viewpoint A, Factor A, Levels AA to AC." In other words, the analysis unit 2035 extracts the test case group of "Screen B, Function C, AAAA, Module A, Viewpoint D, Factor A, Levels AA to AC" from among the untested test cases as a similar test case group.
また、分析部2035は、特定した「画面A、機能A、AAAA、モジュールA、観点A、因子A、水準AA~水準AC」の特徴と類似度が低いテストケース群として、「画面B、機能B、BBBB、モジュールC、観点A、因子B、水準BA~水準BC」のテストケース群と、「画面A、機能A、AAAA、モジュールB、観点C、因子C、水準CA~水準CC」のテストケース群とを抽出する。 In addition, the analysis unit 2035 extracts the test case group "Screen B, Function B, BBBB, Module C, Viewpoint A, Factor B, Levels BA to BC" and the test case group "Screen A, Function A, AAAA, Module B, Viewpoint C, Factor C, Levels CA to CC" as test case groups with low similarity to the identified features of "Screen A, Function A, AAAA, Module A, Viewpoint A, Factor A, Levels AA to AC."
また、分析部2035は、特定した「画面A、機能A、AAAA、モジュールB、観点B、因子B、水準BA~水準BC」の特徴と類似度が高いテストケースとして、「因子及び水準」が一致するテストケースを、テスト未実施のテストケースから抽出する。すなわち。分析部2035は、テスト未実施のテストケースの中から、「画面B、機能B、BBBB、モジュールC、観点A、因子B、水準BA~水準BC」のテストケースを類似のテストケースとして抽出する。 The analysis unit 2035 also extracts test cases with matching "factors and levels" from untested test cases as test cases that are highly similar to the identified features of "Screen A, Function A, AAAA, Module B, Viewpoint B, Factor B, Level BA to Level BC." In other words, the analysis unit 2035 extracts test cases with "Screen B, Function B, BBBB, Module C, Viewpoint A, Factor B, Level BA to Level BC" from among untested test cases as similar test cases.
また、分析部2035は、特定した「画面A、機能A、AAAA、モジュールB、観点B、因子B、水準BA~水準BC」の特徴と類似度が低いテストケース群として、「画面A、機能A、AAAA、モジュールA、観点A、因子A、水準AA~水準AC」のテストケース群と、「画面A、機能A、AAAA、モジュールB、観点C、因子C、水準CA~水準CC」のテストケース群とを抽出する。 In addition, the analysis unit 2035 extracts the test case group "Screen A, Function A, AAAA, Module B, Viewpoint B, Factor B, Level BA-Level BC" as a group of test cases with low similarity to the identified features of "Screen A, Function A, AAAA, Module A, Viewpoint A, Factor A, Level AA-Level AC" and the test case group "Screen A, Function A, AAAA, Module B, Viewpoint C, Factor C, Level CA-Level CC."
分析部2035は、テストケース、又はテストスイートと関連付けられている機能仕様書に基づいて類似の判断をしてもよい。機能仕様書は、検査対象が有する機能についての仕様が記載されているデータである。テストケースを規定するテスト設計書は、機能仕様書を参照しながら作成される。テストケース、又はテストスイートには、作成の際に参照した機能仕様書についての情報が関連付けられている。分析部2035は、ステップS232で選択されたテストケースに機能仕様書が関連付けられている場合、テスト未実施のテストケースから、同一の機能仕様書が関連付けられているテストケースを類似のテストケースとして抽出してもよい。 The analysis unit 2035 may make a similarity determination based on a functional specification associated with the test case or test suite. A functional specification is data that describes the specifications for the functions possessed by the test target. A test design document that defines a test case is created with reference to the functional specification. Information about the functional specification referenced during creation is associated with the test case or test suite. If a functional specification is associated with the test case selected in step S232, the analysis unit 2035 may extract test cases associated with the same functional specification from untested test cases as similar test cases.
図12の説明に戻り、設定部2036は、ステップS23で抽出されたテストケースを参照し、テスト未実施のテストケースに対して優先度を設定する(ステップS24)。 Returning to the explanation of Figure 12, the setting unit 2036 references the test cases extracted in step S23 and sets priorities for test cases that have not yet been tested (step S24).
具体的には、設定部2036は、優先してテストを実施するべきテストケースと一致するテストケース、又は類似する度合の高いテストケースに、高い優先度を設定する。より具体的には、設定部2036は、優先してテストを実施するべき理由、選択したテストケースとの類似の度合い等を総合的に勘案し、優先度を設定する。優先してテストを実施するべき理由には、例えば、プロジェクトに特有な事情、改修工数の程度、不具合率の程度、担当者のスキルの偏り等、様々な要因が含まれる。 Specifically, the setting unit 2036 sets a high priority for test cases that match or are highly similar to test cases that should be given priority for testing. More specifically, the setting unit 2036 sets the priority by comprehensively taking into consideration the reasons why a test should be given priority, the degree of similarity to the selected test case, etc. Reasons why a test should be given priority include various factors, such as circumstances specific to the project, the amount of repair work required, the defect rate, and variations in the skills of the people in charge.
図4に示す例では、設定部2036は、抽出した「画面A、機能A、AAAA、モジュールA、観点A、因子A、水準AA~水準AC」のテストケース群に対して優先度1を設定する。また、設定部2036は、このテストスイートにおいて、実施済みのテストの不具合要因、不具合率、改修工数等に基づき、水準毎に優先度を設定してもよい。例えば、設定部2036は、水準AAのテストケース群に優先度1、水準ACのテストケース群に優先度2、水準ABのテストケース群に優先度3を設定してもよい。 In the example shown in FIG. 4, the setting unit 2036 sets a priority of 1 for the extracted test case group of "Screen A, Function A, AAAA, Module A, Viewpoint A, Factor A, Levels AA to AC." The setting unit 2036 may also set a priority for each level in this test suite based on the defect causes, defect rate, repair labor hours, etc. of tests that have already been performed. For example, the setting unit 2036 may set a priority of 1 for the test case group of level AA, a priority of 2 for the test case group of level AC, and a priority of 3 for the test case group of level AB.
また、設定部2036は、抽出した「画面B、機能B、BBBB、モジュールC、観点A、因子B、水準BA~水準BC」のテストケース群に対して優先度2を設定する。また、設定部2036は、このテストスイートにおいて、実施済みのテストの不具合要因、不具合率、改修工数等に基づき、水準毎に優先度を設定してもよい。例えば、設定部2036は、水準BAのテストケース群に優先度1、水準BCのテストケース群に優先度2、水準BBのテストケース群に優先度3を設定してもよい。 The setting unit 2036 also sets a priority of 2 for the extracted test case group of "Screen B, Function B, BBBB, Module C, Viewpoint A, Factor B, Level BA to Level BC." The setting unit 2036 may also set a priority for each level in this test suite based on the defect causes, defect rate, repair labor hours, etc. of tests that have already been performed. For example, the setting unit 2036 may set a priority of 1 for the test case group of level BA, a priority of 2 for the test case group of level BC, and a priority of 3 for the test case group of level BB.
また、設定部2036は、「画面A、機能A、AAAA、モジュールB、観点C、因子C、水準CA~水準CC」に対し、類似の度合いが低いとして優先度3を設定する。 Furthermore, the setting unit 2036 assigns a priority of 3 to "Screen A, Function A, AAAA, Module B, Viewpoint C, Factor C, Levels CA to CC" as they have a low degree of similarity.
なお、選択したテストケースの実績、不具合要因、及びテスト未実施のテストケースから抽出されたテストケースの類似の度合によっては、テストケースに同一の優先度が設定されることもあり得る。 In addition, depending on the track record of the selected test case, the cause of the defect, and the degree of similarity of the test cases extracted from the untested test cases, the test cases may be assigned the same priority.
記憶制御部2033は、設定された優先度を、修正後の優先度としてテストケースDB281に記憶する。
図14~図17は、実施済みのテスト結果に基づいて優先度が修正された際のディスプレイ141の表示例を表す模式図である。
The storage control unit 2033 stores the set priority in the test case DB 281 as the corrected priority.
14 to 17 are schematic diagrams showing examples of what is displayed on the display 141 when priorities are corrected based on the results of tests that have already been carried out.
図14は、ディスプレイ141に表示されるテストスイートのリストの例を表す模式図である。図14に示す例は、機能A-1のテストスイートについてのテストが終了した後に、設定部2036により、優先度が修正される場合のディスプレイ141の表示画面を表している。図14に示す例によれば、優先度4だった機能Cのテストスイートの優先度が1となり、優先度3だった機能Bのテストスイートの優先度が2となり、優先度2だった機能A-2のテストスイートの優先度が3となり、優先度5だった機能Dのテストスイートの優先度が4となっている。 Figure 14 is a schematic diagram showing an example of a list of test suites displayed on display 141. The example shown in Figure 14 represents the display screen of display 141 when the priorities are modified by setting unit 2036 after testing of the test suite for function A-1 is completed. According to the example shown in Figure 14, the priority of the test suite for function C, which was priority 4, becomes 1; the priority of the test suite for function B, which was priority 3, becomes 2; the priority of the test suite for function A-2, which was priority 2, becomes 3; and the priority of the test suite for function D, which was priority 5, becomes 4.
図15は、ディスプレイ141に表示されるテストケースデータのリストの例を表す模式図である。図15に示す例は、図14において、優先度1の機能Cのテストスイートが選択された場合のテストケースデータのリスト表示を表している。図15に示す例によれば、優先度4だったテストケースデータの優先度が優先度1となっている。 Figure 15 is a schematic diagram showing an example of a list of test case data displayed on the display 141. The example shown in Figure 15 shows a list of test case data when a test suite for function C with priority 1 is selected in Figure 14. According to the example shown in Figure 15, the priority of the test case data that was priority 4 has been changed to priority 1.
図16は、ディスプレイ141に表示されるテストスイートのリストの例を表す模式図である。図16に示す例は、機能Cのテストスイートについてのテストが終了した後に、設定部2036により、優先度が修正される場合のディスプレイ141の表示画面を表している。図16に示す例によれば、優先度2だった機能Bのテストスイートの優先度が1となり、優先度3だった機能A-2のテストスイートの優先度が2となり、優先度4だった機能Dのテストスイートの優先度が3となっている。 Figure 16 is a schematic diagram showing an example of a list of test suites displayed on the display 141. The example shown in Figure 16 represents the display screen of the display 141 when the priorities are modified by the setting unit 2036 after testing of the test suite for function C is completed. According to the example shown in Figure 16, the priority of the test suite for function B, which was priority 2, is now 1; the priority of the test suite for function A-2, which was priority 3, is now 2; and the priority of the test suite for function D, which was priority 4, is now 3.
図17は、ディスプレイ141に表示されるテストケースデータのリストの例を表す模式図である。図17に示す例は、図16において、優先度1の機能Bのテストスイートが選択された場合のテストケースデータのリスト表示を表している。図17に示す例によれば、優先度2だったテストケースデータの優先度が優先度1となっている。 Figure 17 is a schematic diagram showing an example of a list of test case data displayed on the display 141. The example shown in Figure 17 shows a list of test case data when the test suite for function B with priority 1 is selected in Figure 16. According to the example shown in Figure 17, the priority of the test case data that was priority 2 has been changed to priority 1.
<3.4 テスト動向の予測>
図18は、テスト動向を予測する際のサーバ20の動作の例を示すフローチャートである。
3.4 Test Trend Prediction
FIG. 18 is a flowchart showing an example of the operation of the server 20 when predicting test trends.
テスト実施者は、テストの動向、つまり、残テストケース数の推移、不具合数の推移の予測情報等を確認したい場合、テスト動向の表示を指示するためのフィールドオブジェクトを押下する。フィールドオブジェクトは、例えば、ディスプレイ141に表示されている。 When a tester wants to check the test trends, i.e., the trend in the number of remaining test cases, predicted information on the trend in the number of defects, etc., the tester presses a field object to instruct the display of test trends. The field object is displayed, for example, on display 141.
予測部2037は、フィールドオブジェクトが押下されると、テストが既にされたテストケース数が所定の要件を満たすか否かを判断する(ステップS25)。所定の要件とは、例えば、テストの動向を予測可能な程度の数のテストが実施されていることを含み、具体的には、以下である。
・いずれかのテストスイートに含まれる全てのテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
・いずれかのテストスイートにおいて、所定の観点に係る全てのテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
・いずれかのテストスイートにおいて、所定の因子に係る全てのテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
・いずれかのテストスイートにおいて、所定の水準に係る全てのテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
・いずれかのテストスイートにおいて、予め設定された数のテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
・予め設定された数のテストケースデータについてのテストが実施されたこと、又は発生した不具合が解消されたこと
When the field object is pressed, the prediction unit 2037 determines whether the number of test cases that have already been tested satisfies a predetermined requirement (step S25). The predetermined requirement includes, for example, whether a sufficient number of tests have been conducted to enable the trend of testing to be predicted, and specifically, the following:
- Testing has been performed on all test case data included in any test suite, or any defects that have occurred have been resolved. - Testing has been performed on all test case data related to a specified perspective in any test suite, or any defects that have occurred have been resolved. - Testing has been performed on all test case data related to a specified factor in any test suite, or any defects that have occurred have been resolved. - Testing has been performed on all test case data related to a specified level in any test suite, or any defects that have occurred have been resolved. - Testing has been performed on a predetermined number of test case data in any test suite, or any defects that have occurred have been resolved. - Testing has been performed on a predetermined number of test case data in any test suite, or any defects that have occurred have been resolved.
テストが既にされたテストケース数が所定の要件を満たす場合(ステップS25のYes)、分析部2035は、テストが実施されたテストケースの特徴を特定する(ステップS26)。例えば、分析部2035は、テストが実施されたテストケースを規定する要素、例えば、画面、機能、担当者、モジュール、観点、因子、水準を特定する。テストが既にされたテストケース数が所定の要件を満たしていない場合(ステップS25のNo)、分析部2035は、テストケース数が要件を満たすまでステップS25の処理を繰り返す。 If the number of test cases that have already been tested meets the specified requirements (Yes in step S25), the analysis unit 2035 identifies the characteristics of the test cases that have been tested (step S26). For example, the analysis unit 2035 identifies the elements that define the test cases that have been tested, such as the screen, function, person in charge, module, perspective, factor, and level. If the number of test cases that have already been tested does not meet the specified requirements (No in step S25), the analysis unit 2035 repeats the processing of step S25 until the number of test cases meets the requirements.
分析部2035は、テスト未実施のテストケースから、特定した特徴と一致するテストケース、又は類似するテストケースを抽出する(ステップS27)。例えば、分析部2035は、テスト未実施のテストケースから、画面、機能、担当者、モジュール、観点、因子、水準が、実施済みのテストケースについて特定した画面、機能、担当者、モジュール、観点、因子、水準と一致するテストケースを抽出する。また、分析部2035は、テスト未実施のテストケースから、画面、機能、担当者、モジュール、観点、因子、水準のうち少なくともいずれかが、実施済みのテストケースについて特定した画面、機能、担当者、モジュール、観点、因子、水準と一致するテストケースを抽出する。 The analysis unit 2035 extracts test cases that match or are similar to the identified characteristics from the untested test cases (step S27). For example, the analysis unit 2035 extracts test cases from the untested test cases whose screens, functions, responsible parties, modules, perspectives, factors, and levels match the screens, functions, responsible parties, modules, perspectives, factors, and levels identified for the executed test cases. The analysis unit 2035 also extracts test cases from the untested test cases whose at least one of the screens, functions, responsible parties, modules, perspectives, factors, and levels matches the screens, functions, responsible parties, modules, perspectives, factors, and levels identified for the executed test cases.
予測部2037は、実施済みのテストケースの実績、不具合要因に基づき、抽出したテストケースに対し、テストの動向を表す種々のパラメータを算出する(ステップS28)。具体的には、予測部2037は、抽出したテストケース群における不具合数、不具合率、工数、改修工数、又は改修後確認工数を、実施済みのテストケースの実績に基づいて算出する。 The prediction unit 2037 calculates various parameters representing test trends for the extracted test cases based on the performance of the executed test cases and the causes of defects (step S28). Specifically, the prediction unit 2037 calculates the number of defects, defect rate, labor hours, repair labor hours, or post-repair verification labor hours for the extracted test case group based on the performance of the executed test cases.
例えば、予測部2037は、実施済みのテストケースのうち、所定の因子及び水準のテストケース群と、因子及び水準が一致するテストケース群に対し、対応するテストケース群の不具合率を設定する。なお、予測部2037は、因子及び水準以外の要素に基づき、不具合率を補正してもよい。予測部2037は、因子及び水準が一致するテストケース群のケース数に、設定した不具合率をかけ、このテストケース群についての不具合数を算出する。予測部2037は、例えば、対応するテストケース群の不具合数と、因子及び水準が一致するテストケース群の不具合数との比に基づき、このテストケース群についての工数、改修工数、又は改修後確認工数を算出する。 For example, the prediction unit 2037 sets a defect rate for a test case group corresponding to a test case group with a specified factor and level among the executed test cases, and a test case group with the same factor and level. The prediction unit 2037 may also correct the defect rate based on factors other than the factor and level. The prediction unit 2037 multiplies the number of cases in the test case group with the same factor and level by the set defect rate to calculate the number of defects for this test case group. The prediction unit 2037 calculates the man-hours, repair man-hours, or post-repair confirmation man-hours for this test case group, for example, based on the ratio between the number of defects in the corresponding test case group and the number of defects in the test case group with the same factor and level.
上流工程に由来する要因で不具合が発生したテストケース群と、因子及び水準が一致するテストケース群がテスト未実施のテストケースにある場合、予測部2037は、このテストケース群から発生すると予測される不具合の数を、テストの実施が遅くなるほど、多くなるように計算してもよい。 If there is a test case group that has the same factors and levels as a test case group in which a defect occurred due to a factor originating in an upstream process among the untested test cases, the prediction unit 2037 may calculate the number of defects predicted to occur from this test case group so that the later the test is performed, the greater the number of defects.
予測部2037は、実施されたテストについての不具合数、工数、改修工数、又は改修後確認工数と、未実施のテストケースに対して予測した不具合数、工数、改修工数、又は改修後確認工数とに基づき、テスト工程を開始してからの期間に対する不具合数の推移、残テストケースの推移、不具合回収数の推移、又は回収数の推移を算出する。このとき、予測部2037は、設定されている優先度に従った順序でテストを実施した際の推移を算出する。 The prediction unit 2037 calculates the trend in the number of defects, the trend in the remaining test cases, the trend in the number of recovered defects, or the trend in the number of recovered cases over the period from the start of the testing process based on the number of defects, man-hours, repair man-hours, or post-repair verification man-hours for the tests that have been performed, and the number of defects, man-hours, repair man-hours, or post-repair verification man-hours predicted for the test cases that have not yet been performed. At this time, the prediction unit 2037 calculates the trend when tests are performed in the order according to the set priorities.
記憶制御部2033は、算出されたパラメータを、予測されたパラメータとしてテストケースDB281に記憶する。 The storage control unit 2033 stores the calculated parameters as predicted parameters in the test case DB 281.
提示部2034は、算出したパラメータに基づき、テストの動向をユーザに提示する(ステップS29)。具体的には、例えば、提示部2034は、テストの動向を表すグラフをディスプレイ141に表示させる。 The presentation unit 2034 presents the test progress to the user based on the calculated parameters (step S29). Specifically, for example, the presentation unit 2034 displays a graph showing the test progress on the display 141.
図19は、ディスプレイ141に表示される、テスト動向を表すグラフの例を表す模式図である。図19に示す図において、横軸はテスト期間を表し、縦軸は残数又は発生件数を表す。図19において、実線は不具合数を表し、破線は不具合の改修数を表し、一点鎖線は残ケース数を表し、二点鎖線は改修確認の残数を表す。 Figure 19 is a schematic diagram showing an example of a graph indicating test trends, displayed on display 141. In the diagram shown in Figure 19, the horizontal axis represents the test period, and the vertical axis represents the remaining number or number of occurrences. In Figure 19, the solid line represents the number of defects, the dashed line represents the number of defect fixes, the one-dot chain line represents the remaining number of cases, and the two-dot chain line represents the remaining number of fix confirmations.
以上のように、本実施形態では、サーバ20は、記憶制御部2033により、テスト工程におけるテストの実施結果をテストケースDB281に記憶させる。分析部2035は、実施結果に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択する。分析部2035は、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出する。そして、設定部2036は、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するようにしている。これにより、サーバ20は、テスト工程で実施されるテストの結果に基づき、未実施のテストから優先的に実施するべきテストを設定することが可能となる。また、不具合が発生する確率の高いテストから着手可能となるため、ソフトウェアの修正に基づく新たなバグの連鎖的発生を抑えられる。つまり、デグレーションのリスクが減ることになる。 As described above, in this embodiment, the server 20 uses the storage control unit 2033 to store the results of tests performed in the testing process in the test case DB 281. The analysis unit 2035 selects test cases that should be prioritized for testing from among the test cases that have been tested based on the results. The analysis unit 2035 extracts test cases similar to the selected test case from among the untested test cases in the testing process. The setting unit 2036 then sets the priority for testing the extracted test cases higher than that of other untested test cases. This enables the server 20 to set tests that should be prioritized from among the untested tests based on the results of tests performed in the testing process. Furthermore, because it is possible to start with tests that are more likely to cause defects, the chain reaction of new bugs occurring due to software modifications can be prevented. In other words, the risk of degradation is reduced.
また、本実施形態では、分析部2035は、テスト実施済みのテストケースから、次に優先してテストを実施するべきテストケースを選択する。分析部2035は、選択した次に優先してテストを実施するべきテストケースと類似するテストケースを、テスト未実施のテストケースから抽出する。そして、設定部2036は、抽出したテストケースについてテストを実施する優先度を、先に設定した優先度より低く設定するようにしている。これにより、サーバ20は、テスト工程で実施されるテストの結果に基づき、未実施のテストを実施する順序を設定し直すことが可能となる。 In addition, in this embodiment, the analysis unit 2035 selects a test case that should be given the next highest priority from among the test cases that have already been tested. The analysis unit 2035 extracts test cases that are similar to the selected test case that should be given the next highest priority from among the test cases that have not yet been tested. The setting unit 2036 then sets the priority for testing the extracted test cases to be lower than the priority that was previously set. This allows the server 20 to re-set the order in which untested tests will be performed based on the results of the tests performed in the testing process.
また、本実施形態では、分析部2035は、テスト実施済みのテストケースを規定する要素のいずれかが一致するテストケースを類似するテストケースとして、テスト未実施のテストケースから抽出するようにしている。具体的には、例えば、分析部2035は、テスト実施済みのテストケースの因子及び水準と一致する因子及び水準のテストケースを、類似するテストケースとするようにしている。また、例えば、分析部2035は、テスト実施済みのテストケースと、作成の際に参照した機能仕様書が一致するテストケースを、類似するテストケースとするようにしている。これにより、サーバ20は、テスト実施済みのテストケースと類似するテストケースを、テスト未実施のテストケースから高精度に抽出することが可能となる。 In addition, in this embodiment, the analysis unit 2035 extracts test cases that match any of the elements that define a tested test case as similar test cases from untested test cases. Specifically, for example, the analysis unit 2035 classifies test cases with factors and levels that match the factors and levels of a tested test case as similar test cases. Also, for example, the analysis unit 2035 classifies test cases that match the functional specifications referenced when creating a tested test case as similar test cases. This enables the server 20 to extract test cases that are similar to tested test cases from untested test cases with a high degree of accuracy.
また、本実施形態では、分析部2035は、ユーザからの指示に応じ、優先してテストを実施するべきテストケースを選択するようにしている。これにより、サーバ20は、ユーザが希望するタイミングで優先度を設定することが可能となる。 In addition, in this embodiment, the analysis unit 2035 selects test cases that should be tested with priority in response to instructions from the user. This allows the server 20 to set priorities at the timing desired by the user.
また、本実施形態では、分析部2035は、テストが所定数実施されると、優先してテストを実施するべきテストケースを選択するようにしている。これにより、サーバ20は、ユーザからの指示がなくても優先度を設定することが可能となる。 In addition, in this embodiment, once a predetermined number of tests have been performed, the analysis unit 2035 selects the test cases that should be prioritized for testing. This allows the server 20 to set priorities without any instructions from the user.
また、本実施形態では、分析部2035は、実施結果に含まれる、不具合が発生する件数に係る数値に基づき、前記優先してテストを実施するべきテストケースを選択するようにしている。これにより、不都合率の高いケースに対しては、障害の報告が得意な人材を担当に付けることが可能となる。また、不具合の発生がテストの前半に発生すると見込めるため、開発者を効率的にアサインすることが可能となる。 In addition, in this embodiment, the analysis unit 2035 selects the test cases that should be prioritized for testing based on the numerical value related to the number of defects that occur, which is included in the implementation results. This makes it possible to assign personnel who are skilled at reporting problems to cases with a high defect rate. Furthermore, since defects are expected to occur in the first half of the test, developers can be assigned efficiently.
また、本実施形態では、分析部2035は、実施結果に含まれる、発生した不具合を改修する工数に係る数値に基づき、優先してテストを実施するべきテストケースを選択するようにしている。これにより、改修工数が多いと見込まれるテストケースのテストをテスト工程の前半に実施することが可能となるため、開発者を効率的にアサインすることが可能となる。また、時間のかかるケースに専任の担当を付けることができる。 In addition, in this embodiment, the analysis unit 2035 selects test cases that should be prioritized for testing based on the numerical value related to the man-hours required to fix any defects that have occurred, which is included in the implementation results. This makes it possible to test test cases that are expected to require a large number of man-hours to fix early in the testing process, thereby enabling developers to be assigned efficiently. It also makes it possible to assign dedicated personnel to cases that take a long time.
また、本実施形態では、記憶制御部2033は、テスト工程におけるテストで発生した不具合の要因をテストケースDB281に記憶させる。分析部2035は、実施結果に含まれる、発生した不具合の要因、具体的には、要因が由来するプロジェクトの工程に基づき、優先してテストを実施するべきテストケースを選択するようにしている。これにより、ソフトウェア開発における、要件定義工程、設計工程、コーディング工程、テスト工程のうち、上流側の工程で埋め込まれた欠陥を検出するためのテストを優先的に実施させることが可能となる。このため、欠陥を改修するためのコストが小さく抑えられ、また、デグレーションが発生するリスクが抑えられる。また、サーバ20は、プロジェクト内のテスト工程で実施されるテストの結果を用いて優先度を設定している。このため、テスト実施者は、プロジェクトに適したテストの順序をリアルタイムで把握することが可能となる。 In addition, in this embodiment, the storage control unit 2033 stores the causes of defects that occurred during testing in the testing process in the test case DB 281. The analysis unit 2035 selects test cases that should be prioritized for testing based on the causes of the defects that occurred, which are included in the implementation results, specifically, the project process from which the causes originate. This makes it possible to prioritize tests that detect defects embedded in upstream processes in software development, such as the requirements definition process, design process, coding process, and testing process. This reduces the cost of repairing defects and the risk of degradation. Furthermore, the server 20 sets priorities using the results of tests conducted in the testing process within the project. This allows testers to understand the testing order appropriate for the project in real time.
また、本実施形態では、提示部2034は、設定した優先度をユーザへ提示するようにしている。これにより、テスト実施者は、優先度の高いテストケースを認識しながら、テストを実施することが可能となる。 In addition, in this embodiment, the presentation unit 2034 presents the set priority to the user. This allows the tester to conduct the test while being aware of the test cases with high priority.
また、本実施形態では、提示部2034は、一式のテストケース(テストスイート)毎、又は単一のテストケース毎に優先度を付して優先度をユーザへ提示するようにしている。これにより、テスト実施者は、優先的にテストをしないとならないテストケースに効率的にアクセスすることが可能となる。 In addition, in this embodiment, the presentation unit 2034 assigns a priority to each set of test cases (test suite) or each individual test case and presents the priority to the user. This allows the tester to efficiently access test cases that must be tested as a priority.
また、本実施形態では、予測部2037は、抽出したテストケースのテストの結果をテストの実施結果から予測する。そして、予測部2037は、テスト未実施のテストケースのテストが、設定した優先度に従った順序で実施された際のテストの動向を予測するようにしている。これにより、テスト実施者は、設定される優先度に従った場合、テスト工程におけるテストがどのように進んでいくかを視覚的に把握することが可能となる。このため、テスト実施者は、設定された優先度が正しいものであるか否かを直感的に判断することが可能となる。 In addition, in this embodiment, the prediction unit 2037 predicts the test results of the extracted test cases from the test execution results. The prediction unit 2037 then predicts the test trends when untested test cases are tested in the order according to the set priorities. This allows the tester to visually grasp how the tests will progress in the testing process if the set priorities are followed. This allows the tester to intuitively determine whether the set priorities are correct.
したがって、本実施形態に係るサーバ20によれば、テスト工程において、テストを効率的、かつ効果的に実施できる。 Therefore, the server 20 according to this embodiment enables tests to be carried out efficiently and effectively during the testing process.
<変形例>
なお、上記実施形態では、計画時において、テストする機能の優先度が設定されている場合を例に説明した。しかしながら、テストする機能の優先度は、計画時に設定されていなくても構わない。
<Modification>
In the above embodiment, the priority of the functions to be tested is set at the time of planning. However, the priority of the functions to be tested does not have to be set at the time of planning.
また、上記実施形態では、テストスイートが計画時の優先度の順序で表示される場合を例に説明した。しかしながら、テストスイートが表示される順序は、再設定後の優先度の順序に従ってもよい。 Furthermore, in the above embodiment, an example was described in which test suites were displayed in the order of priority at the time of planning. However, the order in which test suites are displayed may also follow the order of priority after resetting.
また、上記実施形態では、表示制御部183がディスプレイ141に優先度が表示する場合を例に説明した。しかしながら、表示制御部183は、優先度を必ずしも表示する必要はない。表示制御部183は、設定されて優先度順にテストスイート、又はテストケースを配列し、テストスイート、又はテストケースを表示してもよい。これにより、上から順にテストを実施すれば最適な順序となるため、テスト実施者の負担が軽減されることになる。 In addition, in the above embodiment, an example was described in which the display control unit 183 displays the priority on the display 141. However, the display control unit 183 does not necessarily need to display the priority. The display control unit 183 may arrange the test suites or test cases in the order of the set priority and display the test suites or test cases. This reduces the burden on the tester, as performing the tests from top to bottom will result in the optimal order.
以上、本開示のいくつかの実施形態を説明したが、これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものとする。 The above describes several embodiments of the present disclosure, but these embodiments can be embodied in a variety of other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are considered to be within the scope of the invention and its equivalents as set forth in the claims, as well as within the scope and spirit of the invention.
<付記>
以上の各実施形態で説明した事項を以下に付記する。
<Additional Notes>
The matters described in the above embodiments will be supplemented below.
(付記1)
プロセッサ29と、メモリ25とを備えるコンピュータに実行させるためのプログラムであって、プログラムは、プロセッサに、テスト工程において実施されたテストに関する情報を記憶するステップ(ステップS201、S202)と、テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップ(ステップS232)と、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップ(ステップS234)と、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップ(ステップS24)とを実行させるプログラム。
(Appendix 1)
A program to be executed by a computer having a processor 29 and a memory 25, the program causing the processor to execute the steps of storing information about tests performed in a testing process (steps S201, S202), selecting a test case to be tested as a priority from among test cases that have already been tested based on the information about the test (step S232), extracting test cases similar to the selected test case from untested test cases in the testing process (step S234), and setting the priority of testing the extracted test case higher than that of other untested test cases (step S24).
(付記2)
選択するステップにおいて、テスト実施済みのテストケースから、次に優先してテストを実施するべきテストケースを選択し、抽出するステップにおいて、選択した次に優先してテストを実施するべきテストケースと類似するテストケースを、テスト未実施のテストケースから抽出し、設定するステップにおいて、抽出したテストケースについてテストを実施する優先度を、設定した優先度よりも低く設定する(付記1)に記載のプログラム。
(Appendix 2)
A program described in Appendix 1, in which in the selecting step, a test case that should be tested next is selected from among test cases that have already been tested, in the extracting step, a test case similar to the selected test case that should be tested next is extracted from test cases that have not yet been tested, and in the setting step, the priority for testing the extracted test case is set lower than the set priority.
(付記3)
抽出するステップにおいて、テスト実施済みのテストケースを規定する要素のいずれかが一致するテストケースを類似するテストケースとして、テスト未実施のテストケースから抽出する(付記1)又は(付記2)に記載のプログラム。
(Appendix 3)
A program described in (Appendix 1) or (Appendix 2), in which, in the extraction step, test cases that match any of the elements that define test cases that have been tested are extracted as similar test cases from test cases that have not been tested.
(付記4)
抽出するステップにおいて、テスト実施済みのテストケースの因子及び水準と一致する因子及び水準のテストケースを、類似するテストケースとする(付記3)に記載のプログラム。
(Appendix 4)
A program described in Appendix 3, in which in the extraction step, test cases with factors and levels that match the factors and levels of test cases that have already been tested are considered to be similar test cases.
(付記5)
抽出するステップにおいて、テスト実施済みのテストケースと、作成の際に参照した機能仕様書が一致するテストケースを、類似するテストケースとする(付記3)に記載のプログラム。
(Appendix 5)
In the extraction step, a test case that has already been tested and a test case whose functional specification document referenced when the test case was created match are considered to be similar test cases (Appendix 3).
(付記6)
選択するステップにおいて、ユーザからの指示に応じ、優先してテストを実施するべきテストケースを選択する(ステップS21)、(付記1)乃至(付記5)のいずれかに記載のプログラム。
(Appendix 6)
A program according to any one of (Supplementary Note 1) to (Supplementary Note 5), wherein in the selecting step, a test case to be tested with priority is selected in response to an instruction from a user (Step S21).
(付記7)
選択するステップにおいて、テストが所定数実施されると、優先してテストを実施するべきテストケースを選択する(ステップS22)、(付記1)乃至(付記5)のいずれかに記載のプログラム。
(Appendix 7)
A program according to any one of (Supplementary Note 1) to (Supplementary Note 5), wherein in the selecting step, when a predetermined number of tests have been performed, a test case to be tested with priority is selected (Step S22).
(付記8)
記憶するステップにおいて、テストの実施結果を記憶し、選択するステップにおいて、実施結果に含まれる、不具合が発生する件数に係る数値に基づき、優先してテストを実施するべきテストケースを選択する(付記1)乃至(付記7)のいずれかに記載のプログラム。
(Appendix 8)
A program described in any one of (Appendix 1) to (Appendix 7), wherein in the storing step, the test implementation results are stored, and in the selecting step, test cases that should be tested with priority are selected based on a numerical value related to the number of defects that occur, which is included in the implementation results.
(付記9)
記憶するステップにおいて、テスト工程におけるテストで発生した不具合を改修する工数を記憶し、選択するステップにおいて、発生した不具合を改修する工数に係る数値に基づき、優先してテストを実施するべきテストケースを選択する(付記1)乃至(付記7)のいずれかに記載のプログラム。
(Appendix 9)
A program described in any one of (Appendix 1) to (Appendix 7), in which, in the storing step, the labor hours required to repair defects that occur during testing in the testing process are stored, and in the selecting step, test cases that should be tested with priority are selected based on the numerical value related to the labor hours required to repair the defects that occur.
(付記10)
記憶するステップにおいて、テスト工程におけるテストで発生した不具合の要因を記憶し、選択するステップにおいて、発生した不具合の要因に基づき、優先してテストを実施するべきテストケースを選択する(付記1)乃至(付記7)のいずれかに記載のプログラム。
(Appendix 10)
A program described in any one of (Appendix 1) to (Appendix 7), in which, in the storing step, the cause of a defect that occurred during testing in the test process is stored, and in the selecting step, the test case that should be tested with priority is selected based on the cause of the defect that occurred.
(付記11)
選択するステップにおいて、要因が由来するプロジェクトの工程に基づき、優先してテストを実施するべきテストケースを選択する(付記10)に記載のプログラム。
(Appendix 11)
In the selection step, a test case that should be tested as a priority is selected based on the project process from which the cause originates (Supplementary Note 10).
(付記12)
設定した優先度をユーザへ提示するステップ(提示部2034)を、プロセッサに実行させる(付記1)乃至(付記11)のいずれかに記載のプログラム。
(Appendix 12)
12. The program according to claim 1, wherein the program causes a processor to execute a step (presentation unit 2034) of presenting the set priority to a user.
(付記13)
提示するステップにおいて、一式のテストケース毎、又は単一のテストケース毎に優先度を付して優先度をユーザへ提示する(付記12)に記載のプログラム。
(Appendix 13)
The program according to claim 12, wherein in the presenting step, a priority is assigned to each set of test cases or each individual test case, and the priorities are presented to the user.
(付記14)
抽出したテストケースのテストの結果をテストの実施結果から予測するステップ(ステップS28)と、テスト未実施のテストケースのテストが、設定した優先度に従った順序で実施された際のテストの動向を予測するステップ(ステップS28)とをプロセッサに実行させる(付記1)乃至(付記13)のいずれかに記載のプログラム。
(Appendix 14)
A program described in any of (Appendix 1) to (Appendix 13) that causes a processor to execute a step (step S28) of predicting the test results of the extracted test cases from the test execution results, and a step (step S28) of predicting the test trends when tests of untested test cases are executed in an order according to the set priority.
(付記15)
プロセッサ29と、メモリ25とを備えるコンピュータが実行する方法であって、テスト工程において実施されたテストに関する情報を記憶するステップと、テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップと、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップとを実行する方法。
(Appendix 15)
A method executed by a computer having a processor 29 and a memory 25, the method comprising the steps of: storing information about tests performed in a testing process; selecting a test case to be tested as a priority from among test cases that have already been tested based on the information about the test; extracting test cases similar to the selected test case from untested test cases in the testing process; and setting the priority of testing the extracted test case higher than that of other untested test cases.
(付記16)
プロセッサ29と、メモリ25とを備える情報処理装置20であって、プロセッサが、テスト工程において実施されたテストに関する情報を記憶するステップ(記憶制御部2033)と、テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップ(分析部2035)と、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップ(設定部2036)とを実行する情報処理装置。
(Appendix 16)
An information processing device (20) comprising a processor (29) and a memory (25), wherein the processor executes the steps of: storing information regarding tests performed in a testing process (storage control unit (2033)); selecting a test case that should be tested as a priority from among test cases that have already been tested based on the information regarding the test; extracting test cases similar to the selected test case from untested test cases in the testing process (analysis unit (2035)); and setting the priority of testing the extracted test case to be higher than that of other untested test cases (setting unit (2036)).
(付記17)
テスト工程において実施されたテストに関する情報を記憶する手段(記憶制御部2033)と、テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、テスト工程において、選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出する手段(分析部2035)と、抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定する手段(設定部2036)とを具備するシステム。
(Appendix 17)
A system comprising: a means (storage control unit 2033) for storing information regarding tests performed in a testing process; a step of selecting a test case that should be tested as a priority from among test cases that have already been tested based on the information regarding the test; a means (analysis unit 2035) for extracting test cases similar to the selected test case from among test cases that have not yet been tested in the testing process; and a means (setting unit 2036) for setting the priority of testing the extracted test case higher than that of other test cases that have not yet been tested.
1…システム
10…端末装置
121…通信部
13…入力装置
131…マウス
132…キーボード
133…タッチ・センシティブ・デバイス
14…出力装置
141…ディスプレイ
15…メモリ
16…ストレージ
170…記憶部
180…制御部
181…操作受付部
182…送受信部
183…表示制御部
19…プロセッサ
20…サーバ
201…通信部
202…記憶部
203…制御部
2031…操作受付部
2032…送受信部
2033…記憶制御部
2034…提示部
2035…分析部
2036…設定部
2037…予測部
25…メモリ
26…ストレージ
29…プロセッサ
80…ネットワーク
1...System 10...Terminal device 121...Communication unit 13...Input device 131...Mouse 132...Keyboard 133...Touch-sensitive device 14...Output device 141...Display 15...Memory 16...Storage 170...Memory unit 180...Control unit 181...Operation acceptance unit 182...Transmission/reception unit 183...Display control unit 19...Processor 20...Server 201...Communication unit 202...Memory unit 203...Control unit 2031...Operation acceptance unit 2032...Transmission/reception unit 2033...Memory control unit 2034...Presentation unit 2035...Analysis unit 2036...Setting unit 2037...Prediction unit 25...Memory 26...Storage 29...Processor 80...Network
Claims (8)
テスト工程において実施されたテストに関する情報を記憶するステップと、
前記テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、
前記テスト工程において、前記選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップと、
前記抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップと
を実行させ、
前記選択するステップにおいて、前記テストに関する情報に含まれるテストの実施結果から算出される不具合率に基づき、前記優先してテストを実施するべきテストケースを選択するプログラム。 A program to be executed by a computer having a processor and a memory, the program causing the processor to:
storing information about tests performed in the testing process;
selecting a test case to be tested with priority from among the test cases that have already been tested based on the information about the test;
In the testing step, a step of extracting test cases similar to the selected test case from untested test cases;
and setting a priority of testing the extracted test case higher than that of other untested test cases ;
In the selecting step, a program selects the test cases to be tested with priority based on a failure rate calculated from the test results included in the test information .
前記抽出するステップにおいて、前記選択したテストケース群と類似するテストケース群をテスト未実施のテストケースから抽出し、In the extracting step, a test case group similar to the selected test case group is extracted from untested test cases;
前記設定するステップにおいて、前記抽出したテストケース群についてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定する請求項1記載のプログラム。2. The program according to claim 1, wherein in the setting step, the priority of testing the extracted test cases is set higher than that of other untested test cases.
前記抽出するステップにおいて、前記選択した次に優先してテストを実施するべきテストケースと類似するテストケースを、前記テスト未実施のテストケースから抽出し、
前記設定するステップにおいて、前記抽出したテストケースについてテストを実施する優先度を、前記設定した優先度よりも低く設定する請求項1記載のプログラム。 In the selecting step, a test case to be tested next is selected from the test cases that have already been tested;
In the extracting step, a test case similar to the selected test case to be tested with next priority is extracted from the untested test cases;
2. The program according to claim 1, wherein in the setting step, a priority for executing a test on the extracted test case is set lower than the set priority.
前記テスト未実施のテストケースのテストが、前記設定した優先度に従った順序で実施された際のテストの動向を予測するステップと
を前記プロセッサに実行させる請求項1乃至4のいずれかに記載のプログラム。 predicting test results of the extracted test cases from execution results of the tests;
5. The program according to claim 1, further comprising: a step of predicting a test trend when the tests of the untested test cases are performed in the order according to the set priorities.
テスト工程において実施されたテストに関する情報を記憶するステップと、
前記テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、
前記テスト工程において、前記選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップと、
前記抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップと
を実行し、
前記選択するステップにおいて、前記テストに関する情報に含まれるテストの実施結果から算出される不具合率に基づき、前記優先してテストを実施するべきテストケースを選択する方法。 1. A computer-implemented method comprising a processor and a memory, the method comprising:
storing information about tests performed in the testing process;
selecting a test case to be tested with priority from among the test cases that have already been tested based on the information about the test;
In the testing step, a step of extracting test cases similar to the selected test case from untested test cases;
and setting a priority of testing the extracted test case higher than that of other untested test cases ;
In the selecting step, the test cases to be tested are selected based on a failure rate calculated from the test results included in the test information .
前記プロセッサが、
テスト工程において実施されたテストに関する情報を記憶するステップと、
前記テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択するステップと、
前記テスト工程において、前記選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出するステップと、
前記抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定するステップと
を実行し、
前記選択するステップにおいて、前記テストに関する情報に含まれるテストの実施結果から算出される不具合率に基づき、前記優先してテストを実施するべきテストケースを選択する情報処理装置。 An information processing device including a processor and a memory,
the processor:
storing information about tests performed in the testing process;
selecting a test case to be tested with priority from among the test cases that have already been tested based on the information about the test;
In the testing step, a step of extracting test cases similar to the selected test case from untested test cases;
and setting a priority of testing the extracted test case higher than that of other untested test cases ;
In the selecting step, the information processing device selects the test cases to be preferentially tested based on a failure rate calculated from the test implementation results included in the information related to the test .
前記テストに関する情報に基づき、テスト実施済みのテストケースから、優先してテストを実施するべきテストケースを選択する手段と、
前記テスト工程において、前記選択したテストケースと類似するテストケースをテスト未実施のテストケースから抽出する手段と、
前記抽出したテストケースについてテストを実施する優先度を、他のテスト未実施のテストケースよりも高く設定する手段と
を具備し、
前記選択する手段は、前記テストに関する情報に含まれるテストの実施結果から算出される不具合率に基づき、前記優先してテストを実施するべきテストケースを選択するシステム。 means for storing information about tests performed in the testing process;
a means for selecting a test case to be tested with priority from among the test cases that have already been tested based on the information about the test;
a means for extracting test cases similar to the selected test case from untested test cases in the testing step;
means for setting a priority for testing the extracted test case higher than that for other untested test cases ;
The selecting means is a system that selects the test cases that should be tested with priority based on a failure rate calculated from the test execution results included in the test information .
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024168467A JP7755247B2 (en) | 2020-12-10 | 2024-09-27 | Program, method, information processing device, and system |
| JP2025157718A JP2025175134A (en) | 2020-12-10 | 2025-09-24 | Program, method, information processing device, and system |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020205267A JP6890795B1 (en) | 2020-12-10 | 2020-12-10 | Programs, methods, information processing equipment, and systems |
| JP2021082346A JP7570603B2 (en) | 2020-12-10 | 2021-05-14 | Program, method, information processing device, and system |
| JP2024168467A JP7755247B2 (en) | 2020-12-10 | 2024-09-27 | Program, method, information processing device, and system |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021082346A Division JP7570603B2 (en) | 2020-12-10 | 2021-05-14 | Program, method, information processing device, and system |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025157718A Division JP2025175134A (en) | 2020-12-10 | 2025-09-24 | Program, method, information processing device, and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024169722A JP2024169722A (en) | 2024-12-05 |
| JP7755247B2 true JP7755247B2 (en) | 2025-10-16 |
Family
ID=76429662
Family Applications (4)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020205267A Active JP6890795B1 (en) | 2020-12-10 | 2020-12-10 | Programs, methods, information processing equipment, and systems |
| JP2021082346A Active JP7570603B2 (en) | 2020-12-10 | 2021-05-14 | Program, method, information processing device, and system |
| JP2024168467A Active JP7755247B2 (en) | 2020-12-10 | 2024-09-27 | Program, method, information processing device, and system |
| JP2025157718A Pending JP2025175134A (en) | 2020-12-10 | 2025-09-24 | Program, method, information processing device, and system |
Family Applications Before (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020205267A Active JP6890795B1 (en) | 2020-12-10 | 2020-12-10 | Programs, methods, information processing equipment, and systems |
| JP2021082346A Active JP7570603B2 (en) | 2020-12-10 | 2021-05-14 | Program, method, information processing device, and system |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025157718A Pending JP2025175134A (en) | 2020-12-10 | 2025-09-24 | Program, method, information processing device, and system |
Country Status (1)
| Country | Link |
|---|---|
| JP (4) | JP6890795B1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2025089642A (en) * | 2023-12-04 | 2025-06-16 | 株式会社オートネットワーク技術研究所 | PROGRAM DEVELOPMENT SUPPORT SYSTEM, PROGRAM DEVELOPMENT SUPPORT METHOD, INFORMATION PROCESSING APPARATUS, AND PROGRAM |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005332098A (en) | 2004-05-19 | 2005-12-02 | Nec Corp | Test item extraction system, test item extraction device, test item extraction method used therefor, and program thereof |
| JP2007334630A (en) | 2006-06-15 | 2007-12-27 | Dainippon Screen Mfg Co Ltd | Software system test case selection device and test case selection program |
| JP2014241066A (en) | 2013-06-12 | 2014-12-25 | 日本システムウエア株式会社 | Test method for integrated system |
| JP2015169981A (en) | 2014-03-05 | 2015-09-28 | 西日本電信電話株式会社 | Program verification method |
| JP2018160191A (en) | 2017-03-23 | 2018-10-11 | 株式会社日立製作所 | Hardware test apparatus and hardware test method |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5962350B2 (en) * | 2012-09-04 | 2016-08-03 | 富士通株式会社 | Program, information processing apparatus and test method |
| JP6497199B2 (en) * | 2015-05-08 | 2019-04-10 | 富士電機株式会社 | Program test prioritization system |
| JP6676495B2 (en) * | 2016-07-29 | 2020-04-08 | 日本電信電話株式会社 | Extraction apparatus and extraction method |
| JP6615071B2 (en) * | 2016-09-01 | 2019-12-04 | 株式会社日立製作所 | Computer system and test case management method |
| US10365994B2 (en) * | 2017-04-24 | 2019-07-30 | Facebook, Inc. | Dynamic scheduling of test cases |
| US10073763B1 (en) * | 2017-12-27 | 2018-09-11 | Accenture Global Solutions Limited | Touchless testing platform |
| US11132288B2 (en) * | 2018-04-26 | 2021-09-28 | EMC IP Holding Company LLC | Data-driven scheduling of automated software program test suites |
| JP2020115248A (en) * | 2019-01-17 | 2020-07-30 | 三菱電機株式会社 | Test priority determination apparatus |
-
2020
- 2020-12-10 JP JP2020205267A patent/JP6890795B1/en active Active
-
2021
- 2021-05-14 JP JP2021082346A patent/JP7570603B2/en active Active
-
2024
- 2024-09-27 JP JP2024168467A patent/JP7755247B2/en active Active
-
2025
- 2025-09-24 JP JP2025157718A patent/JP2025175134A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005332098A (en) | 2004-05-19 | 2005-12-02 | Nec Corp | Test item extraction system, test item extraction device, test item extraction method used therefor, and program thereof |
| JP2007334630A (en) | 2006-06-15 | 2007-12-27 | Dainippon Screen Mfg Co Ltd | Software system test case selection device and test case selection program |
| JP2014241066A (en) | 2013-06-12 | 2014-12-25 | 日本システムウエア株式会社 | Test method for integrated system |
| JP2015169981A (en) | 2014-03-05 | 2015-09-28 | 西日本電信電話株式会社 | Program verification method |
| JP2018160191A (en) | 2017-03-23 | 2018-10-11 | 株式会社日立製作所 | Hardware test apparatus and hardware test method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022092445A (en) | 2022-06-22 |
| JP6890795B1 (en) | 2021-06-18 |
| JP7570603B2 (en) | 2024-10-22 |
| JP2024169722A (en) | 2024-12-05 |
| JP2025175134A (en) | 2025-11-28 |
| JP2022092563A (en) | 2022-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10318412B1 (en) | Systems, methods, and apparatus for dynamic software generation and testing | |
| US8635170B2 (en) | Adaptive business process automation | |
| US11347601B1 (en) | Managing data center failure events | |
| US20180285247A1 (en) | Systems, methods, and apparatus for automated code testing | |
| US20150178647A1 (en) | Method and system for project risk identification and assessment | |
| US20210342146A1 (en) | Software defect prediction model | |
| JP2025175134A (en) | Program, method, information processing device, and system | |
| US12248382B2 (en) | Data center environment architecture including system under test component analysis for use when performing test automation orchestration | |
| CN114270345B (en) | Licensed users facilitate and control systems | |
| US20250321875A1 (en) | Test method, system, computer equipment and storage medium | |
| US12481944B2 (en) | Data center environment architecture including test case scoring for use when performing test automation orchestration | |
| US12313640B2 (en) | Validation device, validation method and non-transitory computer readable medium | |
| US20240013231A1 (en) | System and method for data validation rule simulation | |
| US12062376B2 (en) | System for enterprise voice signature login | |
| CN116932524A (en) | Data quality detection methods, devices, computer equipment and storage media | |
| US20230021715A1 (en) | Simulated Data Center | |
| TWI849484B (en) | Code file and verification simulation management method and circuit module design verification system | |
| US12222847B2 (en) | Data center environment architecture including a continuous scheduler for generating a continuous execution plan when performing test automation orchestration | |
| US12423218B2 (en) | Data center environment architecture for providing autonomous data center test automation orchestration | |
| JP2026068651A (en) | Information processing device, information processing method, and program | |
| WO2026080067A1 (en) | Risk assessment techniques for controlling access to computing systems using dynamically deployed machine learning models | |
| JP2019053510A (en) | Test case automatic creation device and program | |
| CN121478332A (en) | Multi-layered environment isolation configuration publishing method, apparatus, equipment and storage medium | |
| CN119557209A (en) | Integrated method for interface and interface automation testing based on deep learning | |
| CN119759339A (en) | Code processing system control method, device and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241028 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241028 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250813 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250903 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250924 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7755247 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |