Support device, support method, and program

The support device and method address the variability in bug detection by using a database to associate and extract similar test cases, generating bug curves that accurately predict convergence across diverse targets, enhancing progress assessment.

JP7571320B2Active Publication Date: 2024-10-22RAKUTEN GROUP INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024018029
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2024-10-22
Estimated Expiration
2042-12-16

AI Technical Summary

Technical Problem

Existing bug detection techniques fail to account for the varying test viewpoints required by different types of targets, necessitating tailored test content and scale adjustments for accurate bug curve representation.

Method used

A support device and method that utilizes a database to associate and extract test cases with similar target information, generating bug curves based on case histories to present a useful comparison for diverse testing objectives.

Benefits of technology

Enables the presentation of accurate bug curves that predict the convergence of bug detection across various targets, considering their unique characteristics and test content, thereby improving the accuracy of progress assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571320000001
    Figure 0007571320000001
  • Figure 0007571320000002
    Figure 0007571320000002
  • Figure 0007571320000003
    Figure 0007571320000003
Patent Text Reader

Abstract

To provide a support apparatus, or the like, configured to present useful bug curves for various targets to be tested.SOLUTION: A support apparatus 100 uses a database 200 on which a plurality of test cases are recorded. Each of the test cases includes case target information on case targets related to each test case, and case history, in association with each other. An acquisition unit 101 acquires, for an in-process target which is being tested, in-process target information on the in-process target, and in-process history. An extraction unit 103 extracts, from the database 200, one or more test cases including case target information similar to the acquired in-process target information. A drawing unit 102 draws, on a screen, a bug curve based on a case history included in the extracted test case.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an assistance device, an assistance method, and a program. [Background technology]

[0002] There are known techniques for obtaining bug curves for checking the progress of testing of applications and systems under development and for judging convergence of bug detection. For example, Patent Literature 1 discloses a technique for obtaining bug curves for each test viewpoint, such as functionality and efficiency, based on the past history of test implementation. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6747161 Summary of the Invention [Problem to be solved by the invention]

[0004] In the above technology, bug curves are obtained for each test perspective, but the required test perspective may differ depending on the target to be tested. For example, when the target to be tested is an application, the content and scale of the services provided by the application differ, so that it is necessary to set the test content, such as the test perspective and the test scale, for each application. Therefore, in order to present useful bug curves that make it easy to check the progress of testing and forecast the convergence of the number of detected bugs for various types of targets under development, it is necessary to take into account the differences in the targets themselves and the test content.

[0005] The present invention is devised to solve the above-mentioned problems, and has an object to provide an assistance device, assistance method, and program capable of presenting useful bug curves for various targets on which testing is performed. [Means for solving the problem]

[0006] The support device according to a first aspect of the present invention comprises: A support device that uses a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit that extracts one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The extraction unit regards the case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation target information as case object information similar to the acquired implementation target information. It is characterized by:

[0007] An assistance device according to a second aspect of the present invention comprises: A support device that uses a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit that extracts one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The drawing unit draws, on the screen, a bug curve based on a case history identified based on a bug curve based on a case history included in the extracted test case and a bug curve based on the acquired execution history, among bug curves based on a case history included in the extracted test case. It is characterized by:

[0008] A support device according to a third aspect of the present invention comprises: A support device that uses a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit that extracts one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The drawing unit draws a bug curve based on a case history included in the extracted test case, connecting upper bounds determined from case histories included in the extracted test cases with an upper bound line; A lower bound determined from the case history included in the extracted test case is drawn so as to connect the lower bound with a lower bound line. It is characterized by:

[0009] In addition, in the support device according to the above aspect, When the drawing unit receives a selection of any one of the bug curves drawn on the screen, the drawing unit displays, on the screen, case object information associated with a case history related to the selected bug curve. It is characterized by:

[0010] A support method according to a fourth aspect of the present invention comprises: An assistance method executed by an assistance device utilizing a database in which a plurality of test cases are recorded, comprising: Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and The support device includes: For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; and obtain it by matching extracting from the database one or more test cases that include case object information similar to the obtained active object information; Draw a bug curve based on the case history included in the extracted test cases on a screen; The case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation object information is regarded as case object information similar to the acquired implementation object information. It is characterized by:

