Host: The Japanese Society for Artificial Intelligence
Name : The 38th Annual Conference of the Japanese Society for Artificial Intelligence
Number : 38
Location : [in Japanese]
Date : May 28, 2024 - May 31, 2024
With the promotion of social application of IT systems, as DX exemplifies, there is a growing interest in improving software reliability. However, the diverse and vast number of cases to be tested and the large amount of system specification information that needs to be understood as preliminary knowledge poses significant challenges. Traditionally, these issues necessitated extensive work by human experts. In this study, we developed a software test generation model incorporating system specification information using the large language model, which has been rapidly developed in recent years. Our model achieved low-cost inference by utilizing open-source models instead of closed models such as GPT4 and efficiently selecting system specification information for the prompt. Additionally, the barrier to practical application can be reduced by applying a new evaluation metric that is similar to the sense of human experts. Experimental results using actual test case data show that our model generates test cases with high accuracy and at a lower cost than GPT4.