Computer program, information processing method, and information processing device
A computer program utilizing a language model automates test code generation from natural language input, addressing the skill barrier in E2E testing and simplifying the process.
Patent Information
- Application Number
- JP2023181829
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-10-15
- Estimated Expiration
- 2043-10-23
AI Technical Summary
Automation tools for E2E testing require developers to write test code, which demands specialized skills, making manual execution difficult and time-consuming.
A computer program that uses a language model to automatically generate test code based on natural language input, eliminating the need for developers to create prompts and simplifying the test code generation process.
Enables non-expert users to easily generate appropriate test code, reducing the time and effort required for E2E testing.
Smart Images

Figure 0007754515000001 
Figure 0007754515000002 
Figure 0007754515000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a computer program, an information processing method, and an information processing device that allow appropriate test code to be generated more easily for a software program that includes a GUI. [Background technology]
[0002] E2E testing (End to End testing) is conducted to test whether software programs that include a GUI (Graphical User Interface) that runs on a user terminal, or web applications that communicate with a server to perform desired operations on a user terminal, operate in the same way in a variety of environments.
[0003] User terminals vary not only in the type of OS (Operating System) and the type and version of the browser program, but also in the conditions of hardware such as memory and graphic boards. Therefore, the man-hours required for E2E testing are enormous, making manual execution difficult. Therefore, various automation tools for E2E testing have been devised (Patent Document 1, etc.). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Special Publication No. 2019-508769 Summary of the Invention [Problem to be solved by the invention]
[0005] Automation tools for E2E testing also basically require developers to write test code to perform automated testing, which requires developer skills.
[0006] The present disclosure aims to provide a computer program, an information processing method, and an information processing device that allow appropriate test code to be easily generated. [Means for solving the problem]
[0007] A computer program according to one embodiment of the present disclosure causes a computer to acquire data for a web page to be tested or data for launching a program and test content, create a prompt that causes a language model to output test code for the acquired data and test content, provide the created prompt to the language model, and execute a process of creating test code from text output from the language model.
[0008] The computer program disclosed herein allows a computer to automatically generate prompts for creating test code using an automation tool based on a language model learned from public information and an accumulated database. The prompts may automatically include the designation of the automation tool and the role of the E2E tester. Test engineers can pass the test data and test content to the computer in natural language, eliminating the need for the test engineer to create prompts. [Effects of the Invention]
[0009] According to the present disclosure, even if a user does not have much knowledge about creating test code, appropriate test code can be created more easily. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 is a schematic diagram of an information processing system. [Figure 2] FIG. 1 is a block diagram showing a configuration of an information processing device. [Figure 3] FIG. 2 is a block diagram showing the configuration of a terminal device. [Figure 4] 10 is a flowchart illustrating an example of a procedure for generating test code. [Figure 5] FIG. 1 is a schematic diagram of a process for creating test code. [Figure 6]10 is a flowchart illustrating an example of a procedure for performing a test in the information processing system. [Figure 7] 10 is a flowchart illustrating an example of a procedure for recreating test code. [Figure 8] 10 is a flowchart illustrating another example of the processing procedure for recreating test code. [Figure 9] FIG. 10 is an explanatory diagram of an auto-healing function. [Figure 10] FIG. 10 is an explanatory diagram showing another example of the auto-healing function. [Figure 11] FIG. 10 is an explanatory diagram showing another example of the auto-healing function. DETAILED DESCRIPTION OF THE INVENTION
[0011] The present disclosure will be specifically described with reference to the drawings showing embodiments thereof.
[0012] 1 is a schematic diagram of an information processing system 100. The information processing system 100 includes an information processing device 1 and a terminal device 2. The information processing device 1 and the terminal device 2 can communicate with each other via a network N. The network N is a wired or wireless network including a public communication network, such as the Internet, a carrier network, etc. The information processing device 1 can send and receive data to and from the terminal device 2 by communication via the network N, and can also send and receive data to and from other server devices that provide external services (for example, so-called chatbots based on large-scale language models) via the network N.
[0013] The information processing system 100 disclosed herein assists a test engineer in software development in using a terminal device 2 to obtain test code for testing a software program (web page source) that provides a GUI that runs on a user terminal device 3 used by an end user. Conventionally, test engineers have had to write test code sequentially according to the testing process, starting with commands to launch the target software program and acquire data for the target web page. The information processing system 100 disclosed herein allows the test engineer's terminal device 2 to accept a test code creation request specifying the target software program (web page) using conditions specified in natural language, and then create the test code. The information processing device 1 receives the request from the terminal device 2, generates test code using a large-scale language model (LLM), and returns the generated test code to the terminal device 2.
[0014] The configuration and processing procedure for realizing such automatic generation of test code will be described below.
[0015] 2 is a block diagram showing the configuration of information processing device 1. Information processing device 1 is a server computer. In the following explanation, information processing device 1 is described as a single server computer, but it may be configured as multiple computers, with processing operations distributed according to content, function, etc.
[0016] The information processing device 1 includes a processing unit 10, a storage unit 11, and a communication unit 12. The processing unit 10 is a processor using a CPU (Central Processing Unit) and / or a GPU (Graphics Processing Unit). The processing unit 10 controls each component to execute processing using built-in memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The processing unit 10 may be configured as a single piece of hardware (SoC: System On a Chip) that integrates a processor, memory, communication devices, etc. The processing unit 10 communicates with the terminal device 2 and outputs a test code to the terminal device 2 based on an information processing program (program product) P1 stored in the storage unit 11.
[0017] The storage unit 11 uses a nonvolatile storage medium such as an SSD (Solid State Drive) or a hard disk, and stores programs and data referenced by the processing unit 10. The storage unit 11 stores an information processing program P1. The information processing program P1 stored in the storage unit 11 may be an information processing program P9 stored in the storage medium 9 that the processing unit 10 reads, copies, and installs. The information processing program P1 may also be an information processing program P1 that the processing unit 10 downloads from a program server (not shown), stores in the storage unit 11, and installs.
[0018] The information processing program P1 stored in the storage unit 11 is a program that accepts an HTTP communication connection or an HTTPS communication connection from the terminal device 2, displays an interface on a web browser started on the terminal device 2, and functions as a web server that accepts input of a request and executes processing as described below. The information processing program P1 may be implemented as a program that causes the processing unit 10 to execute processing to accept input of a request via an input / output interface (display unit and operation unit) mounted on the information processing device 1, without going through the terminal device 2.
[0019] The storage unit 11 stores a library, which is a collection of callable functions (functionality) for executing tests on the GUI. The information processing program P1 extracts functions necessary for the test that the test engineer wants to execute from this library, according to a processing procedure described later (see FIG. 4), and causes the processing unit 10 to automatically create test code that describes necessary parameters, etc. The library is appropriately selected depending on the test environment. The process of creating the test code will be described later.
[0020] The storage unit 11 has a database 110 that stores the created test code. The test code is written to include text for calling various functions from the above-mentioned library and comment text that explains each test step. The database 110 may be constructed in one or more external storage devices different from the information processing device 1, and may be readable and writable by the processing unit 10.
[0021] The communication unit 12 is a communication device that realizes communication with the terminal device 2 via the network N. The communication unit 12 uses a network card for wired communication, a wireless communication device for carrier communication, or a wireless LAN device. The processing unit 10 can be connected to the terminal device 2 via the network N for communication via the communication unit 12.
[0022] The processing unit 10 can read, write, and search the vector database that stores the source text of the web page or program to be tested in a vectorized form via the communication unit 12. The source text of the web page or program to be tested can be enormous, and due to the limited number of tokens in the input text to the large-scale language model described below, it is not possible to include all of it in the prompt. Therefore, the source text of the web page or program to be tested is vectorized and stored in the vector database.
[0023] 3 is a block diagram showing the configuration of the terminal device 2. The terminal device 2 is a laptop or desktop personal computer used by a test engineer. The terminal device 2 may also be a smartphone or a tablet terminal.
[0024] The terminal device 2 includes a processing unit 20, a storage unit 21, a communication unit 22, a display unit 23, and an operation unit 24.
[0025] The processing unit 20 is a processor using a CPU and / or GPU. The processing unit 20 controls each component using built-in memories such as ROM and RAM to execute processing. The processing unit 20 may be configured as a single piece of hardware (SoC) that integrates a processor, memory, and a communication unit 22 (described later). The processing unit 20 transmits and receives data to and from the information processing device 1 based on a program stored in the storage unit 21, and accepts operations from a test engineer. Details will be described later.
[0026] The storage unit 21 uses a non-volatile memory such as a hard disk, flash memory, or SSD. The storage unit 21 stores programs and data referenced by the processing unit 20. The storage unit 21 stores a terminal program (program product) P2. The terminal program P2 is a web browser program, and may be a web application program provided by the information processing device 1. The terminal program P2 stored in the storage unit 21 may be a terminal program P2 that the processing unit 20 reads out and copies from the storage medium 8 and installs. The terminal program P2 may be a program downloaded by the terminal device 2 from a program server (not shown), stored in the storage unit 21, and installed.
[0027] The communication unit 22 is a communication device that realizes communication via the network N. The communication unit 22 is, for example, a network card compatible with the network N. The communication unit 22 may also realize wireless communication. The processing unit 20 can send and receive data to and from the information processing device 1 via the communication unit 22.
[0028] The display unit 23 is a display such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display unit 23 displays a GUI (Graphical User Interface) based on the terminal program P2. For information output, an audio output unit including a speaker may be used.
[0029] The operation unit 24 is a user interface such as a keyboard and a mouse that can input and output data to and from the processing unit 20. The operation unit 24 may be a touch panel built into the display unit 23. The operation unit 24 may be a physical button, or the operation unit 24 may be an audio input / output unit including a microphone.
[0030] The following describes the process of generating test code in the information processing system 100 configured as above. Fig. 4 is a flowchart showing an example of the procedure of the test code generation process.
[0031] The processing unit 20 of the terminal device 2 establishes a communication connection with the information processing device 1 (step S201), and displays a request reception screen on the display unit 23 using the function of the Web server of the information processing device 1 (step S202).
[0032] The processing unit 20 receives, on the request reception screen, data for starting the program (web page) to be tested (storage location and name or address of the program) and text data describing the content of the test in natural language (step S203).
[0033] The processing unit 20 transmits a test code generation request including the received data to the information processing device 1 (step S204).
[0034] When the processing unit 10 of the information processing device 1 receives a test code creation request (step S101), it determines a request ID for identifying each request and data for identifying the terminal device 2 that has made the request (step S102). The processing unit 20 sequentially assigns and determines the request ID in step S102. The identification data for the request source may be the user ID of the user that has made the request, a user account, and / or data (such as a cookie) for identifying a connection via HTTP communication or HTTPS communication.
[0035] The processing unit 10 creates a prompt for the large-scale language model based on the data included in the test code creation request (step S103). In step S103, the processing unit 10 assigns a role to the large-scale language model, such as "E2E test tester," and creates a prompt that includes a name specifying the library to be used and text in natural language describing the test content, requesting "Please output test code."
[0036] The processing unit 10 provides the created prompt to a large-scale language model provided by an external service or a large-scale language model that has been trained in the information processing device 1 (step S104), and obtains the text output from the large-scale language model, i.e., the test code (step S105).
[0037] The processing unit 10 stores the test code acquired in step S105 in the database 110 in association with the request ID determined in step S102 and a code ID that identifies the test code (step S106). In step S106, the processing unit 10 preferably stores data for launching the program (web page) to be tested (the program's storage location and name, or address) and text (scenario) indicating the content of the test in association with the test code. In step S106, the processing unit 10 may also associate the created prompt. The code ID stored in step S106 may be one sequentially assigned by the processing unit 10. In step S106, the processing unit 10 may also store data that identifies the terminal device 2 that sent the request in association with the test code.
[0038] The processing unit 10 transmits the test code and code ID acquired in step S105 to the terminal device 2 that has made the request (step S107).
[0039] The processing unit 20 of the terminal device 2 receives the test code and code ID sent in response to the request (step S205), displays the contents of the test code or a test code download screen on the display unit 23 (step S206), and terminates the processing.
[0040] This allows the user, who is a test engineer, to execute a test using the test code received at the terminal device 2.
[0041] The test code stored in the database 110 can be obtained from the terminal device 2 at any time thereafter by specifying a request ID or a code ID. The information processing device 1 can also accept the specification of a code ID, read the specified test code from the database 110, and execute it. The terminal device 2 may display a screen in step S206 for accepting a request to execute a test based on the test code, and upon accepting an instruction to execute the test immediately, execute the test based on the test code from the information processing device 1. The terminal device 2 may also accept a setting of an execution schedule (for example, once a week, once a month, when an update message is received, etc.), and execute the test based on the test code according to the schedule from the information processing device 1.
[0042] FIG. 5 is a schematic diagram of the test code creation process. The left part of FIG. 5 shows, in text, the content accepted on the request acceptance screen displayed on the terminal device 2. In the example of FIG. 5, an example of data for launching a program to be tested and an example of the test content (scenario) are shown as requests. In the example of FIG. 5, a web page address "url: https: / / www.****.com / login" is specified as the test target. The test target may be specified by selecting from the browser history that is launched when the target setting interface included in the request acceptance screen is selected, or by entering an address in the address input field, and the processing unit 20 may automatically acquire the URL identified by the operation. In the example of FIG. 5, the test content includes text specifying the test content as "scenario: 'Can log in successfully'".
[0043] In the example in Figure 5, the web page to be tested, "https: / / www.****.com / login", includes source code describing input fields for email address and password, and a login button, as shown in the upper part of Figure 5. Here, the type of the email address input field is defined as "meado", the type of the password input field is defined as "password", and the ID of the login button is defined as "submit".
[0044] 5 shows an example of the content of a prompt created by the information processing device 1 in the form of text. The prompt includes text specifying a role, such as "You are an E2E test tester." The prompt also includes text specifying the name of the library to be used, such as "Please output the test code."
[0045] The right part of FIG. 5 shows an abbreviated example of test code acquired by the information processing device 1. Each piece of test code contains commented function call text from a library. In the test code, the items "meado" and "password" that are required to be entered for login, as well as the login button type "login-button" are automatically set from the source of the web page, and a sample address and sample password for testing are set for each. The items "meado" and "password" are automatically referenced from the source of the specified web page.
[0046] In this way, even a user who does not have the development skills to create test code can obtain test code by writing a request in natural language.
[0047] Furthermore, the information processing device 1 of the present disclosure can exhibit an auto-healing function that, when a program (web page) to be tested is modified, modifies the test code that has been created and stored in the database 110 in accordance with the modification. The following describes the processing procedures related to test execution and the auto-healing function.
[0048] 6 is a flowchart showing an example of a test implementation processing procedure in the information processing system 100. The information processing device 1 executes the following processing based on a predetermined implementation schedule or a schedule specified by the terminal device 2. The information processing device 1 periodically executes tests based on test codes that are created and stored in the database 110. The information processing device 1 may execute the following processing immediately after the processing procedure shown in FIG.
[0049] The processing unit 10 of the information processing device 1 selects a code ID (step S121), and reads out the test code of the selected code ID from the database 110 (step S122). The processing unit 10 executes a test based on the read test code (step S123), obtains the test results, and stores the test results in the database 110 in association with the code ID (step S124). In step S124, the processing unit 10 may also store data on the date the test was conducted.
[0050] The processing unit 10 determines whether the test result is successful or not (step S125). If it is determined that the test result is successful (S125: YES), the processing unit 10 ends the process.
[0051] If the test result is determined to be a failure (S125: NO), the processing unit 10 analyzes the program (web page) to be tested (step S126) and executes a process to regenerate test code (step S127). In step S126, the processing unit 10 acquires the source of the program to be tested and omits comment lines and the like.
[0052] The processing unit 10 executes a test based on the test code regenerated in step S127 (step S128) and determines whether the test result is successful (step S129). If it is determined that the test result is successful (S129: YES), the processing unit 10 stores the successful test code as the latest version in the database 110 in association with the code ID (step S130). In step S130, the processing unit 10 may also store data indicating the date the test was conducted. In step S130, the processing unit 10 may notify the terminal device 2 that the test code has been updated.
[0053] If the processing unit 10 determines that the test based on the test code regenerated in step S127 has failed (S129: NO), the processing unit 10 returns the process to step S126. In this case, if the test has failed a predetermined number of times, for example, twice, the processing unit 10 may store an error in association with the code ID and end the process.
[0054] 7 is a flowchart showing an example of a procedure for recreating test code, which corresponds to details of step S127 in the procedure shown in FIG.
[0055] The processing unit 10 reads out the test content (scenario) stored in the database 110 together with the test code associated with the code ID selected in step S121 (step S711).
[0056] The processing unit 10 executes a process of searching the vector database for the part of the source (HTML) of the program (Web page) to be tested that is the target of the read scenario (step S712). In step S712, the processing unit 10 executes a search process on the vector database using data (tags, keywords, etc.) for extracting the part of the source (HTML) of the program (Web page) to be tested that is similar to the scenario, and extracts the target part.
[0057] By the search process in step S712, the processing unit 10 can obtain the target part of the source (HTML) that is close to the content (scenario) of the test read out in step S711.
[0058] The processing unit 10 generates test code using the source obtained by the search in step S712 (step S713). The processing unit 10 returns the process to step S128 in the flowchart of FIG.
[0059] 8 is a flowchart showing another example of the procedure for recreating test code, which corresponds to details of step S127 in the procedure shown in FIG.
[0060] The processing unit 10 regenerates a prompt for the large-scale language model for the test code associated with the code ID selected in step S121 (step S721). In step S721, if a prompt is stored in association with the code ID and test code selected in step S121, the processing unit 10 reads it out. If a prompt is not stored, the processing unit 10 may generate a prompt using a comment included in the test code.
[0061] The processing unit 10 provides the re-created prompt to a large-scale language model provided by an external service or a large-scale language model that has been trained in the information processing device 1 (step S722), and acquires text output from the large-scale language model, i.e., test code (step S723). The processing unit 10 regards the acquired test code as the created code and returns the process to step S128 in the flowchart of FIG.
[0062] Figure 9 is an explanatory diagram of the auto-healing function. The top of Figure 9 shows part of the source of the web page being tested. The source of the web page shown in the top of Figure 9 shows the same address content as the web page shown in Figure 5. Compared to the source of the web page shown in Figure 5, in the web page shown in Figure 9, the type of the email address input field has been changed from "meado" to "email", and the ID of the login button has been changed from "login-button" to "signin-button".
[0063] When the modification shown in FIG. 9 is made, even if the processing unit 10 executes the test code created for the web page before modification, the test result will be a failure (S125: NO). The processing unit 10 recreates the test code using the auto-healing function. The lower part of FIG. 9 shows the test code recreated by the auto-healing function. The recreated test code corresponds to the type of the email address input field and the ID of the login button after modification. The recreated test code is stored in the database 110 with a code ID indicating that it corresponds to the original test code. The recreated test code may be stored together with the date of its recreation. The original test code stored in the database 110 may be overwritten with the recreated test code.
[0064] 10 and 11 are explanatory diagrams showing another example of the auto-healing function. The upper part of FIG. 10 shows a portion of the source code of the web page to be tested. The web page shown in the upper part of FIG. 10 is a page of an e-commerce site, and the product ID label is defined as "product_id" and the product name label is defined as "product_name." The lower part of FIG. 10 shows a request for test code creation for the web page to be tested (the URL and scenario of the web page to be tested), a prompt created based on the request, and a portion of the test code to be output.
[0065] As shown in Figure 10, in response to a natural language request to test whether "the page is updated when the quantity is changed in the cart," test code is output from the large-scale language model. In the example of Figure 10, the test code defines the library call function and arguments that match the parameters associated with the product ID and product name fields on the target web page. By specifying the output test code, test engineers can then automatically run the test.
[0066] FIG. 11 shows a portion of the source code of the web page to be tested shown in FIG. 10 after it has been modified. In the web page shown in FIG. 11, compared to the source code of the web page shown in FIG. 10, the product ID label has been modified to "item_id" and the product name label has been modified to "item_name." In this case, even if the test code shown in FIG. 10 is executed, the test will fail (S125: NO). The processing unit 10 regenerates the test code using the auto-healing function. The lower part of FIG. 11 shows a portion of the test code regenerated by the auto-healing function. The regenerated test code corresponds to the modified product ID label and product name label. The regenerated test code is stored in the database 110 with a code ID indicating that it corresponds to the original test code. The regenerated test code may be stored together with the date of regeneration. The regenerated test code may be configured to overwrite the original test code stored in the database 110.
[0067] In this way, by using a large-scale language model to create test code for requests written in natural language, it is possible to recreate test code that maintains the purpose of the test even if the target program (web page) is modified.
[0068] In the above example, a so-called large-scale language model is used as the language model that outputs the test code. However, the language model may be any model that has been trained to be able to output test codes in response to natural language input, regardless of whether the language model is large-scale or not.
[0069] The embodiments disclosed above are illustrative in all respects and are not restrictive. The scope of the present invention is defined by the claims, and includes all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0070] 100 Information Processing Systems 1. Information processing equipment 10 Processing section 11 Storage section 110 databases
Claims
1. On the computer, Acquire data for the web page to be tested or data for launching the program and test content; Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; At least a portion of the data or program of the web page to be tested is stored in a searchable manner according to the test content; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, Searching for a portion corresponding to the test content stored in association with the test code from data or programs similar to the data or programs of the web page that was the test target of the failed test; Regenerate the test code of the test using the search results. A computer program that executes a process.
2. A computer, Acquire data for the web page to be tested or data for launching the program and test content; Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, The language model is caused to output a test code again based on the test content stored in association with the test code and the data of the web page to be tested or the data for starting the program. A computer program that executes a process.
3. The computer Acquire data for the web page to be tested or data for launching the program and test content; Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; At least a portion of the data or program of the web page to be tested is stored in a searchable manner according to the test content; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, Searching for a portion corresponding to the test content stored in association with the test code from data or programs similar to the data or programs of the web page that was the test target of the failed test; Regenerate the test code of the test using the search results. Information processing methods.
4. A computer comprising: Data for the web page to be tested or data for launching the program and test Get the contents, Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, The language model is caused to output a test code again based on the test content stored in association with the test code and the data of the web page to be tested or the data for starting the program. Information processing methods.
5. Acquire data for the web page to be tested or data for launching the program and test content; Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; At least a portion of the data or program of the web page to be tested is stored in a searchable manner according to the test content; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, Searching for a portion corresponding to the test content stored in association with the test code from data or programs similar to the data or programs of the web page that was the test target of the failed test; Regenerate the test code of the test using the search results. An information processing device including a processing unit.
6. Acquire data for a web page to be tested or data for launching a program and test content; Create a prompt that causes the language model to output test code for the acquired data and test content, providing the generated prompt to the language model; generating test code from the text output from the language model; storing the test code in a storage unit every time the test code is created; storing the test content acquired for creating the test code in the storage unit in association with the created test code; A test using the test code stored in the storage unit is performed on the web page or program to be tested at a predetermined timing; determining whether the test was successful; If it is determined to be a failure, The language model is caused to output a test code again based on the test content stored in association with the test code and the data of the web page to be tested or the data for starting the program. An information processing device including a processing unit.
Citation Information
Patent Citations
Web application test case automatic generation method and system based on imitation learning
CN116541300A
Data-Driven Automated Provisioning for Telecommunications Applications
JP2019508769A
Detection apparatus, test system, detection method, and program
JP2022118286A