[0011] A program according to a fifth aspect of the present invention comprises: A program for causing a computer to function as a support device that utilizes a database in which a plurality of test cases are recorded, comprising: Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and The program causes the computer to For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; an acquisition unit that acquires the an extracting unit for extracting from the database one or more test cases including case object information similar to the acquired on-going object information; a drawing unit for drawing on a screen a bug curve based on a case history included in the extracted test case; Function as a The extraction unit regards the case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation target information as case object information similar to the acquired implementation target information. It is characterized by:

[0012] The above program may be recorded on a non-transitory recording medium. The non-transitory recording medium can be distributed and sold independently of the computer. Here, the non-transitory recording medium refers to a tangible recording medium. Examples of the non-transitory recording medium include a compact disc, a flexible disc, a hard disk, a magneto-optical disk, a digital video disk, a magnetic tape, and a semiconductor memory. In addition, the transitory recording medium refers to the transmission medium (propagation signal) itself. Examples of the transitory recording medium include an electric signal, an optical signal, and an electromagnetic wave. In addition, the temporary storage area is an area for temporarily storing data and programs, and is, for example, a volatile memory such as a RAM (Random Access Memory). Effect of the Invention

[0013] According to the present invention, it is possible to provide a support device, a support method, and a program capable of presenting useful bug curves for various targets on which testing is performed. [Brief description of the drawings]

[0014] [Figure 1] FIG. 2 is a diagram illustrating a functional configuration of the support device according to the embodiment. [Diagram 2]FIG. 11 is a diagram illustrating an example of case subject information included in a test case recorded in a database according to the embodiment. [Diagram 3] FIG. 11 is a diagram illustrating an example of a case history included in a test case recorded in a database according to the embodiment. [Figure 4] FIG. 2 is a diagram illustrating a hardware configuration of the support device according to the embodiment. [Diagram 5] FIG. 1 illustrates an example of a bug curve based on in-progress history and case history according to an embodiment. [Figure 6] FIG. 1 illustrates an example of a bug curve based on in-progress history and case history according to an embodiment. [Figure 7] FIG. 1 illustrates an example of a bug curve based on in-progress history and case history according to an embodiment. [Figure 8] FIG. 1 illustrates an example of a bug curve based on in-progress history and case history according to an embodiment. [Figure 9] 11 is a flowchart for explaining a support process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] (1. Overall Configuration) The support device 100 according to the embodiment of the present invention is a device that presents a bug curve for a target under test. The bug curve is a curve with the number of tests performed on the horizontal axis and the cumulative number of bugs detected in the tests performed on the vertical axis. For example, a user of the support device 100 is a person who manages the schedule of an application under development, and the support device 100 is a device that provides the person who manages the schedule with information for examining the progress of the schedule. The support device 100 presents a bug curve for the application under development as information for examining the progress.

[0016] The support device 100 presents a bug curve by using test cases stored in a database 200. A test case is a case where a test has been performed on a target in the past and the test has been completed. As shown in FIG. 1, the support device 100 is connected to the database 200 wirelessly or via wire so as to be able to communicate with the database 200.

[0017] A database 200 stores a plurality of test cases.

[0018] Each test case includes (i) case object information on the case object related to each test case, and (ii) a case history indicating the number of tests performed on the case object related to each test case and the number of bugs detected in the tests performed, in association with each other. A case object is an object on which a test has been performed and for which testing has been completed, such as a developed product. The number of tests performed is the number of tests that have been completed. Here, if the number of tests performed per day is considered to be constant, the number of tests that have been completed can be determined by the number of days that have passed. Therefore, the number of tests performed can be represented by the number of tests performed, or the number of days that have passed since the start of testing, or both.

[0019] FIG. 2 shows an example of case target information. The case target information includes, in association with each other, a test case ID for identifying a test case, a project name of a project to which a product for which testing has been performed belongs, a type of the project, a product name of the product for which testing has been performed, a type of product, a scale of components constituting the product, a development man-month indicating an estimated amount of work required to develop the product, a budget allocated to the development of the product, a tester ID for identifying a tester who performed the test, and a customer type indicating a type of customer expected to use the product. A project, for example, indicates a service that uses the product, and a project name is a service name. A project type, for example, is a service type. A product, for example, is an application, and a product name is an application name. A product type, for example, is a type of function provided by an application.

[0020] For example, the record in the first row of Figure 2 indicates that the test case with test case ID "C1" is a test of a product with product name "Product 1" and product type "l1" in a project with project name "Project 1" and project type "k1", the component size is "Rank 1", the development man-months are "20", the budget is "3000 million", the test was performed by a tester with tester ID "T1", and the product is intended for use by customer type "G1".

[0021] An example of a case history is shown in Figure 3. The case history includes a test case ID for identifying the test case, the number of days since the start of testing, the number of tests performed, and the number of bugs detected in the tests, all of which are associated with each other.

[0022] For example, the record in the first row of Figure 3 indicates that for the test case with test case ID “C1”, the number of tests performed up to the elapsed day of “1 day” was “10”, and the number of bugs detected in the tests performed was “0”.

[0023] The case object information is registered in the database 200 by the tester or the person requesting the test. In addition, when a test is executed, the case history is registered in the database 200 automatically by the test program or manually by the tester.

[0024] The support device 100 presents a bug curve for a target under test in comparison with a bug curve for a case target related to a test case recorded in the database 200.

[0025] (2. Hardware configuration of the support device) FIG. 4 is a block diagram showing a hardware configuration of the assisting device 100 that realizes the assisting device 100. As shown in FIG.

[0026] 4, the support device 100 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM 13, a recording medium 14, an output device 15, a communication device 16, and an operation device 17. The components are connected to each other via a bus 18.

[0027] The CPU 11 controls the overall operation of the support device 100, and is connected to each of the components to exchange control signals and data.

[0028] The ROM 12 stores operating programs and various data necessary for controlling the overall operation of the support device 100 .

[0029] The RAM 13 is for temporarily storing data and programs, and holds programs and data read from the recording medium 14, as well as other data necessary for communication.

[0030] The recording medium 14 is composed of a hard disk, a flash memory, or the like, and records data to be processed by the support device 100 .

[0031] The output device 15 includes a display device such as an LCD (Liquid Crystal Display) and an audio output device such as a speaker. The output device 15 outputs, for example, data output from the CPU 11 under the control of the CPU 11.

[0032] The communication device 16 includes a communication interface for connecting the support apparatus 100 to a computer communication network such as the Internet, and communicates with other information processing devices via the communication device 16.

[0033] The operation device 17 includes input devices such as a button, a keyboard, a touch panel, a microphone, etc. The operation device 17 receives an operation input from a user of the support device 100, and outputs a signal corresponding to the received operation input to the CPU 11.

[0034] (3. Functional configuration of the support device according to the embodiment) 1, the support device 100 functionally includes an acquisition unit 101, a drawing unit 102, and an extraction unit 103. In this embodiment, the CPU 11 and the communication device 16 work together to function as the acquisition unit 101 and the extraction unit 103, and the CPU 11 and the output device 15 work together to function as the drawing unit 102.

[0035] The acquisition unit 101 acquires, for an ongoing target for which testing is being performed, ongoing target information relating to the ongoing target, and an ongoing history showing the progress of the number of tests performed on the ongoing target and the number of bugs detected in the ongoing test, in association with each other.

[0036] In what follows, the number of tests completed will be expressed as the number of days that have elapsed since the start of the test.

[0037] An in-progress target is a target for which testing is being performed but testing has not yet been completed, such as a product under development. In-progress target information includes the same items as the case target information in FIG. 2. In-progress target information is registered in database 200 by a tester, for example, before testing begins. In-progress history includes the same items as the case history in FIG. 3. In-progress history is registered in database 200 at any timing by the test program.

[0038] For example, if a test is being conducted on a product named “Product 10”, the acquisition unit 101 acquires from the database 200 on-going target information on “Product 10” and on-going test history for “Product 10”.

[0039] The drawing unit 102 draws a bug curve based on the acquired implementation history on the screen.

[0040] For example, if the acquisition unit 101 acquires ongoing history up to the elapsed day of “10 days,” the drawing unit 102 draws a bug curve 301 of the ongoing test for “Product 10” on the screen of the support device 100, as shown in FIG. 5.

[0041] The extraction unit 103 extracts, from the database 200, one or more test cases including case object information similar to the acquired ongoing object information.

[0042] Specifically, the extraction unit 103 identifies case object information similar to the acquired ongoing target information by using a model generated by learning, as learning data, two pieces of case object information and the similarity of bug curves based on case histories associated with the two pieces of case object information among the case object information included in the test cases recorded in the database 200. Hereinafter, this model is referred to as a learned model.

[0043] The trained model is a model that takes two pieces of case object information as input and outputs the similarity of bug curves based on case histories associated with the two pieces of case object information. The trained model is generated by training a neural network or the like using the two pieces of case object information and the similarity of bug curves based on case histories associated with the two pieces of case object information as learning data. Machine learning, deep learning, and the like can be applied to the learning, and it is also possible to adopt so-called artificial intelligence services, etc.

[0044] The extraction unit 103 uses the trained model to identify case object information similar to the acquired ongoing target information, and extracts test cases including the identified case object information. The trained model may be generated by the assistance device 100 or another device.

[0045] The similarity between bug curves based on case histories associated with two pieces of case object information is calculated as follows.

[0046] The bug curve for test case CA with the number of tests performed being “A” is expressed as follows:

[0047] (Number 1) y = a(t) (1≦t≦A)

[0048] Moreover, the bug curve of test case CB, for which the number of tests performed is “B”, is expressed by the following equation 2.

[0049] (Number 2) y=b(t) (1≦t≦B)

[0050] In order to align the number of tests performed, the bug curve expressed by equation 1 or equation 2 is corrected.

[0051] If A≦B, the bug curve of Equation 1 is corrected as shown in Equation 3 below.

[0052] (Number 3) y=a(A) (A <t≦B)

[0053] If A>B, the bug curve of equation 2 is corrected as shown in equation 4 below.

[0054] (Number 4) y=b(B) (B <t≦A)

[0055] Then, the similarity is calculated by various calculation methods such as the following Equations 5 to 8.

[0056] (Number 5) Σi=1max{A,B}[a(t)-b(t)]2 (Number 6) Σi=1max{A,B}[a(t)-b(t)]2 / max{A,B} (Number 7) Σi=1max{A,B}|a(t)-b(t)| (Number 8) Σi=1max{A,B}|a(t)-b(t)| / max{A,B}

[0057] In the above calculation of similarity, a(t) / a(A) and b(t) / b(B) may be used instead of a(t) and b(t). In other words, instead of the number of detected bugs, the bug detection ratio to the number of detected bugs at the time of convergence may be used.

[0058] Alternatively, in the calculation of the similarity, a(t) / A and b(t) / B may be used instead of a(t) and b(t). In other words, instead of the number of detected bugs, the ratio of detected bugs to the number of executed tests may be used.

[0059] The extraction unit 103 inputs the case target information contained in the test case recorded in the database 200 and the acquired ongoing target information into the learned model, and calculates a first similarity between a bug curve based on the case history associated with the case target information and a bug curve based on the ongoing history associated with the acquired ongoing target information.

[0060] The first similarity indicates the similarity between a bug curve based on a case history and a bug curve based on an implementation history, which are predicted from the case object information and the implementation object information, and is a value obtained as an output of the trained model. The first threshold is a threshold for the first similarity that is arbitrarily set by the user of the support device 100.

[0061] For example, the extraction unit 103 obtains a first similarity between each piece of case object information stored in the database 200 and the ongoing object information of "Product 10". For example, the extraction unit 103 inputs the ongoing object information of "Product 10" and the case object information of test case ID "C1" among the case object information stored in the database 200 to the trained model. Then, the extraction unit 103 obtains a first similarity between the bug curve of "Product 10" undergoing testing and the bug curve of test case ID "C1". Similarly, the extraction unit 103 obtains a first similarity between test case IDs "C2", "C3", ... "Cj (j is a positive number equal to or greater than 4)".

[0062] Then, the extraction unit 103 regards the case object information associated with the case history related to the bug curve whose first similarity is equal to or greater than the first threshold value as case object information similar to the acquired ongoing object information.

[0063] For example, the extraction unit 103 considers, among the case object information stored in the database 200, case object information whose first similarity with the ongoing target information of "Product 10" is equal to or greater than a first threshold value, as case object information similar to the ongoing target information of "Product 10". For example, if M pieces of case object information whose first similarity is equal to or greater than the first threshold value are obtained, the extraction unit 103 considers the M pieces of case object information as case object information similar to the ongoing target information of "Product 10". Then, the extraction unit 103 extracts M test cases including the M pieces of case object information considered to be similar to the ongoing target information of "Product 10".

[0064] The drawing unit 102 further draws on the screen a bug curve based on the case history included in the extracted test case.

[0065] Here, the drawing unit 102 draws on the screen a bug curve based on a case history included in the extracted test case, the bug curve based on the case history having a second similarity to the bug curve based on the acquired implementation history that is equal to or greater than a second threshold value.

[0066] The second similarity indicates the similarity between a bug curve based on a case history included in the extracted test case and a bug curve based on the acquired execution history. The second threshold is a threshold for the second similarity that is arbitrarily set by the user of the support device 100.

[0067] For example, the drawing unit 102 obtains a second similarity between a bug curve based on the case target included in the extracted M test cases and a bug curve of “Product 10” which is the target under implementation.

[0068] The second similarity is calculated as follows.

[0069] First, the bug curve for test case CD, whose number of tests executed is “D”, is expressed as follows:

[0070] (Number 9) y=d(t) (1≦t≦D)

[0071] In addition, the bug curve for target P, for which the number of tests performed is “P”, is expressed as the following equation (10).

[0072] (Number 10) y=p(t) (1≦t≦P)

[0073] Then, the similarity is calculated by various calculation methods such as the following Equations 11 to 14.

[0074] (Number 11) Σi=1min{D,P}[d(t)-p(t)]2 (Number 12) Σi=1min{D,P}[d(t)-p(t)]2 / min{D,P} (Number 13) Σi=1min{D,P}|d(t)-p(t)| (Number 14) Σi=1min{D,P}|d(t)-p(t)| / min{D,P}

[0075] For example, it is assumed that the extraction unit 103 has obtained N bug curves (M≧N) based on case histories whose second similarity is equal to or greater than the second threshold value.

[0076] Furthermore, the drawing unit 102 draws a bug curve based on the case history included in the extracted test case by connecting upper bounds determined from the case history included in the extracted test case with an upper bound line, connecting lower bounds determined from the case history included in the extracted test case with a lower bound line, and filling in the area between the upper bound line and the lower bound line.

[0077] Here, the upper bound refers to a value greater than the number of bugs expected to be detected in the ongoing test. The lower bound refers to a value less than the number of bugs expected to be detected in the ongoing test. Thus, the upper bound is a bug curve that is greater than the bug curve expected to be obtained in the ongoing test. The lower bound is a bug curve that is less than the bug curve expected to be obtained in the ongoing test.

[0078] The upper bound is expressed by the following equation (15).

[0079] (Number 15) y = U(t)

[0080] The lower bound is expressed by the following equation (16).

[0081] (Number 16) y = L(t)

[0082] For example, the drawing unit 102 defines the upper bound as the largest number of bugs detected among the number of bugs detected in the case histories included in the extracted test cases, and defines the lower bound as the smallest number of bugs detected among the number of bugs detected in the case histories included in the extracted test cases.

[0083] For example, if the N bug curves obtained by the extraction unit 103 are expressed as Expression 17, the upper bound can be obtained by Expression 18 below, and the lower bound can be obtained by Expression 19 below.

[0084] (Number 17) yi=bi(t)(1≦i≦N) (Number 18) U(t) = max{b1(t),b2(t),...,bN(t)} (Number 19) L(t) = min{b1(t),b2(t),...,bN(t)}

[0085] Alternatively, the drawing unit 102 defines the upper bound as a value obtained by adding the average number of bugs detected in the case histories included in the extracted test cases to a value obtained by multiplying the standard deviation of the number of bugs detected by a predetermined value, and defines the lower bound as a value obtained by subtracting the standard deviation of the number of bugs detected by multiplying a predetermined value by the average number of bugs detected in the case histories included in the extracted test cases.

[0086] For example, the average number of bugs detected in the case histories included in the extracted test cases, b1(t), b2(t), ..., bN(t), is expressed by the following equation (20).

[0087] (Number 20) m(t) = Σi=1Nbi(t) / N

[0088] Moreover, the spread of the distribution of the numbers of detected bugs b1(t), b2(t), ..., bN(t) in the case histories included in the extracted test cases is expressed by the following equation 21 or equation 22. Equation 20 indicates the sample variance of the numbers of detected bugs b1(t), b2(t), ..., bN(t), and equation 21 indicates the unbiased variance of the numbers of detected bugs b1(t), b2(t), ..., bN(t).

[0089] (Number 21) σ(t)2 = Σi=1N[bi(t)-m(t)]2 / N (Number 22) σ(t)2 = Σi=1N[bi(t)-m(t)]2 / (N-1)

[0090] The upper bound is defined as the mean m(t) plus the value (α·σ(t)) obtained by multiplying the standard deviation σ(t) by a predetermined value α (1≦α≦3), and the lower bound is defined as the mean m(t) minus the value (α·σ(t)) obtained by multiplying the standard deviation σ(t) by a predetermined value α (1≦α≦3).

[0091] For example, when a 68% confidence interval (α=1) is indicated by the upper and lower bounds, the upper bound can be obtained by Equation 23 and the lower bound by Equation 24.

[0092] (Number 23) U(t) = m(t) + σ(t) (Number 24) L(t) = m(t)-σ(t)

[0093] Furthermore, for example, when a 95% confidence interval (α=2) is indicated by the upper and lower bounds, the upper bound can be obtained by Equation 25 and the lower bound by Equation 26.

[0094] (Number 25) U(t) = m(t) + 2σ(t) (Number 26) L(t) = m(t)-2σ(t)

[0095] Furthermore, for example, when a 98% confidence interval (α=3) is indicated by the upper and lower bounds, the upper bound can be obtained by Equation 27 and the lower bound by Equation 28.

[0096] (Number 27) U(t) = m(t) + 3σ(t) (Number 28) L(t) = m(t)-3σ(t)

[0097] Alternatively, the drawing unit 102 sets the upper bound to the third quartile of the number of bugs detected in the case histories included in the extracted test cases, and sets the lower bound to the first quartile of the number of bugs detected in the case histories included in the extracted test cases.

[0098] For example, the third quartile is the 3N / 4th smallest value v(t) among the numbers of bugs detected in the case histories b1(t), b2(t), ..., bN(t) included in the extracted test cases, and the first quartile is the N / 4th smallest value w(t) among the numbers of bugs detected in the case histories b1(t), b2(t), ..., bN(t) included in the extracted test cases.

[0099] That is, the upper bound is given by the following equation (29), and the lower bound is given by the following equation (30).

[0100] (Number 29) U(t) = v(t) (Number 30) L(t) = w(t)

[0101] The drawing unit 102 determines the upper and lower bounds using any one or more of the above formulas 18 and 19, formulas 23 and 24, formulas 25 and 26, formulas 27 and 28, and formulas 29 and 30, and draws upper and lower bounds lines connecting the upper and lower bounds on the screen.

[0102] For example, if the upper and lower bounds are determined by Expressions 29 and 30, the drawing unit 102 draws an upper bound 302 and a lower bound 303 as shown in Fig. 5, and draws an area 304 between the upper bound 302 and the lower bound 303 so as to fill it in. It is assumed that the upper bound 302 and the lower bound 303 in Fig. 5 are approximated by a logistic curve, a Gompertz curve, a delayed s-shape curve, or the like.

[0103] In addition, when the number of completed tests during execution increases, the number of bug curves based on case histories whose second similarity is equal to or greater than the second threshold value is narrowed down, and the upper and lower bounds are considered to approach each other. For example, if the acquisition unit 101 acquires an execution history up to the number of elapsed days of "30 days", the drawing unit 102 draws an upper bound 306 and a lower bound 307, as shown in FIG. 6, and draws an area 308 between the upper bound 306 and the lower bound 307 so as to fill it.

[0104] Furthermore, for example, if the upper and lower bounds are defined by equations 18 and 19, and equations 29 and 30, the drawing unit 102 draws a plurality of upper bounds 302, 309 and lower bounds 303, 310 as shown in FIG. 7, and draws the area 304 between the upper bounds 302 and the lower bounds 303 so as to fill them in.

[0105] Here, the area to be filled is not limited to that shown in Fig. 7, and the area between the upper boundary line 309 and the lower boundary line 310 may be filled. The area to be filled can be appropriately set by the user.

[0106] Furthermore, the drawing unit 102 does not need to fill in the area between the upper and lower bounding lines.

[0107] For example, as shown in FIG. 8, the drawing unit 102 draws a bug curve 301 of the test being performed, as well as a number of upper bounds 302, 309 and lower bounds 303, 310.

[0108] Furthermore, when the drawing unit 102 receives a selection of any one of the bug curves drawn on the screen, the drawing unit 102 displays on the screen the case object information associated with the case history related to the selected bug curve.

[0109] 8, when the user hovers the mouse over the lower boundary line 310, the drawing unit 102 displays a pop-up window 311 including the case object information of the lower boundary line 310. This allows the user of the support device 100 to check the details of similar test cases and to quote the case object information in the explanation of others.

[0110] Furthermore, when drawing the upper and lower bounds, the drawing unit 102 draws a range of the number of implementations within which the specified number of bugs is expected to be detected.

[0111] Specifically, the drawing unit 102 receives a designation of the number of detected bugs from a user. Then, the drawing unit 102 draws a range of the numbers of implemented tests in which the specified number of detected bugs is expected to be detected, with the number of implemented tests in which the specified number of detected bugs is detected as a start point on an upper bound line and the number of implemented tests in which the specified number of detected bugs is detected as an end point on a lower bound line.

[0112] For example, when drawing unit 102 receives a designation of the number Z of detected bugs from a user, drawing unit 102 obtains Bz that satisfies formula (31) on upper bounding line 302 and obtains Ez that satisfies formula (32) on lower bounding line 303 .

[0113] (Number 31) U(Bz) = Z (Number 32) L(Ez) = Z

[0114] Then, as shown in FIG. 5, the drawing unit 102 draws a range 305 of the number of elapsed days during which the number of detected bugs Z is expected to be detected, with Bz as the start point and Ez as the end point.

[0115] (4. Operation of the Support Device of the Embodiment) The operation of the support device 100 of this embodiment will be described with reference to Fig. 9. For example, when the support device 100 receives an instruction from a user to display on a screen a bug curve for a target under test, the support device 100 starts the support process shown in Fig. 9.

[0116] The acquisition unit 101 acquires, for a subject currently undergoing a test, ongoing subject information related to the subject currently undergoing a test and an ongoing history in association with each other (step S101).

[0117] For example, if a test is being conducted on a product named “Product 10”, the acquisition unit 101 acquires from the database 200 on-going target information on “Product 10” and on-going test history for “Product 10”.

[0118] The drawing unit 102 draws a bug curve based on the acquired implementation history on the screen (step S102).

[0119] For example, as shown in FIG. 5, the drawing unit 102 draws a bug curve 301 for “product 10” that is undergoing testing on the screen of the support device 100.

[0120] The extraction unit 103 extracts one or more test cases including case object information similar to the acquired ongoing object information from the database 200 (step S103).

[0121] For example, by inputting case object information included in a test case recorded in the database 200 and ongoing target information of "Product 10" into the trained model, a first similarity is obtained between a bug curve based on a case history associated with the case object information and a bug curve based on an ongoing history associated with the ongoing target information. Then, the extraction unit 103 considers case object information associated with a case history related to a bug curve whose first similarity is equal to or greater than a first threshold as case object information similar to the ongoing target information of "Product 10". If M pieces of case object information whose first similarity is equal to or greater than the first threshold are obtained, the extraction unit 103 extracts M test cases including M pieces of case object information.

[0122] The drawing unit 102 further draws on the screen a bug curve based on the case history included in the extracted test case (step S104).

[0123] For example, the drawing unit 102 obtains a second similarity between a bug curve based on case objects included in the extracted M test cases and a bug curve of “Product 10” being tested, and obtains N bug curves based on case histories whose second similarity is equal to or greater than a second threshold. Then, the drawing unit 102 obtains an upper bound and a lower bound using Expressions 29 and 30, and draws an upper bound 302 and a lower bound 303 as shown in FIG.

[0124] According to this embodiment, test cases including case object information similar to the currently running object information are extracted from the database, and a bug curve based on the currently running history and a bug curve based on the case history included in the extracted test case are drawn on the screen. This makes it possible to present the bug curve of the currently running object being tested in comparison with the bug curve of the test case extracted taking into account the difference in the object itself and the test contents. Therefore, it is possible to present a useful bug curve that makes it easy to predict the convergence of the number of bugs detected in the currently running object.

[0125] In addition, according to the present embodiment, the case object information similar to the active object information is identified by using the trained model, which can improve the accuracy of the similarity judgment and can extract suitable test cases from the database for drawing a bug curve to be compared with the active object bug curve.

[0126] Furthermore, according to the present embodiment, it is possible to plot bug curves similar to the bug curve of the target under test among bug curves based on case histories included in the extracted test cases, thereby presenting a useful bug curve that makes it easier to predict the convergence of the number of bugs detected in the target under test.

[0127] According to the present embodiment, a bug curve based on the case history included in the extracted test case is drawn by connecting the upper bounds determined from the case history with an upper bound line, connecting the lower bounds determined from the case history with a lower bound line, and filling in the space between the upper bound line and the lower bound line. This makes it possible to present bug curves that are higher than and lower than the bug curve expected to be obtained in the ongoing test, and further to show the range of bug curves expected to be obtained in the ongoing test.

[0128] Furthermore, according to the present embodiment, the range of the number of tests that have been performed within which the specified number of bugs are expected to be detected is plotted, making it possible to predict the range of the number of tests or the number of days required to perform tests based on the number of bugs detected.

[0129] (5. Modifications) Although the embodiment of the present invention has been described above, various modifications and applications are possible in carrying out the present invention.

[0130] In the above embodiment, the extraction unit 103 regards the case object information associated with the case history related to the bug curve whose first similarity is equal to or greater than the first threshold as case object information similar to the acquired ongoing target information, but this is not limited thereto. For example, the extraction unit 103 may select the case object information in descending order of the first similarity by the number specified by the user, and regard the selected case object information as case object information similar to the acquired ongoing target information.

[0131] In the above embodiment, the drawing unit 102 may draw bug curves based on case histories included in the extracted test cases on the screen as many as the number of extracted test cases. For example, if M test cases are extracted by the extraction unit 103, the drawing unit 102 draws M bug curves based on case histories included in the M test cases on the screen. This makes it possible to check all bug curves of the extracted test cases and to grasp the range of bug curves expected to be obtained in the test being performed.

[0132] In the above embodiment, the support process is shown in the flowchart of Fig. 9, but the order of the processes is not limited to this. For example, the order of steps S102 and S103 may be interchanged.

[0133] The present invention allows various embodiments and modifications without departing from the broad spirit and scope of the present invention. The above-described embodiments are for the purpose of explaining the present invention and do not limit the scope of the present invention. That is, the scope of the present invention is indicated by the claims, not the embodiments. Various modifications made within the scope of the claims and the scope of the invention equivalent thereto are considered to be within the scope of the present invention. [Industrial Applicability]

[0134] According to the present invention, it is possible to provide a support device, a support method, and a program capable of presenting useful bug curves for various targets on which testing is performed. [Explanation of symbols]

[0135] 11 CPU 12 ROM 13 RAM 14 Recording media 15 Output Devices 16 Communication Devices 17 Operating Devices 18 Bus 100 Support equipment 101 Acquisition Department 102 Drawing section 103 Extraction part 200 Databases 301 Bug Curve 302,306,309 Upper boundary line 303, 307, 310 Lower boundary 304,308 areas 305 Range 311 Pop-up Windows

Claims

1. A support device that utilizes a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit for extracting one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The extraction unit regards the case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation target information as case object information similar to the acquired implementation target information.

16. An assistance device comprising:

2. A support device that utilizes a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit for extracting one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The drawing unit draws, on the screen, a bug curve based on a case history identified based on a bug curve based on a case history included in the extracted test case and a bug curve based on the acquired execution history, among bug curves based on a case history included in the extracted test case.

16. An assistance device comprising:

3. A support device that uses a database in which a plurality of test cases are recorded, Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; An acquisition unit that acquires the above in association with each other; an extracting unit for extracting one or more test cases from the database, the test cases including case object information similar to the acquired on-going object information; a drawing unit that draws on a screen a bug curve based on a case history included in the extracted test case; Equipped with The drawing unit draws a bug curve based on a case history included in the extracted test case, connecting upper bounds determined from case histories included in the extracted test cases with an upper bound line; A lower bound determined from the case history included in the extracted test case is drawn so as to connect the lower bound with a lower bound line.

16. An assistance device comprising:

4. When the drawing unit receives a selection of any one of the bug curves drawn on the screen, the drawing unit displays, on the screen, case object information associated with a case history related to the selected bug curve.

4. The support device according to claim 1, wherein the support device is a computer.

5. An assistance method executed by an assistance device utilizing a database in which a plurality of test cases are recorded, comprising: Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and The support device includes: For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; and obtain them by matching them. Extracting one or more test cases from the database, the test cases including case object information similar to the obtained active object information; Draw a bug curve based on the case history included in the extracted test cases on a screen; The case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation object information is regarded as case object information similar to the acquired implementation object information. A support method comprising:

6. A program for causing a computer to function as a support device that utilizes a database in which a plurality of test cases are recorded, comprising: Each test case of the plurality of test cases comprises: Case object information and case history regarding the case object related to each of the test cases; and The program causes the computer to For subjects currently undergoing testing, On-going object information and on-going object history relating to the on-going object; an acquisition unit that acquires the an extracting unit for extracting from the database one or more test cases including case object information similar to the acquired on-going object information; a drawing unit for drawing on a screen a bug curve based on a case history included in the extracted test case; Function as a The extraction unit regards the case object information identified based on a bug curve based on a case history associated with the case object information included in the test cases recorded in the database and a bug curve based on an implementation history associated with the acquired implementation target information as case object information similar to the acquired implementation target information. A program characterized by:

Citation Information

Patent Citations

  • Evaluation device for software reliability

    JP1997212392A

  • Method and device for detecting project modulation

    JP2009187288A

  • Software quality assessment method

    JP6747161B2